-
-
Notifications
You must be signed in to change notification settings - Fork 278
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
When switching between portion/100g, the table should change immediately #1307
Comments
On Android, we have a switch for this toggle, but we don't have enough space here. |
Radio buttons on a column? |
Maybe we can think more about the actual use of this. But it's very likely that this is a global user preference, it does not change on a product per product basis. So maybe we could think of it like that: a user preference. And to make it visible, we could display a switch or something just The switch has the advantage of making that choice understandable and visible. With the dropdown, I first have to click on that "100g" to understand that I can change it to per serving. The dialog idea is also interesting because we could use it to extra features (e.g. computing values for any quantity, which could appeal to some users) |
In order to go a bit further on @stephanegigandet's path, that could mean
Suggestion for the dialog: |
|
The problem is that we don't have enough space for 4 columns (3 columns is the apparent limit):
I guess we could easily add a switch (serving / comparison) on top of the table. The display would then either be:
or
|
We now have a gramm picker |
What
Video
screen-20220322-185845.mp4
Part of
The text was updated successfully, but these errors were encountered: