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

Make the Road to Scores more explicit on product addition #2910

Closed
Tracked by #1379
teolemon opened this issue Sep 3, 2022 · 15 comments
Closed
Tracked by #1379

Make the Road to Scores more explicit on product addition #2910

teolemon opened this issue Sep 3, 2022 · 15 comments
Assignees
Labels
🎨 Mockups available Some mockups are available for this issue. Please check everything is ok before starting coding. 🎯 P1 Product addition The easier it is to add a product and get Nutri-Score, Eco-Score, the happier the users. 🛣️ Road to scores The easier it is to get Nutri-Score, Eco-Score, the happier the users.

Comments

@teolemon
Copy link
Member

teolemon commented Sep 3, 2022

Problem

  • People still complain that the database is empty
  • The onboarding does not mention the collaborative nature of the database, nor the promise you can get Nutri-Score or Eco-Score in a few minutes

Proposed solution

  • Implement the mockup below which shows the Grey Scores

Mockups

image

Part of

@teolemon teolemon added the Product addition The easier it is to add a product and get Nutri-Score, Eco-Score, the happier the users. label Sep 3, 2022
@monsieurtanuki
Copy link
Contributor

People still complain that the database is empty

Who are those guys? If they are tourists in a foreign country (which is a decent use-case), they are probably right as we filter on their origin country.
Should we design an ad hoc app "Find the best foreign food when you're abroad!"?
Should we use the country filter only in rare cases?

The onboarding does not mention the collaborative nature of the database, nor the promise you can get Nutri-Score or Eco-Score in a few minutes

Computing the nutriscore and ecoscore on the fly may be a good opportunity to use the dart_eval/ flutter_eval @g123k mentioned. Or not.

Implement the mockup below which shows the Grey Scores

That's a start.
Or an "Easy as 1-2-3" sequence like "1-scan the barcode" "2-input additional info if not already in our database" and "3-see the scores".

@teolemon
Copy link
Member Author

Those guys: people in countries with not that many products, and that find the app by chance on the App/Play Stores

@teolemon teolemon added the 🛣️ Road to scores The easier it is to get Nutri-Score, Eco-Score, the happier the users. label Sep 18, 2022
@teolemon teolemon added the 🎨 Mockups available Some mockups are available for this issue. Please check everything is ok before starting coding. label Dec 10, 2022
@monsieurtanuki monsieurtanuki self-assigned this May 18, 2023
@teolemon
Copy link
Member Author

teolemon commented May 28, 2023

Typical contribution by an app user. They take photos.

https://world.openfoodfacts.org/product/00164311000423002751
image

And get nothing of value in return

image

Our aim should be that 100% of people not getting the score are in that situation because of a deliberate decision on their side (eg power contributors, or they skip the addition process out of laziness)

@monsieurtanuki
Copy link
Contributor

@teolemon That's why I suggested to hack the nutriscore and ecoscore (or whatever the user is interested in), in order to show the meaningful info first. Then maybe there's a conflict between what the user wants (scores computed so that she decides to buy the product or not) and the common good (having a database also with pictures).
#1379 (comment)
Screenshot_2023-05-12-19-28-50

@teolemon
Copy link
Member Author

@monsieurtanuki We can put the photo card on top of the page, and the scores cards below, but as said elsewhere, I say go ahead on this Nutri-Score proposal.

@monsieurtanuki
Copy link
Contributor

@teolemon Working on it.
One UX problem is that for the moment you need to be logged in order to change (for instance) categories.
We should make it easier for new products, shouldn't we? It's already dealt with for basic details: no log in asked for new products, but explicitly asked when changing products.

@monsieurtanuki
Copy link
Contributor

A blocking problem is that I still cannot work with TEST env as I get CERTIFICATE_VERIFY_FAILED errors (cf. #628?) (and I'm sure I recently created an issue about this but I cannot find it anymore).
Is there a sandbox in PROD, like a limited range of NEW barcodes for tests?
Meanwhile, I cannot work on the current issue.

@teolemon
Copy link
Member Author

  • you can use books, DVD, ... In prod
  • we have always let users add new products without auth, so no worries on this side

@monsieurtanuki
Copy link
Contributor

  • you can use books, DVD, ... In prod

It's not a matter of scanning unknown barcodes.
If I have an unknown barcode (e.g. 987654321), I need to test the reactions of the page when new data is input (e.g. expected nutriscore refresh). If I do that on random barcodes, I will pollute the PROD database. Unless those unknown barcodes follow a rule (like starting with 978, like books), we have no way to say if a product is just a test or a real one. That said, I can add "TEST" in the product name.

  • we have always let users add new products without auth, so no worries on this side

So for each button in the "add new product" page, we have to disable the "log in?" check.

@monsieurtanuki
Copy link
Contributor

@teolemon That would look like that:

landing page with nutrition facts with category
Screenshot_2023-05-30-17-20-53 Screenshot_2023-05-30-17-21-32 Screenshot_2023-05-30-17-22-33

@monsieurtanuki
Copy link
Contributor

For my 9780000000005 product:

en:GS1 - ISBN prefix
The International Standard Book Number -ISBN- is for books. In other terms, this is not food, and this should be moved to Open Products Facts by inputting OPF in the barcode field at the top of the edit page.

👍

@monsieurtanuki
Copy link
Contributor

Having a look at my https://fr.openfoodfacts.org/produit/9780000000007, I see that there's not nutriscore for vinegars (Nutri-Score non applicable - Non applicable pour la catégorie : Vinaigres)
Could we get the same warning text for the app from the server, instead of "missing data for nutriscore"?

@monsieurtanuki
Copy link
Contributor

Minor changes.

We should let the user enter new values - after the category input, it's possible to change the category.
Screenshot_2023-05-30-17-58-23

In some cases (e.g. proteins not populated) we can have not empty nutrition facts, but not good enough for the nutriscore
Screenshot_2023-05-30-17-59-19

After populating the proteins, the nutriscore is computed:
Screenshot_2023-05-30-18-00-08

@teolemon
Copy link
Member Author

Great @monsieurtanuki 👍

@monsieurtanuki
Copy link
Contributor

Made obsolete by #4058.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎨 Mockups available Some mockups are available for this issue. Please check everything is ok before starting coding. 🎯 P1 Product addition The easier it is to add a product and get Nutri-Score, Eco-Score, the happier the users. 🛣️ Road to scores The easier it is to get Nutri-Score, Eco-Score, the happier the users.
Development

No branches or pull requests

2 participants