4 months ago
cb4771ethe three home cards contradicted themselves: a card read "0" over a spiking sparkline (number and series computed over different windows), series bucketed by clock-hour so "now" was never the right edge, and a zero delta rendered red ▼0. - sentToReview: current queue depth + a 24h queue-DEPTH series whose last point IS the number (depth(t) = items created ≤ t and not decided by t). - blocked / passed: 24h verdict flow, series over the same window. - series bucket by hours-ago (index 23 = now), on home AND /rules. - retire dead cards (automod · 24h, banned); ship 3, no vanity fourth. - sent-to-review is the actionable card: first, ringed, scrolls to queue. - delta colour is explicit per metric (goodDirection up|down|neutral); blocked is neutral grey, zero delta omitted. invertDelta prop retired. - all-zero window renders "not enough data", never a faked flat line. - /analytics drill-down (moderationMetrics + activity) moved in sync. - lock the queue-depth invariant with a getHomeStats integration test. dither chart primitives untouched. checks: typecheck, biome, boundaries, 206 tests.
Parent8884568