-
Notifications
You must be signed in to change notification settings - Fork 308
compose: Refactor some logic; implement redesigned error banner #1090
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
5e011a8
compose [nfc]: Move "there is none" logic out of ComposeBox widget
chrisbobbe 39781c8
msglist [nfc]: Remove no-op SizedBox.shrink as a Column child
chrisbobbe ba6424f
action_sheet test [nfc]: Add groups for 'in {topic,DM} narrow' tests
chrisbobbe 060208f
action_sheet: Fix rare null-check error on quote-and-reply
chrisbobbe 35c966e
compose test [nfc]: Make controllerKey a shared `late` variable
chrisbobbe b5e37d6
compose: Dispose topic-input's focus node when stream compose box dis…
chrisbobbe 1e45ca2
compose [nfc]: Make state "has-a" instead of "is-a" ComposeBoxController
chrisbobbe b233ee9
compose [nfc]: Shorten {topic,content}Controller to just {topic,content}
chrisbobbe f0b0b5b
compose: Store controller on ComposeBox widget, not descendant
chrisbobbe 69d5c61
compose [nfc]: s/_ComposeBoxLayout/_ComposeBoxBody/
chrisbobbe 009e415
compose [nfc]: Give _ComposeBoxBody `narrow` and `controller` params
chrisbobbe d124755
compose [nfc]: Refactor _{Stream,FixedDestination}ComposeBoxBody
chrisbobbe 6169311
compose [nfc]: Put {_Stream,FixedDestination}ComposeBoxBody near base…
chrisbobbe 6d1f026
compose [nfc]: Bring _ComposeBoxContainer out of _ComposeBoxBody
chrisbobbe 5b3ca51
compose: Redesign error banner that replaces the compose box
chrisbobbe 11072ed
compose [nfc]: Add TODO for overlaid linear progress indicator
chrisbobbe a883762
compose [nfc]: Simplify choose-body logic by switching on controller
chrisbobbe 0c5af34
compose [nfc]: Pass whole `controller` down (1/6); _StreamContentInput
chrisbobbe 6bc6169
compose [nfc]: Pass `controller` down (2/6); _FixedDestinationContent…
chrisbobbe f65dc80
compose [nfc]: Pass `controller` down (3/6); _ContentInput
chrisbobbe 95b77f6
compose [nfc]: Pass `controller` down (4/6); _TopicInput
chrisbobbe 29470d3
compose [nfc]: Pass `controller` down (5/6); _SendButton
chrisbobbe e1fc763
compose [nfc]: Pass `controller` down (6/6); _AttachUploadsButton
chrisbobbe f46187a
compose [nfc]: Simplify controller getters to final fields
gnprice File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Convenient that we had these comments explaining why the
!
had been appropriate in the first place. That particularly helps with the commitcfe6b3a action_sheet: Fix rare null-check error on quote-and-reply
that points out it's no longer appropriate.