feat(meals): add optional recipe link to meal cards (#18)

- New optional recipe_url field in the meal modal (below Notes)
- Link icon appears on meal cards when a URL is set, opens in new tab
- DB migration v6: ALTER TABLE meals ADD COLUMN recipe_url TEXT
- API: recipe_url supported in POST /meals and PUT /meals/:id
- i18n: new keys recipeUrlLabel, recipeUrlPlaceholder, openRecipe (de, en, sv, it)
This commit is contained in:
Ulas
2026-04-05 18:03:05 +02:00
parent 2dc8984c3e
commit 3799a7f952
9 changed files with 82 additions and 24 deletions
+4 -1
View File
@@ -234,7 +234,10 @@
"ingredientCount": "{{count}} ingrediens",
"ingredientCountPlural": "{{count}} ingredienser",
"titleRequired": "Titel krävs",
"loadingIndicator": "Laddar…"
"loadingIndicator": "Laddar…",
"recipeUrlLabel": "Receptlänk (valfri)",
"recipeUrlPlaceholder": "https://…",
"openRecipe": "Öppna recept"
},
"calendar": {