|
Some checks failed
plugin-tests / test (push) Failing after 5s
Backend AdwrightCore.list_cycles preserves proto snake_case via MessageToDict(preserving_proto_field_name=True), so cycle JSON carries `budget_total` (decimal string like "200.00"), not `budget`. Frontend read c.budget which was always undefined → fell back to 0 in both the Cycles row meta and the Overview spend bar (which then defaulted to $6,000 budget per the `|| 6000` floor in _deriveKpis). Added _cycleBudget + _cycleSpend helpers that parseFloat the decimal strings, with c.budget fallback so any future renamed field still works. Spend stays 0 until GetCycleMetrics is wired in — it doesn't live in ListCycles. Verified live: Cycles row now shows $0 / $200 (was $0 / $0). Overview spend now shows $0 / $200 (was $0 / $6,000). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| adwright | ||
| bte | ||
| fonts | ||
| adwright.css | ||
| adwright.js | ||
| app.css | ||
| app.js | ||
| bte.css | ||
| bte.js | ||
| svrnty_nav.js | ||
| umbrella.css | ||
| umbrella.html | ||
| umbrella.js | ||