fix: fix menu generation errors and show planned meals on home screen
Backend fixes: - migration 003: add 'menu' value to recipe_source enum (was causing SQLSTATE 22P02) - migration 004: rename recipe_products→recipe_ingredients, product_id→ingredient_id (was causing SQLSTATE 42P01) - dish/repository.go: fix INSERT INTO tags using $1/$1 for two columns → $1/$2 (was causing SQLSTATE 42P08) - home/handler.go: replace non-existent saved_recipes table with correct joins (recipes→dishes→dish_translations, user_saved_recipes) so today's plan and recommendations load correctly - reqlog: new slog.Handler wrapper that adds request_id and stack trace to ERROR-level logs - all handlers: slog.Error→slog.ErrorContext so error logs include request context; writeError includes request_id in response body Client: - home_screen.dart: extend home screen to future dates, show planned meals as ghost entries - l10n: add new localisation keys for home screen date navigation and planned meal UI Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -354,8 +354,20 @@ class AppLocalizationsKo extends AppLocalizations {
|
||||
}
|
||||
|
||||
@override
|
||||
String get markAsEaten => '';
|
||||
String get markAsEaten => '먹은 것으로 표시';
|
||||
|
||||
@override
|
||||
String get plannedMealLabel => '';
|
||||
String get plannedMealLabel => '계획됨';
|
||||
|
||||
@override
|
||||
String get generateWeekLabel => '주간 계획하기';
|
||||
|
||||
@override
|
||||
String get generateWeekSubtitle => 'AI가 한 주 동안 아침, 점심, 저녁 식사 메뉴를 만들어 드립니다';
|
||||
|
||||
@override
|
||||
String get generatingMenu => '메뉴 생성 중...';
|
||||
|
||||
@override
|
||||
String get weekPlannedLabel => '주간 계획 완료';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user