-
Notifications
You must be signed in to change notification settings - Fork 18
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
TW-1369: Support Pinned list actions on mobile #1396
Conversation
49351ab
to
e61ae6c
Compare
7801bd0
to
fd84301
Compare
This PR has been deployed to https://linagora.github.io/twake-on-matrix/1396 |
fd84301
to
18c94e9
Compare
builder: (context, selectedEvents, child) { | ||
if (selectedEvents.isEmpty) return child!; | ||
responsiveUtils.isMobileOrTablet(context) | ||
? _BuildPinnedMessagesMobileMenu(controller: controller) |
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.
IMO: Should create a new file for _BuildPinnedMessagesMobileMenu
widget. We will not use private classes anymore because it is very difficult to write widget tests
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.
Sorry, I mistakenly clicked approve, please check my comments
Commit 012a9db : increment index for display OLDTwake.Chat.-.Google.Chrome.2024-01-30.14-15-59.mp4NEWTwake.Chat.-.Google.Chrome.2024-01-30.14-14-54.mp4 |
icon: Icon( | ||
Icons.close, | ||
color: Theme.of(context).colorScheme.onSurfaceVariant, | ||
size: 20, |
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.
move it to style file
lib/pages/chat/chat_pinned_events/pinned_messages_action_button_mobile.dart
Outdated
Show resolved
Hide resolved
012a9db
to
8c92209
Compare
IMO, it still miss some DoD:
|
second is done |
dafe863
to
34fbf81
Compare
34fbf81
to
2ba6f0d
Compare
2ba6f0d
to
35c1e06
Compare
rework on #1559 |
Bottom Sheet Demo
Android.Emulator.-.Resizable_Experimental_API_33_5554.2024-02-07.16-29-50.mp4
Bottom Bar Demo
Android.Emulator.-.Resizable_Experimental_API_33_5554.2024-02-07.16-31-36.mp4
Web Overview (Actual)
Since I touched to common code, this is a proof of no regression
Twake.Chat.-.Google.Chrome.2024-02-07.16-36-26.mp4
#1369