feat: add batch-cooking sessions (single "mega recipe" with dish sections)
New AI-generated batch-cooking flow: pick N dinners/lunches + servings, get one unified recipe covering a full prep session — merged shopping list, steps tagged per-dish (a step can advance several dishes at once, e.g. a shared oven bake), and per-dish storage (fridge/freezer) + exact day-of reheat/finishing instructions. Schema: recipes.isBatchCook, recipeSteps.appliesTo (dish names), new recipeBatchDishes table. Batch recipes are excluded from the normal /recipes list and live under their own /batch-cooking section. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -62,6 +62,12 @@
|
||||
"ingredients": "Ingredients",
|
||||
"instructions": "Instructions",
|
||||
"photos": "Photos",
|
||||
"batchCookBadge": "Batch cooking",
|
||||
"batchCookPrep": "Prep",
|
||||
"batchCookDishesTitle": "Dishes & storage",
|
||||
"batchCookFridgeDays": "Fridge: {days}d",
|
||||
"batchCookFreezerFriendly": "Freezer-friendly",
|
||||
"batchCookDayOf": "On the day",
|
||||
"servings": "{count} servings",
|
||||
"prep": "{mins}m prep",
|
||||
"cook": "{mins}m cook",
|
||||
@@ -535,6 +541,25 @@
|
||||
"resendSuccess": "Verification email sent — check your inbox",
|
||||
"or": "or"
|
||||
},
|
||||
"batchCooking": {
|
||||
"title": "Batch cooking",
|
||||
"subtitle": "Cook once, eat well all week",
|
||||
"empty": "No batch-cooking sessions yet",
|
||||
"newSession": "New batch-cooking session",
|
||||
"dishCount": "{count, plural, one {# dish} other {# dishes}}",
|
||||
"wizardTitle": "Plan a batch-cooking session",
|
||||
"wizardDescription": "Choose how many meals to cover — we'll design a shared shopping list and one prep session for all of them.",
|
||||
"dinners": "Dinners",
|
||||
"lunches": "Lunches",
|
||||
"servingsPerMeal": "Servings per meal",
|
||||
"dietaryPrefs": "Dietary preferences",
|
||||
"dietaryPrefsPlaceholder": "e.g. vegetarian, no shellfish",
|
||||
"anyDifficulty": "Any",
|
||||
"generate": "Generate",
|
||||
"generating": "Generating… this can take a minute",
|
||||
"generateSuccess": "Batch-cooking session created",
|
||||
"generateFailed": "Failed to generate"
|
||||
},
|
||||
"recipes": {
|
||||
"title": "Recipes",
|
||||
"subtitle": "Your personal recipe library",
|
||||
@@ -543,6 +568,7 @@
|
||||
"newSubtitle": "Build your recipe from scratch",
|
||||
"importUrl": "Import URL",
|
||||
"generate": "Generate",
|
||||
"batchCooking": "Batch cooking",
|
||||
"search": "Search recipes…",
|
||||
"noRecipes": "No recipes yet",
|
||||
"noMatch": "No recipes match",
|
||||
|
||||
Reference in New Issue
Block a user