feat: Zuordnen ohne Freeze und zuerst die letzten Wochen
Katalogsuche und Bestätigen blockieren die UI nicht mehr; offene Namen starten bei den aktuellen Tagebucheinträgen, alter Ballast bleibt unter Alle. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
c1873a47b1
commit
132a364a3a
17 files changed
+745
-163
No files matched your search
@@ -242,6 +242,8 @@ def import_food_knowledge(cur, profile_id: str, data: dict[str, Any]) -> dict[st
|
||||
dates.update(recipe_stats.pop("dates_linked", []) or [])
|
||||
for day in dates:
|
||||
rebuild_daily_nutrients(cur, profile_id, day)
|
||||
from data_layer.food_suggest import invalidate_suggest_index
|
||||
invalidate_suggest_index(profile_id)
|
||||
return {
|
||||
"ok": True,
|
||||
"manual_foods": foods_upserted,
|
||||
|
||||
Reference in new issue
Block a user