You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
teolemon
changed the title
Create an API route to provide Quality Facets on a nutrition table
Create an API route to provide Quality Warnings and Errors on a given nutrition table/ingredients list
Jan 29, 2024
So for this issue, the best solution would be to create a "check_quality" service that would run the quality checks from lib/ProductOpener/DataQuality.pm and send back the related data_quality_*_tags fields.
What
Create an API route to provide Quality Warnings and Errors on a given nutrition table (not related to a product)
Create an API route to provide Quality Warnings and Errors on a given ingredient list (not related to a product)
That would help on product addition/edition in the app to spot and warn users in real time with potential errors and warnings in real time
https://world.openfoodfacts.org/data-quality-error/nutrition-values-are-all-identical
https://world.openfoodfacts.org/data-quality-error/nutrition-errors
Even for new products, we could send values to a To be created™ route, that could send back potential errors and warnings in real time
Part of
Originally posted by @teolemon in openfoodfacts/smooth-app#3978 (comment)
The text was updated successfully, but these errors were encountered: