Skip to content

v0.39.0 — interval viewing: heatmap, load-shape, drag-zoom

Choose a tag to compare

@hazptr hazptr released this 14 Jun 02:32
· 12 commits to main since this release

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/interval now returns downsampled) + 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.