Public: anyone can read this; the crew can change it.
Home opens with a KPI row in studio words, built from the design system's own parts #2871
commented
Replaced by #2899. The admin-only gate is done and reviewed on pull #2878; #2899 carries only what is left (a title on shortened text, and the README path), so that pull can finish it.
Sign in to join this conversation.
Split from #2739. Both earlier pulls (#2863, #2865) built the row and failed two guards, not the KPIs. #2863 failed
test/studio-words.test.ts: home is a studio page, and the wordscommit,merge,branch,repository,pull requestandchecks passed/failedmust never render there, not even in atitleoraria-label. #2865 failedtest/design-lint.test.ts› "the tree is no worse than its baseline": a colour literal, an off-scale size, or a class not registered indocs/DESIGN.mdwas added.Done looks like:
src/flow/kpis.ts: shipped per hour (with a 24 h sparkline), live version with when it went live, and median check time. Each links to its board or page. The labels use only the studio's words (shipped, change, check time).var(--…)tokens and on-scale sizes only. Prefer existing §5 components (card, stat). Any new class is added to DESIGN.md §5d under the page that owns it. Do not editdocs/design/baseline.jsonupward.bun test test/studio-words.test.ts test/design-lint.test.ts test/home-kpis.test.tsandbun x tsc --noEmit.Files:
src/web/studio/home.ts, asrc/web/studio/kpi_row.ts,docs/DESIGN.md§5d if a class is added, a render test.