90294df4c6aa096193abce6d504e71de1779f60a
New Money tab beside Trends, fed by the portal's /admin/money-series (hourly-cached server-side). One fetch at full range; period (30/90/all) and spend-mode (cumulative/daily) toggles re-render client-side. - Cumulative mode: three lines — Revenue (OC contributions, green), Token spend (blue), OC balance (amber). NULL balance days render as a gap (the OC API exposes only the CURRENT balance; history accrues from daily snapshots from the deploy date onward — stated in the caption and in the balance legend key). - Daily mode: token spend per day as bars (spend-only; the other series are cumulative and would need a second axis). - Money ticks use the 1/2/5 x 10^k rule; tooltips reuse the shared chart-tip helper (all three series listed per day). - The caption is a deliberate exception to the no-caption chart rule: the operator asked for the honest data-history limits in the UI. - Harness: tests/money-chart-harness.js (axis invariants, gap handling, daily bars, period slice, single-point balance).
Languages
Python
57.8%
JavaScript
37.8%
Shell
4.2%
Dockerfile
0.2%