You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Storybook is where a surface's states become simultaneously visible, and most of ours are not in it: 27 files with stories against 189 product .tsx.
Depth is not the problem — 195 story variants across those 27 files, with settings-pages at 42, module-hubs 29, app-shell 24, session-workbar 23. The gap is breadth.
Three findings already report the same shape from different angles:
The states that never appear in normal use are the ones that never get tuned: empty, failed, loading, offline, unauthorised, very long text, very many rows.
Desired outcome
Not a repo-wide sweep. Take the surfaces #3893 already names and add stories for each one's failure and edge states, so both this gate and the a11y audit have something to run against. One surface per PR.
Open question for the thread: whether "a new surface enumerates its failure states" joins the review baseline, or stays a per-surface judgement. Better decided after the first few land.
AI use: Claude Code assisted with source and issue investigation; the analysis and conclusions are my own.
Problem
Storybook is where a surface's states become simultaneously visible, and most of ours are not in it: 27 files with stories against 189 product
.tsx.Depth is not the problem — 195 story variants across those 27 files, with
settings-pagesat 42,module-hubs29,app-shell24,session-workbar23. The gap is breadth.Three findings already report the same shape from different angles:
e2e/sidebar-geometry.spec.tsas the guarantee for the sidenav's definite height; that file does not exist.The states that never appear in normal use are the ones that never get tuned: empty, failed, loading, offline, unauthorised, very long text, very many rows.
Desired outcome
Not a repo-wide sweep. Take the surfaces #3893 already names and add stories for each one's failure and edge states, so both this gate and the a11y audit have something to run against. One surface per PR.
Open question for the thread: whether "a new surface enumerates its failure states" joins the review baseline, or stays a per-surface judgement. Better decided after the first few land.
AI use: Claude Code assisted with source and issue investigation; the analysis and conclusions are my own.