Open teolemon opened 1 year ago
@teolemon If we change "History" into "Lists", we could have a "more ..." button on the app bar where you would list the lists (haha), and eventually provide admin actions (e.g. create list).
Something like:
(app bar) Product history (...)
@teolemon It would look like this: | "more" button | expanded menu |
---|---|---|
@g123k I have a good news and a bad news.
The good news is that we can retrieve the list of user lists without async
, so adding the user lists to the current page is not a problem.
The bad news is that the solution you recommended (SmoothModalSheet
) is not adapted for long lists (by "long" I mean more than 3, at least on my smartphone), as you can see:
I use Column
. Perhaps a ListView
would do the trick, but there's always that tap dancing about computing the size.
Anyway, we would have half a screen (as in a modal bottom sheet) and would have to scroll in that half screen. Not very nice, UX-wise.
A solution could be to swap the app bar buttons:
For your UI question, I have checked what Google Maps/Apple Plan do and they have a bottom sheet, with an inner scroll. If necessary I can implement it, but basically, you take half of the screen, when you scroll up, the modal take the full width and then you scroll within the content.
Here is what it could look like:
Collapsed:
Expanded:
This is what I would like to implement for KP
(An improvement could be to "star" a list, and then it will be on top of it)
I would like to see a "Shopping list", "Product I bought" default lists
@teolemon Are you talking about "system" lists (unremovable and unrenamable like "history") or just 2 user lists that we build by default? The "system" lists would be much easier to implement, especially for localization reasons.
@teolemon Ok to create two "system" lists (unremovable and unrenamable like "history") for "Shopping list" and "Products I bought".
For "Shopping list" in the real world there are numbers of items too, like what we coded about 2 years ago (including "pantry" lists). I'm afraid that could cause confusion to display a shopping list without the number of items.
@teolemon What about the number of products? That would be expected of a shopping list or a picnic. We could start with "my favorite foods" (with a fast-track "heart" icon to add any product), and with "products I bought". In both cases no number of products is required/expected.
If we want a simple solution, we should embed a gallery of icons and let users choose one per list. Way easier than trying to guess what's behind a name
EDIT: I'm sorry, I'm off topic
@monsieurtanuki is talking quantities
For the scanning part, I used Simply Stock today, and I found their system with + - and a dropdown quite convenient. It could be a dedicated "Stock mode" for the scanner. Eg. NOT activated by default @monsieurtanuki @g123k
For the scanning part, I used Simply Stock today, and I found their system with + - and a dropdown quite convenient. It could be a dedicated "Stock mode" for the scanner.
@teolemon Regardless of the "stock +1/-1" feature, it could be very cool to be able to
What
References
523
2483
3390
What do you think ?