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": "添加食材",
"ingredientNamePlaceholder": "食材",
"ingredientQtyPlaceholder": "数量",
"ingredientCategoryLabel": "分类",
"ingredientCategoryDefault": "其他",
"removeIngredient": "移除食材",
"transferLabel": "将食材添加到购物清单",
"transferNow": "立即添加",
@@ -596,4 +598,4 @@
"unitMonth": "个月",
"unitMonths": "个月"
}
}
}