-
Notifications
You must be signed in to change notification settings - Fork 226
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
Message List from Same User is now Distinguishable via Surface Tint on Long Press #1152
base: main
Are you sure you want to change the base?
Message List from Same User is now Distinguishable via Surface Tint on Long Press #1152
Conversation
Please post screenshots of your changes in the PR description, as videos are hard to review. |
Alya means before/after screenshots of the app's UI. We can read your code easily without screenshots :) |
Also I see there's a failing check; please run tests locally ( |
Are those before/after scheenshots the same? The point is to show the differences from your PR's changes. |
@alya, |
Oh, I see it now. Is it happening in the dark theme screenshot? I don't see a difference, so if the effect is there, it's too subtle. |
It's also best to take screenshots that are identical other than the change your PR makes, to make them easy to compare. |
@alya |
Sure, please be mindful to review your own work carefully next time. Posting screenshots is one of the things that should help you identify any problems yourself, before asking someone else to take a look. |
Here, is the updated PR. Requirements according to Figma FileBefore and After Screenshots
Both |
Hi @Gaurav-Kushwaha-1225! Thanks for the updates. For the PR to be reviewable, we need tests for this: https://github.com/zulip/zulip-flutter?tab=readme-ov-file#submitting-a-pull-request Please also pay attention to the point on commit style guide from that link, and organize the commit history coherently. |
I see you're adding merge commits; Zulip doesn't use those. |
Changes Made
This issue resolved by:
MessageWithPossibleSender
with aContainer
isMessageActionSheetOpen
istrue
show the surface tint, else remainColors.transparent
.For this,
MessageWithPossibleSender
fromStatelessWidget
toStatefulWidget
.VoidCallback? onDismiss
method in parameters ofshowMessageActionSheet
or BottomSheet for updating the Surface Tint of message.Fixes #1142
Screenshots
video_2024-12-13_13-16-02.mp4
video_2024-12-13_13-16-08.mp4