tech-debt: Retire Storybook and the old component gallery
Back to our planProblem
Once every component is in the native showcase, Storybook and /dev/gallery are a second and third copy to keep up.
Proposed fix
Remove .storybook/, the story files, the Storybook packages and scripts, ops/build-showcase.sh and its test, the Storybook-only parts of the developer-site checks, and src/app/(frontend)/dev/gallery/. Update the notes and docs that mention them (the theme note's showcase fonts, ops/developer-site.md, the component set).
Existing work compared
Searched open and closed issues on 2026-11-26 (showcase, Storybook, gallery, toggle, switch, developer site, examples, theme readiness, usage, side navigation). Part of epic #1528, which replaces #1424 (owner decision 2026-11-26, recorded there). No other issue covers this step.
Acceptance criteria
- Not done: No Storybook package, file or script remains; the build and deploy pass without them
- Not done:
/dev/galleryis gone and nothing links to it - Not done: Every doc that mentioned either now points to the showcase
Files likely touched
.storybook/, src/platform/ui/, package.json, package-lock.json, ops/, src/app/(frontend)/dev/gallery/, src/platform/theme/README.md, docs/, .github/workflows/
Must not touch
src/modules/, src/payload.config.ts
Open questions
None.
Area
tooling, dependencies
Priority
priority: low
Generated by Claude Code, opens in a new tab