smooth-app
smooth-app copied to clipboard
Nutrition input (Tracker)
Who for
What
### Tasks
- [ ] Add a server controlled nutrition-table input
- [ ] It should return the default translated, ordered and filtered list of nutrients based on the language code and the country code, as well as a complete list of known nutrients (translated)
- [ ] This list is also adapted based on the known category of the product (eg: waters, baby milks, alcoholic drinks)
- [ ] This list also has the openfoodfacts-dart nutrient id to call
- [ ] The client does a FOR loop using the API, to display the input
- [ ] https://github.com/openfoodfacts/smooth-app/issues/5401
- [ ] https://github.com/openfoodfacts/smooth-app/issues/4446
- [ ] https://github.com/openfoodfacts/smooth-app/issues/4896
- [ ] https://github.com/openfoodfacts/smooth-app/issues/5126
- [ ] https://github.com/openfoodfacts/smooth-app/issues/3875
- [ ] https://github.com/openfoodfacts/smooth-app/issues/5010
- [ ] https://github.com/openfoodfacts/smooth-app/issues/3978
### Tasks
- [ ] Upgrade the nutrition facts input to add support for as sold, and as prepared
- [ ] https://github.com/openfoodfacts/smooth-app/issues/3278
- [ ] Add a dual-screen mode for nutrition input to allow for after the fact manual nutrition input
- [ ] Add an educational one-time onboarding screen about Nutri-Score with the result of the computation + showing the points normally granted by the openfoodfacts-events points system (blocked at least on https://github.com/openfoodfacts/openfoodfacts-server/issues/6259, otherwise, we would just pretend the points were granted)
- [x] Add screen to explain that the Nutri-Score wasn't computed for that product and why
- [ ] Add server side support for no nutrition facts status: https://github.com/openfoodfacts/openfoodfacts-server/issues/7612
- [ ] Add a button to mention no nutrition facts are visible
- [ ] Optimize for Nutri-Score success: https://github.com/openfoodfacts/openfoodfacts-server/issues/7610
- [ ] https://github.com/openfoodfacts/smooth-app/issues/3978
Mockup
- [ ]
- [ ]
- [ ]
- [ ]
Here's a first mockup, which hasn't been discussed yet
Code pointers
- DART support: https://github.com/openfoodfacts/openfoodfacts-dart/pull/272
Why
Part of
- [x] #505
- [ ] #503