feat: per-ingredient category selection for shopping list transfer (closes #33)

When adding ingredients in the meal editor, each ingredient now has a
category dropdown. Categories are stored on the ingredient and applied
automatically when transferring to the shopping list, so items appear
pre-grouped by category without manual re-sorting.
This commit is contained in:
Ulas
2026-04-15 07:11:49 +02:00
parent d6d2c41bfa
commit d16919ef7c
20 changed files with 97 additions and 32 deletions
+3 -1
View File
@@ -226,6 +226,8 @@
"addIngredient": "Tillsätt ingrediens",
"ingredientNamePlaceholder": "Ingrediens",
"ingredientQtyPlaceholder": "Kvantitet",
"ingredientCategoryLabel": "Kategori",
"ingredientCategoryDefault": "Övrigt",
"removeIngredient": "Ta bort ingrediensen",
"transferLabel": "Överför ingredienserna till inköpslistan",
"transferNow": "Överför nu",
@@ -596,4 +598,4 @@
"unitMonth": "månad",
"unitMonths": "månader"
}
}
}