Skip to content

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

Merged
merged 7 commits into from
May 29, 2025

Conversation

chrisbobbe
Copy link
Collaborator

@chrisbobbe chrisbobbe commented May 28, 2025

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

Before After
image image

@chrisbobbe chrisbobbe requested a review from gnprice May 28, 2025 21:25
@chrisbobbe chrisbobbe added the integration review Added by maintainers when PR may be ready for integration label May 28, 2025
Copy link
Member

@gnprice gnprice left a 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.

Comment on lines 1608 to 1623
true => _RestoreEditMessageGestureDetector(
messageId: messageId,
child: Text(
Copy link
Member

@gnprice gnprice May 29, 2025

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]

)

PIG208 and others added 7 commits May 29, 2025 16:12
[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.
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]>
@chrisbobbe chrisbobbe force-pushed the pr-local-echo-6.5 branch from 3f8a10d to 5636e72 Compare May 29, 2025 23:49
@chrisbobbe chrisbobbe merged commit 5636e72 into zulip:main May 29, 2025
1 check passed
@chrisbobbe chrisbobbe deleted the pr-local-echo-6.5 branch May 29, 2025 23:49
@chrisbobbe
Copy link
Collaborator Author

Thanks for the review! Merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integration review Added by maintainers when PR may be ready for integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants