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
+7
View File
@@ -362,6 +362,13 @@ const MIGRATIONS = [
ALTER TABLE meals ADD COLUMN recipe_url TEXT;
`,
},
{
version: 7,
description: 'Kategorie pro Zutat für Einkaufslisten-Transfer',
up: `
ALTER TABLE meal_ingredients ADD COLUMN category TEXT NOT NULL DEFAULT 'Sonstiges';
`,
},
];
/**