Some checks are pending
CI / Lint, Typecheck, Test, Build (push) Waiting to run
Pro-Tag-Mehrbedarf statt fester Tageswerte: - DB: Spalte extraCalories in weekly_calorie_plans (Migration 0018). - API: neuer Endpoint setWeeklyExtras nimmt die ganze Woche entgegen und verteilt eingeplante Mehrkalorien serverseitig. Reine, getestete Verteilungslogik distributeWeeklyExtras haelt das Wochenziel konstant (Tage mit Blocker = Tagesziel + Extra; uebrige Tage anteilig reduziert, Floor 1200). statsSummary liefert extraCalories pro Tag mit. - 3 neue API-Tests (Verteilung konstant, Floor, Endpoint). - Wochenbudget-UI: je Tag ein "+kcal"- und ein "Anlass"-Feld plus ein einziger "kcal neu verteilen"-Button. Blocker-Tage werden hervorgehoben. Das fehleranfaellige Einzel-Datumsformular entfaellt. - Dashboard nimmt den verteilten Plan-Wert des Tages als Basis-Tagesziel (z. B. 1.740 nach Ausgleich, 2.800 an einem Blocker-Tag) und zeigt einen Hinweis. Behebt zugleich den Sync: Wochenbudget-Aenderungen invalidieren jetzt alle statsSummary-Varianten, sodass das Dashboard sofort mitzieht. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
139 lines
No EOL
2.8 KiB
JSON
139 lines
No EOL
2.8 KiB
JSON
{
|
|
"version": "7",
|
|
"dialect": "postgresql",
|
|
"entries": [
|
|
{
|
|
"idx": 0,
|
|
"version": "7",
|
|
"when": 1771772757636,
|
|
"tag": "0000_wealthy_korg",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 1,
|
|
"version": "7",
|
|
"when": 1771772791593,
|
|
"tag": "0001_salty_shape",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 2,
|
|
"version": "7",
|
|
"when": 1771774457348,
|
|
"tag": "0002_silent_puppet_master",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 3,
|
|
"version": "7",
|
|
"when": 1771775026256,
|
|
"tag": "0003_empty_the_spike",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 4,
|
|
"version": "7",
|
|
"when": 1771778585543,
|
|
"tag": "0004_motionless_vulcan",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 5,
|
|
"version": "7",
|
|
"when": 1771891993591,
|
|
"tag": "0005_green_jocasta",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 6,
|
|
"version": "7",
|
|
"when": 1771893805802,
|
|
"tag": "0006_reflective_fenris",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 7,
|
|
"version": "7",
|
|
"when": 1771894309808,
|
|
"tag": "0007_organic_makkari",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 8,
|
|
"version": "7",
|
|
"when": 1771896004679,
|
|
"tag": "0008_stiff_sebastian_shaw",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 9,
|
|
"version": "7",
|
|
"when": 1779701810492,
|
|
"tag": "0009_aspiring_power_pack",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 10,
|
|
"version": "7",
|
|
"when": 1779740292110,
|
|
"tag": "0010_polite_caretaker",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 11,
|
|
"version": "7",
|
|
"when": 1779740445231,
|
|
"tag": "0011_lame_robin_chapel",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 12,
|
|
"version": "7",
|
|
"when": 1779779877136,
|
|
"tag": "0012_right_yellowjacket",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 13,
|
|
"version": "7",
|
|
"when": 1779782400000,
|
|
"tag": "0013_club_api_bridge",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 14,
|
|
"version": "7",
|
|
"when": 1779868800000,
|
|
"tag": "0014_store_preferences_meal_plan_calories",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 15,
|
|
"version": "7",
|
|
"when": 1779955200000,
|
|
"tag": "0015_recipe_submissions",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 16,
|
|
"version": "7",
|
|
"when": 1779958800000,
|
|
"tag": "0016_recipe_preferences",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 17,
|
|
"version": "7",
|
|
"when": 1779962400000,
|
|
"tag": "0017_store_change_requests",
|
|
"breakpoints": true
|
|
},
|
|
{
|
|
"idx": 18,
|
|
"version": "7",
|
|
"when": 1780046007288,
|
|
"tag": "0018_outgoing_betty_ross",
|
|
"breakpoints": true
|
|
}
|
|
]
|
|
} |