openfoodfacts / smooth-app

🤳🥫 The new Open Food Facts mobile application for Android and iOS, crafted with Flutter and Dart
https://world.openfoodfacts.org/open-food-facts-mobile-app?utm_source=off&utf_medium=web&utm_campaign=github-repo
Apache License 2.0
1.06k stars 378 forks source link

Add quick stats on the % of NOVA 4 products in a list #6274

Open teolemon opened 4 months ago

teolemon commented 4 months ago

What

monsieurtanuki commented 4 months ago

I don't know the specific use-case for NOVA 4, but the idea could easily be applied to nutriscore too. Or score "10%" buckets.

Even beyond, some kind of business intelligence dashboard. Would be relevant for instance if you're working on a category (e.g. "pizza"), to see how healthy the most common products are.

g123k commented 4 months ago

Why do we only show NOVA 4? Wouldn't it be better to show a diagram with x% of NOVA 1, x% of NOVA 2…? That would also be very nice to have the same thing for Nutri-Score & Green-Score.

teolemon commented 4 months ago

I was in a workshop, listening to researchers with a NOVA cohort 😅

monsieurtanuki commented 4 months ago

@g123k Health-wise, the only thing that matters is NOVA4 (= UltraTransformedFood) or not NOVA4.

As commented earlier, we could more "professional" business intelligence reports that include NOVA, nutriscore and greenscore. Basically deconstructing the OFF compatibility score.

But here it's about a quick dirty stat.

qq3173732005 commented 2 months ago

Hi, I want to work on this issue, but could I have some clarification on what is meant by "overflow button" here? Does it refer to this button:

Image

Which means I would add a button in the menu like this:

Image

That causes another bottom sheet to pop up with (for now) just a NOVA 4 percentage stat for the list?

Or is a different implementation intended?

g123k commented 2 months ago

Providing only the NOVA 4 score is a bad idea. We have published a more generic approach for the GSoC.