feat: add product selection step before meal planning
Inserts a new PlanProductsSheet as step 1 of the planning flow. Users see their current products as a multi-select checklist (all selected by default) before choosing the planning mode and dates. - Empty state explains the benefit and offers "Add products" CTA while always allowing "Plan without products" to skip - Selected product IDs flow through PlanMenuSheet → PlanDatePickerSheet → MenuService.generateForDates → backend - Backend: added ProductIDs field to generate-menu request body; uses ListForPromptByIDs when set, ListForPrompt otherwise - Backend: added Repository.ListForPromptByIDs (filtered SQL query) - All 12 ARB locale files updated with planProducts* keys Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -118,7 +118,9 @@
|
||||
"noResultsForQuery": "\"{query}\" के लिए कुछ नहीं मिला",
|
||||
"@noResultsForQuery": {
|
||||
"placeholders": {
|
||||
"query": { "type": "String" }
|
||||
"query": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"servingsLabel": "सर्विंग",
|
||||
@@ -127,7 +129,9 @@
|
||||
"planningForDate": "",
|
||||
"@planningForDate": {
|
||||
"placeholders": {
|
||||
"date": { "type": "String" }
|
||||
"date": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"markAsEaten": "खाया हुआ चिह्नित करें",
|
||||
@@ -136,7 +140,6 @@
|
||||
"generateWeekSubtitle": "AI पूरे सप्ताह के लिए नाश्ता, दोपहर का खाना और रात के खाने के साथ मेनू बनाएगा",
|
||||
"generatingMenu": "मेनू बना रहे हैं...",
|
||||
"dayPlannedLabel": "दिन की योजना बनाई गई",
|
||||
|
||||
"planMenuButton": "भोजन की योजना बनाएं",
|
||||
"planMenuTitle": "क्या योजना बनानी है?",
|
||||
"planOptionSingleMeal": "एक भोजन",
|
||||
@@ -151,6 +154,16 @@
|
||||
"planSelectMealType": "भोजन का प्रकार",
|
||||
"planSelectRange": "अवधि चुनें",
|
||||
"planGenerateButton": "योजना बनाएं",
|
||||
"planGenerating": "योजना बना रहे हैं\u2026",
|
||||
"planSuccess": "मेनू की योजना बनाई गई!"
|
||||
"planGenerating": "योजना बना रहे हैं…",
|
||||
"planSuccess": "मेनू की योजना बनाई गई!",
|
||||
"planProductsTitle": "मेनू के लिए उत्पाद",
|
||||
"planProductsSubtitle": "AI रेसिपी बनाते समय चुने हुए उत्पादों को ध्यान में रखेगा",
|
||||
"planProductsEmpty": "कोई उत्पाद नहीं जोड़ा गया",
|
||||
"planProductsEmptyMessage": "घर पर उपलब्ध उत्पाद जोड़ें — AI आपके पास पहले से मौजूद चीज़ों से रेसिपी सुझाएगा",
|
||||
"planProductsAddProducts": "उत्पाद जोड़ें",
|
||||
"planProductsContinue": "जारी रखें",
|
||||
"planProductsSkip": "उत्पाद चयन छोड़ें",
|
||||
"planProductsSkipNoProducts": "उत्पादों के बिना योजना बनाएं",
|
||||
"planProductsSelectAll": "सभी चुनें",
|
||||
"planProductsDeselectAll": "सभी हटाएं"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user