diff --git a/apps/web/components/meal-plan/meal-planner.tsx b/apps/web/components/meal-plan/meal-planner.tsx index cd2f874..138d292 100644 --- a/apps/web/components/meal-plan/meal-planner.tsx +++ b/apps/web/components/meal-plan/meal-planner.tsx @@ -10,6 +10,7 @@ import { Input } from "@/components/ui/input"; import { Button } from "@/components/ui/button"; import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/select"; import { useTranslations } from "next-intl"; +import { BatchCookGenerateDialog } from "@/components/recipe/batch-cook-generate-dialog"; type Day = "mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun"; type MealType = "breakfast" | "lunch" | "dinner" | "snack"; @@ -180,6 +181,7 @@ export function MealPlanner({ const [markingCookedIds, setMarkingCookedIds] = useState>(new Set()); const [adding, setAdding] = useState<{ day: Day; mealType: MealType } | null>(null); const [showAiModal, setShowAiModal] = useState(false); + const [showBatchModal, setShowBatchModal] = useState(false); const [aiGenerating, setAiGenerating] = useState(false); const [aiPhase, setAiPhase] = useState(""); const [dietaryPrefs, setDietaryPrefs] = useState(""); @@ -321,9 +323,13 @@ export function MealPlanner({ return ( <> - {/* AI Generate button */} -
- + @@ -533,6 +539,8 @@ export function MealPlanner({ )} + + ); } diff --git a/apps/web/messages/en.json b/apps/web/messages/en.json index 6ceea19..0167277 100644 --- a/apps/web/messages/en.json +++ b/apps/web/messages/en.json @@ -677,6 +677,7 @@ "weekOf": "Week of {date}", "sharedMealPlanTitle": "{name}'s Meal Plan", "batchCookBadge": "Batch cooking", + "batchCooking": "Batch cooking", "pickDishTitle": "Which dish from \"{recipe}\"?", "pickDishDescription": "This is a batch-cooking session — pick the specific dish for this slot.", "back": "Back", diff --git a/apps/web/messages/fr.json b/apps/web/messages/fr.json index 5bd32de..5e88c3e 100644 --- a/apps/web/messages/fr.json +++ b/apps/web/messages/fr.json @@ -665,6 +665,7 @@ "weekOf": "Semaine du {date}", "sharedMealPlanTitle": "Planning repas de {name}", "batchCookBadge": "Batch cooking", + "batchCooking": "Batch cooking", "pickDishTitle": "Quel plat de \"{recipe}\" ?", "pickDishDescription": "C'est une session de batch cooking — choisissez le plat précis pour ce créneau.", "back": "Retour",