2.0: beta feedback — edit dish from shopping list + dish photos in planner

- Shopping list: dishes under "No ingredients yet" now open the dish editor on
  tap (pencil affordance); list reconciles on dismiss. This was a dead end on
  devices without Apple Intelligence (no Generate button, e.g. iPhone 14).
- Planner: dish photo as a scrimmed card background in the week calendar,
  behind a new Settings toggle (settings_show_dish_photos, default on). New
  optional AppSettings.showDishPhotosInPlanner (CloudKit/migration safe).
- FilledSlotView: inlines the meal-card chrome to support the photo layer.
- Toggle localized in all 6 languages.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BkanrydYtrme8wipTzWssG
This commit is contained in:
alexandrev-tibco
2026-07-14 22:06:11 +02:00
parent 9118cc6e86
commit 29cba08678
11 changed files with 83 additions and 6 deletions
@@ -89,6 +89,12 @@ struct SettingsView: View {
))
.tint(.mealMoodCoral)
Toggle("settings_show_dish_photos", isOn: Binding(
get: { settings.showDishPhotosInPlannerResolved },
set: { settings.showDishPhotosInPlannerResolved = $0 }
))
.tint(.mealMoodCoral)
Picker("settings_export_style", selection: Binding(
get: { settings.weekExportStyleEnum },
set: { settings.weekExportStyleEnum = $0 }