Skip to content
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

Revamp the price addition workflow #1085

Open
6 of 11 tasks
raphodn opened this issue Dec 4, 2024 · 13 comments · Fixed by #1072, #1068, #1093, #1096 or #1095
Open
6 of 11 tasks

Revamp the price addition workflow #1085

raphodn opened this issue Dec 4, 2024 · 13 comments · Fixed by #1072, #1068, #1093, #1096 or #1095

Comments

@raphodn
Copy link
Member

raphodn commented Dec 4, 2024

Story

After some extensive scanning with Justin this weekend, I'm thinking of many small changes to apply to the main "proof+price(s) addition" workflow

Why

  • less text
  • clearer separation of fields
  • homogenize actions (too many buttons, chips, actions... displayed)
  • make everything fit into the screen (avoid scrolling as much as possible)
  • be closer to a mobile experience

Current workflow

Step 1: proof Step 2: price(s)
Image Image

Ideas

Related issues

Things to keep in mind

In the long run we will be splitting proof addition and price addition (see discussion here: openfoodfacts/open-prices#526 (comment))

  • to have AI extract automatically info from proof images
  • to allow any user to add prices on "Price tag" proofs
  • but this workflow would still be used for "Receipt" proofs
@thibaultmol
Copy link

thibaultmol commented Dec 6, 2024

Another thing I was thinking of: I actually would love to be able to upload proofs at once. just dump them all in so I no longer need to worry about those files on my pc/phone. And then do the tagging later

In the current flow I have to remember which images i've already uploaded and which I haven't. to the point where i just open multiple tabs and upload all the images. so that I don't have to worry about it.

@serpico
Copy link

serpico commented Dec 6, 2024

did you try https://prices.openfoodfacts.org/proofs/add/multiple ? ( it's in the side menu > Experiments > Add multiple proofs )

@raphodn
Copy link
Member Author

raphodn commented Dec 9, 2024

@serpico ok so you're not going to be happy with the new layout i guess ^^

  • it's only half done (i need to take some time for the "normal" form fields)
  • and we can think of an expert mode to save some clicks (i know, the new UI adds some clicks, I tried it quite a bit this weekend)

Current workflow (WIP)

Step 1: proof Step 2: price(s)
Image Image

@thibaultmol
Copy link

I like the change of 'find the product' instead of whatever barcode it was before.
i really like how the barcode is already prefilled in the 'type the barcode' field, not sure if that was the case before

one thing i would like to ask: could we have the cropped image of the product, very large, above the 'type the barcode' field.
Image

right above this i would like to see the price time image massive, so i can easily read it.

Another thing it'd like to ask: since EAN13 has a builtin checksum. is it possible to re-run the ocr a second or third time slightly differently somehow, until it finds a correct barcode OR it hits 3 tries?

@thibaultmol
Copy link

also, i know this will increase the amount of api calls maybe. but having it automatically check the api for products anytime it matches a common barcode char amount like 13. it shows that it found a product inside the 'type a barcode' screen. without having to submit it. so i can see if i typed it correct before having to close the window

@serpico
Copy link

serpico commented Dec 9, 2024

@serpico ok so you're not going to be happy with the new layout i guess ^^

* it's only half done (i need to take some time for the "normal" form fields)

* and we can think of an expert mode to save some clicks (i know, the new UI adds some clicks, I tried it quite a bit this weekend)

Don't worry, try away

@raphodn
Copy link
Member Author

raphodn commented Dec 9, 2024

thanks for the feedback @thibaultmol ! indeed i share your following points :

  1. the "type a barcode" could display the image above (or below) ; note that it's used elsewhere like the "Multiple add price" so it will have the full proof image, not just the cropped one.
  2. an intermediate "validation" step could be nice, so that you stay on the modal until you've found the correct barcode 👌
  3. the EAN check result could also be displayed somewhere (it is already display on the "product card", if 2. is done then it'll come with it

@raphodn
Copy link
Member Author

raphodn commented Dec 10, 2024

2 new changes on the barcode scanner :

edit :

@raphodn
Copy link
Member Author

raphodn commented Dec 18, 2024

New screenshots after some additional changes (in the price addition section)

proof type Step 1: proof Step 2: price(s)
receipt Image Image

and the new settings
Image

@raphodn
Copy link
Member Author

raphodn commented Dec 19, 2024

extra todo following feedback:

  • Proof form: fix a bug where users can upload proofs without locations
  • Location finder: show a (dismissable) message informing users they can set the default tab in the settings
  • Location finder: pre-select last location + better display it ?
  • Barcode scanner: show a (dismissable) message informing users they can set the default tab in the settings
  • Barcode scanner > type: hide the numeric stepper on the right
  • Barcode scanner > type: find a way to allow users to skip the validation step
  • after the barcode scanner, when the product is selected, if the price is still empty, focus directly on the field
  • allow translation of the "Organic" checkbox (category label). add new labels ?
  • Receipt-only "personal data" fields: find a way to inform users + settings to hide them completely ?

also

  • rename "Add multiple prices" to "Add prices" to simplify & homogenize (sidebar, header, breacrumb)

@raphodn
Copy link
Member Author

raphodn commented Jan 26, 2025

@TTalex following feedback that for some fields (especially the "currency" where you need to go to your settings to change them) we would need to add a Help icon or link/popup, I've been thinking of changing the look and feel of our input fields..

@TTalex
Copy link
Collaborator

TTalex commented Jan 26, 2025

For the specific case of currency, maybe the solution is in the drop-down. Add a "more" option to display all available currencies, and upon user selection add the currency to favorites.
Because even with a tutorial / good explanation, I find it a bit odd to have to go to settings for this.

@raphodn
Copy link
Member Author

raphodn commented Jan 26, 2025

The "best" solution would be an onboarding page to select your language, country & currency

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment