You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Split 'Gewürze & Saucen' into separate categories, skip expiry for Gewürze
- New categories: 'Gewürze' (spices, don't expire) and 'Saucen' (sauces, do expire)
- Migration splits existing items based on name pattern matching
- mapCategory: cornichon/olive/kapern/essig/öl moved to Gewürze (not Saucen)
- Dashboard: exclude 'Gewürze' from expiring-soon list
- Frontend: getExpiryStatus skips warning for Gewürze category
- Updated translations (de/en/es), Scanner dropdown, Inventory emoji map
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
constexpiringSoon=db.prepare("SELECT * FROM items WHERE expiry_date <= ? AND quantity > 0 ORDER BY expiry_date ASC").all(threeDaysLaterStr);
302
+
constexpiringSoon=db.prepare("SELECT * FROM items WHERE expiry_date <= ? AND quantity > 0 AND category != 'Gewürze' ORDER BY expiry_date ASC").all(threeDaysLaterStr);
303
303
constopenedItems=db.prepare("SELECT * FROM items WHERE is_open = 1 AND quantity > 0 ORDER BY opened_at DESC").all();
304
304
consttodaysRecipes=db.prepare("SELECT * FROM planned_recipes WHERE date = ?").all(today).map((r: any)=>({
0 commit comments