Skip to content

Land the Storybook setup for real (+ root scripts)#58

Merged
thisiscsim merged 1 commit into
mainfrom
chore/storybook-root-script
Jul 20, 2026
Merged

Land the Storybook setup for real (+ root scripts)#58
thisiscsim merged 1 commit into
mainfrom
chore/storybook-root-script

Conversation

@thisiscsim

Copy link
Copy Markdown
Owner

Summary

PR #40 merged with only the README section — the actual Storybook config, stories, dependencies and scripts never made it to main (hence "Missing script: storybook"). This PR lands the full setup, verified from a clean npm ci:

  • Storybook 10 react-vite in the app workspace (a11y + docs addons only), stories scoped to src/renderer
  • Preview imports the real stylesheets; Light/Dark toolbar drives data-theme
  • Stories: Button variants, IconButton, Badge, Field/Input/TextArea/Select, Modal example, 42-icon type-checked gallery
  • Root package.json gains storybook / build-storybook delegation — npm run storybook now works from the repo root

Test plan

  • Clean npm cibuild-storybook passes; typecheck; 126/126 tests; app build (all against the latest refactors on main)

Made with Cursor

… scripts)

PR #40 only carried the README section — the config, stories, deps and
scripts were left uncommitted. This lands the real thing:
- Storybook 10 react-vite in the app workspace (a11y + docs addons only),
  stories scoped to src/renderer
- preview imports the real stylesheets and drives data-theme via a
  Light/Dark toolbar toggle
- Stories: Button variants, IconButton, Badge, Field/Input/TextArea/
  Select, Modal example, 42-icon gallery (type-checked names)
- Root package.json gains storybook / build-storybook delegation so
  `npm run storybook` works from the repo root

Co-authored-by: Cursor <cursoragent@cursor.com>
@thisiscsim
thisiscsim merged commit c63e262 into main Jul 20, 2026
@thisiscsim
thisiscsim deleted the chore/storybook-root-script branch July 20, 2026 02:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant