feat: add recipes module with CRUD functionality and integrate with meals
- Implemented new recipes page with UI for managing recipes. - Added REST API routes for recipes including create, read, update, and delete operations. - Introduced database schema for recipes and recipe ingredients. - Updated meals to link with recipes, allowing meals to reference specific recipes. - Enhanced validation for recipe-related fields in meals. - Added styles for the recipes page and components.
This commit is contained in:
committed by
Ulas Kalayci
parent
41467a84b6
commit
0b54fe255b
+31
-2
@@ -43,7 +43,8 @@
|
||||
"main": "Hauptnavigation",
|
||||
"navigation": "Navigation",
|
||||
"quickActions": "Schnellaktionen",
|
||||
"more": "Mehr"
|
||||
"more": "Mehr",
|
||||
"recipes": "Recipes"
|
||||
},
|
||||
"search": {
|
||||
"title": "Suche",
|
||||
@@ -256,7 +257,11 @@
|
||||
"loadingIndicator": "Lade…",
|
||||
"recipeUrlLabel": "Rezept-Link (optional)",
|
||||
"recipeUrlPlaceholder": "https://…",
|
||||
"openRecipe": "Rezept öffnen"
|
||||
"openRecipe": "Rezept öffnen",
|
||||
"savedRecipeLabel": "Saved recipe",
|
||||
"savedRecipePlaceholder": "Select recipe",
|
||||
"saveAsRecipe": "Save as recipe",
|
||||
"recipeScaleLabel": "Scale ingredients"
|
||||
},
|
||||
"calendar": {
|
||||
"title": "Kalender",
|
||||
@@ -676,5 +681,29 @@
|
||||
"notificationHint": "Erhalte Benachrichtigungen auch wenn die App geöffnet ist.",
|
||||
"pendingBadgeTitle": "{{count}} fällige Erinnerung",
|
||||
"pendingBadgeTitlePlural": "{{count}} fällige Erinnerungen"
|
||||
},
|
||||
"recipes": {
|
||||
"title": "Recipes",
|
||||
"addRecipe": "Add recipe",
|
||||
"editRecipe": "Edit recipe",
|
||||
"emptyTitle": "No recipes yet",
|
||||
"emptyDescription": "Save your favorite recipes and reuse them in meal planning.",
|
||||
"titleLabel": "Title *",
|
||||
"titlePlaceholder": "e.g. Pasta Carbonara",
|
||||
"notesLabel": "Notes",
|
||||
"notesPlaceholder": "Optional...",
|
||||
"urlLabel": "Recipe link",
|
||||
"urlPlaceholder": "https://...",
|
||||
"ingredientsLabel": "Ingredients",
|
||||
"addToMeals": "Add to meal plan",
|
||||
"openLink": "Open recipe link",
|
||||
"deleteConfirm": "Delete recipe \"{{title}}\"?",
|
||||
"created": "Recipe saved.",
|
||||
"updated": "Recipe updated.",
|
||||
"deleted": "Recipe deleted.",
|
||||
"titleRequired": "Title is required",
|
||||
"duplicate": "Duplicate",
|
||||
"duplicated": "Recipe duplicated.",
|
||||
"copySuffix": "copy"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user