-
-
Notifications
You must be signed in to change notification settings - Fork 275
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: 2910 - big UI/UX refactoring for "add new product" page #4054
Conversation
Impacted files: * `add_new_product_page.dart`: big refactoring * `add_simple_input_button.dart`: refactoring * `app_en.arb`: added 5 labels * `app_fr.arb`: added 5 labels * `smooth_large_button_with_icon.dart`: added an optional image file to display in RRect
Codecov Report
@@ Coverage Diff @@
## develop #4054 +/- ##
===========================================
- Coverage 11.00% 10.97% -0.03%
===========================================
Files 270 270
Lines 13369 13405 +36
===========================================
Hits 1471 1471
- Misses 11898 11934 +36
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
I believe it's a strong improvement over what we have @g123k @M123-dev @raphael0202 |
Yes, but I strongly pleed for a different color |
I haven't looked at the code yet, but I agree with @M123-dev and I think, there's more than colors to change.
|
I'd be tempted to merge/iterate. |
Only based on the screenshots, I would say:
(Also this may not be the case here, but in the prod app, if I take a photo (e.g.: the ingredients) and I have made a mistake, I can't fix it in this screen because once a button is "filled", it's also in a disabled state. |
Titles are basically an action, which could instead be a description of it
|
For example, with "Help compute the NutriScore in 2 min" -> this is the action We should rather say:
Basically our eyes are directed to a too long sentence and we need to be more explicit on the actions. |
I've made some variations @g123k |
@g123k @monsieurtanuki more convincing version. WDYT ? |
@teolemon I like the new colors, but I don't like the "Cancel" or "Skip" buttons, that are misleading: every change on a product is automatically sent to the server. Anyway, I would prefer the current PR to be approved and merged first: not because of its arguably superb UI, but mainly because the product refresh is included. Then any improvement can be coded on top of it, after discussion, like:
What looks easily feasible so far is:
|
on your screenshots the product name/brand/weight are not there (?)
|
I would add a 2-line explanation of the nutriscore and the ecoscore
|
That confirms my analysis: you guys should probably approve this PR first, that works and is an improvement. |
Here's what the mockups would require to implement
|
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.
Approved, let's iterate 👍
What
Screenshot
Part of
Impacted files
add_new_product_page.dart
: big refactoringadd_simple_input_button.dart
: refactoringapp_en.arb
: added 5 labelsapp_fr.arb
: added 5 labelssmooth_large_button_with_icon.dart
: added an optional image file to display in RRect