Repository navigation
v0.39.0 — interval viewing: heatmap, load-shape, drag-zoom
Granular 15-min interval viewing & analysis (#77, #141). UI/display-only — no schema change; /api/verify unaffected (50/50 green on staging real data).
#77 — interval load-shape charts
- Day × hour usage heatmap (
Usage by day & hour) + peak-demand readout. - Weekday/Weekend/Combined + 1h/15m toggles on the average-daily-load-shape widget.
- Server-side aggregation over raw rows (new
/api/interval/heatmap+/api/interval/profile) — fixes hour-of-day fidelity that the ≤600-pt history downsampling destroyed (no more spurious "no data" heatmap cells; correct peak at any range). Verified on 2.2 yr of real data: full-range heatmap = 168 cells, 0 null.
#141 — interactive zoom on Usage history
- Drag-to-select zoom (drag a box → zoom that span, refetch finer detail; Reset zoom to return).
- Zoom-max indicators: persistent "Max zoom · finest detail" badge (
/api/intervalnow returnsdownsampled) + transient "Max zoom reached" hint at the floor.
Verified: Docker test 824/824, builder (tsc+ESLint+build) green, CI 5/5 gates, staging real-data checks green.