feat: Crea una ricetta per ingrediente + fix bottone Apri ricetta + meal non categorizzato
- Bottone 'Apri la ricetta': il transfer btn si trasforma direttamente in '📖 Apri la ricetta' dopo il successo (invece di aggiungere un elemento DOM separato) - meal null: chatToRecipe e recipe_from_ingredient non auto-categorizzano il pasto; renderRecipe mostra il tag meal solo se presente - Nuovo endpoint recipe_from_ingredient: genera una ricetta con l'ingrediente selezionato come protagonista, stessa pipeline di chatToRecipe (Gemini + fuzzy-match) - Bottone '👨🍳 Crea una ricetta con questo' nel pannello azione degli alimenti (span-2 sotto la griglia 2x2), apre overlay Ricette in loading state
This commit is contained in:
@@ -193,7 +193,8 @@
|
||||
"use_qty_sub": "wie viel verwendet",
|
||||
"throw_btn": "🗑️ ENTSORGEN",
|
||||
"throw_sub": "wegwerfen",
|
||||
"edit_sub": "Ablauf, Ort…"
|
||||
"edit_sub": "Ablauf, Ort…",
|
||||
"create_recipe_btn": "Rezept damit erstellen"
|
||||
},
|
||||
"add": {
|
||||
"title": "Zum Vorrat hinzufügen",
|
||||
@@ -477,6 +478,7 @@
|
||||
"transferred": "Zu Rezepten hinzugefügt!",
|
||||
"open_recipe": "Rezept öffnen"
|
||||
},
|
||||
"action": {
|
||||
"cooking": {
|
||||
"close": "Schließen",
|
||||
"tts_btn": "Vorlesen",
|
||||
|
||||
@@ -193,7 +193,8 @@
|
||||
"use_qty_sub": "how much you used",
|
||||
"throw_btn": "🗑️ DISCARD",
|
||||
"throw_sub": "throw away",
|
||||
"edit_sub": "expiry, location…"
|
||||
"edit_sub": "expiry, location…",
|
||||
"create_recipe_btn": "Create a recipe with this"
|
||||
},
|
||||
"add": {
|
||||
"title": "Add to Pantry",
|
||||
@@ -477,6 +478,7 @@
|
||||
"transferred": "Added to Recipes!",
|
||||
"open_recipe": "Open recipe"
|
||||
},
|
||||
"action": {
|
||||
"cooking": {
|
||||
"close": "Close",
|
||||
"tts_btn": "Read aloud",
|
||||
|
||||
@@ -193,7 +193,8 @@
|
||||
"use_qty_sub": "quanto ne hai usato",
|
||||
"throw_btn": "🗑️ BUTTA",
|
||||
"throw_sub": "butta il prodotto",
|
||||
"edit_sub": "scadenza, luogo…"
|
||||
"edit_sub": "scadenza, luogo…",
|
||||
"create_recipe_btn": "Crea una ricetta con questo"
|
||||
},
|
||||
"add": {
|
||||
"title": "Aggiungi alla Dispensa",
|
||||
@@ -477,6 +478,7 @@
|
||||
"transferred": "Aggiunta alle Ricette!",
|
||||
"open_recipe": "Apri la ricetta"
|
||||
},
|
||||
"action": {
|
||||
"cooking": {
|
||||
"close": "Chiudi",
|
||||
"tts_btn": "Leggi ad alta voce",
|
||||
|
||||
Reference in New Issue
Block a user