Closed sineptic closed 6 months ago
@teolemon Low hanging fruit suggestion: I guess that nutriscore-related nutrients don't change very often, so we could hard-code them and highlight them in the nutrition fact page, possibly with a "needed for nutriscore" subtitle.
Several remarks...
(as interpreted in compute_nutriscore_score_2023
@ Nutriscore.pm)
energy
sugars
saturated_fat
fat
salt
fiber
proteins
fruits_vegetables_legumes
)=> a solution to fix the issue would be to systematically consider those fields as part of the nutrition facts edit screen.
For historical (good) reasons, starting from the European version of nutrient hierarchy, we decided to display a specific set of nutrients: all those with "important": true . But we could as well use "display_in_edit_form": true , which is slightly the same.
But it's not the same for Russia or Canada: |
count | Europe | Russia | Canada |
---|---|---|---|---|
display_in_edit_form |
11 | 11 | 16 | |
important |
10 | 5 | 4 |
=> a solution to fix the issue would be to consider "display_in_edit_form": true
instead of "important": true
:
For some reason
IU
)
Problem
app say that some information needed, but not say what I need to add.
Proposed solution
Additional context