9973edf463
- Nuovo endpoint chat_extract_recipe: Gemini estrae solo nomi+quantità con prompt minimo (nessun inventario nel prompt → niente troncamento), poi PHP fuzzy-match contro l'inventario completo identico a generateRecipe - Frontend: _looksLikeRecipe() rileva risposte chat con ricetta; bottone '🥄 Usa ingredienti' appare sotto la bubble, chiama chatExtractIngredients() che mostra pannello inline con pulsanti '📦 Usa' per ogni ingrediente in dispensa - useRecipeIngredient() riusato 1:1 con fallback _chatRecipeTitle per le note - Stili CSS: btn-chat-use-recipe, chat-recipe-panel, chat-recipe-panel-container - Chiavi i18n: use_ingredients_btn, recipe_ingredients_from_pantry (it/en/de)
19 lines
483 B
JSON
19 lines
483 B
JSON
{
|
|
"name": "EverShelf",
|
|
"short_name": "EverShelf",
|
|
"description": "Gestione completa della dispensa di casa con scansione barcode",
|
|
"version": "1.7.8",
|
|
"start_url": "/evershelf/",
|
|
"display": "standalone",
|
|
"background_color": "#f0f4e8",
|
|
"theme_color": "#2d5016",
|
|
"orientation": "portrait",
|
|
"icons": [
|
|
{
|
|
"src": "assets/img/logo/logo_icon.png",
|
|
"sizes": "any",
|
|
"type": "image/svg+xml"
|
|
}
|
|
]
|
|
}
|