feat: manual nutrition entry on recipe editor

Lets authors enter nutrition values by hand instead of relying only on
the AI estimate; the detail-page panel now shows whether data was
manually entered or AI-estimated and offers to switch between them.

v0.35.0
This commit is contained in:
Arnaud
2026-07-14 15:55:42 +02:00
parent bd3d8c88f0
commit 1577b8de01
18 changed files with 5275 additions and 15 deletions
+6 -1
View File
@@ -477,7 +477,9 @@
"carbs": "Carbs",
"fat": "Fat",
"fiber": "Fiber",
"sodium": "Sodium"
"sodium": "Sodium",
"manualBadge": "Manually entered",
"estimateInsteadButton": "Estimate with AI instead"
},
"nutritionDiary": {
"title": "Nutrition Diary",
@@ -709,6 +711,9 @@
"tagsPlaceholder": "Add tags… (press Enter)",
"removeTagAriaLabel": "Remove tag {tag}",
"dietaryTags": "Dietary tags",
"nutritionToggle": "Add nutrition info manually",
"nutritionToggleHelp": "Per serving. Turns off the AI-estimate action on the recipe page — clear these fields (turn this off) to let AI estimate it instead.",
"calories": "Calories (kcal)",
"photos": "Photos",
"ingredients": "Ingredients",
"amount": "Amount",
+6 -1
View File
@@ -477,7 +477,9 @@
"carbs": "Glucides",
"fat": "Lipides",
"fiber": "Fibres",
"sodium": "Sodium"
"sodium": "Sodium",
"manualBadge": "Saisie manuellement",
"estimateInsteadButton": "Estimer avec l'IA à la place"
},
"nutritionDiary": {
"title": "Journal nutritionnel",
@@ -700,6 +702,9 @@
"tagsPlaceholder": "Ajouter des tags… (Entrée)",
"removeTagAriaLabel": "Supprimer le tag {tag}",
"dietaryTags": "Tags alimentaires",
"nutritionToggle": "Ajouter les valeurs nutritionnelles manuellement",
"nutritionToggleHelp": "Par portion. Désactive l'estimation IA sur la page de la recette — videz ces champs (désactivez ceci) pour laisser l'IA l'estimer à nouveau.",
"calories": "Calories (kcal)",
"photos": "Photos",
"ingredients": "Ingrédients",
"amount": "Quantité",