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

"Comparison to average values of products in the same category" is unclear #2497

Open
zigouras opened this issue Oct 28, 2019 · 4 comments
Open
Labels
averages by categories Generating & Leveraging average nutrition values by category 🎨 Design 📚 Documentation Documentation issues improve the project for everyone. ⏲️ 5 minute fix

Comments

@zigouras
Copy link
Contributor

Describe the bug
In the nutrients table, it is not clear what the object of the percentage is in the column of the products in the same category. e.g. if it says +4%, does it mean that the category is 4% more than the product we are viewing or is the product 4% more than the category? I think it is the latter but I was never sure! Thanks.

To Reproduce
Look at any product.

Expected behavior
Some help text to clarify.

@zigouras zigouras added ⏲️ 5 minute fix averages by categories Generating & Leveraging average nutrition values by category 📚 Documentation Documentation issues improve the project for everyone. 🎨 Design labels Oct 28, 2019
@stephanegigandet
Copy link
Contributor

I agree, it's very unclear, but I'm not sure how to convey it in a visually pleasing way. Any suggestion?

@zigouras
Copy link
Contributor Author

zigouras commented Nov 2, 2019

Just add some explanatory text. I am not exactly sure how it is calculated but I think it is "* Calculated as (this product value/average category value - 1) x 100%" You could put an asterisk next to the calculated column header and put the text below the table. Or append the text to "Please note: for each nutrient, the average is computed for products for which the nutrient quantity is known, not on all products of the category."

@VaiTon
Copy link
Member

VaiTon commented Nov 3, 2019

Or append the text to "Please note: for each nutrient, the average is computed for products for which the nutrient quantity is known, not on all products of the category."

Or maybe just a tooltip when hovering the value.

@YashasviChaurasia
Copy link

@teolemon I would like to work on this issue

@openfoodfacts openfoodfacts deleted a comment from github-actions bot Aug 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
averages by categories Generating & Leveraging average nutrition values by category 🎨 Design 📚 Documentation Documentation issues improve the project for everyone. ⏲️ 5 minute fix
Projects
Status: To discuss and validate
Status: No status
Development

No branches or pull requests

5 participants