-
Notifications
You must be signed in to change notification settings - Fork 310
local echo (6.5/7): Revised prep commits for local echo #1535
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
Conversation
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.
Thanks! All looks good except one comment on the last commit. Then please go ahead and merge.
lib/widgets/message_list.dart
Outdated
true => _RestoreEditMessageGestureDetector( | ||
messageId: messageId, | ||
child: Text( |
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.
This case should also get 4px of bottom padding, right?
(Maybe this change would be clearer as first an NFC commit that just distributes the logic for the bottom padding among the different cases, followed by a commit that removes 2px of padding for the one case where that's intended. Particularly since it sounds like a previous version had a different bug of this flavor which you've fixed already:
[chris: fixed to maintain 4px bottom padding in the common case
where the progress bar is absent]
)
[chris: added tests] Co-authored-by: Chris Bobbe <[email protected]>
[chris: removed unused import] Co-authored-by: Chris Bobbe <[email protected]>
[chris: small formatting/naming changes] Co-authored-by: Chris Bobbe <[email protected]>
Helpers for starting an edit interaction and dealing with the confirmation dialog will be useful as we support retrieving messages not sent.
This migrates the Polish and Russian translations (the only existing non-en locales to translate this) to use the new string as well.
To prepare for adjusting one of the cases from 4px to 2px: zulip#1535 (comment)
This is where the progress bar for outbox messages will go, so this is for consistency with that. Discussion: zulip#1453 (comment) [chris: fixed to maintain 4px bottom padding in the common case where the progress bar is absent] Co-authored-by: Chris Bobbe <[email protected]>
3f8a10d
to
5636e72
Compare
Thanks for the review! Merged. |
Split from #1453, with some small adjustments.
Here are before/after screenshots for the commit that adjusts padding:
3f8a10d msglist: Put edit-message progress bar in top half of 4px bottom padding