-
-
Notifications
You must be signed in to change notification settings - Fork 282
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
feat: (Un)select all for history/lists… #4435
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #4435 +/- ##
===========================================
- Coverage 10.17% 10.13% -0.05%
===========================================
Files 295 295
Lines 15099 15199 +100
===========================================
+ Hits 1537 1540 +3
- Misses 13562 13659 +97
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
You can test this PR on: Android |
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.
Hi @g123k!
The code about select/unselect is good - the "unselect all" icon is not relevant though.
The rest of the PR (80%) is for another issue I guess.
: appLocalizations.compare_products_select_all_items, | ||
icon: Icon( | ||
_allItemsSelected | ||
? Icons.library_add_check_rounded |
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.
That icon ("check") is not really appropriate, is it?
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.
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.
So in GMail it's "+" when you want to select all items and "check" if you want to UNselect all items, right? Not intuitive.
In hotmail it's "empty rounded check" when not all items are selected and "full rounded check" when all are selected. Makes slightly a little more sense (not that much).
In Android Studio (commit) it's "check", "uncheck" and "undefined", which is more or less what I assumed.
I was thinking of something like a button with text appearing on top of the view |
Mmm not sure to understand what you mean, could you create a quick mockup of it please? |
That's some serious mock-up necromancy @monsieurtanuki 😲 |
Would that UI be better? I can easily change it |
I would say that it looks like something that the cat dragged in! 😸 |
The mockup is too focused on function.
|
@teolemon Just to repeat myself, in old fashioned UI what you describe is dealt with with 3 buttons:
Cf. "changes" here, as "undetermined": For the record I did not approve this PR only because most of it was unrelated to the "(un)select" feature. With text buttons, you have to be very lucky if it fits the screen (at least mine). Or put it in a second line. |
As nobody is OK with the implementation, I am making this PR a draft (the feature freeze will also happen soon). |
@g123k The thing here is that "compare" is not the only possible action - what about "delete" or "share"? Or even the new "dev mode / compare" feature? How does it work in the "Memo" app on my old samsung (I only quote from the best...)?
|
The problem with sub-menus is 0 in terms of discoverability. |
You're right, that's still not OK, and this long press is indeed a bad/hidden pattern. I will iterate a bit more on this, especially as this PR is not necessarily a priority. |
@g123k For the record I agreed with your initial implementation. I was not convinced by some icons but not a big problem. If I can make a suggestion, just push a clean PR that matches your OP video, and thanks to that there will be a new feature: the "(un)select all". Then, we'll worry about the different actions and how to display them, in different PRs. |
I will close this PR as we think about revamping multiple screens, including this one |
What
Hi everyone,
I have tweaked a bit
SmoothAppBar
to ensure there is a small padding for the subtitle.Video
SelectAll.mp4
Part of