Refactor authentication and account management with modular UI components (#242)

This commit is contained in:
2026-08-23 01:30:58 -04:00
committed by GitHub
parent c514eb9814
commit 1621313daa
109 changed files with 14743 additions and 10792 deletions

View File

@@ -8,6 +8,7 @@ This Storybook is scoped to real app UI only:
- `SubmitButton`
- `FormField`
- `SectionCard`
- `Navbar`
- `Themes` gallery
@@ -34,6 +35,13 @@ Run:
- `npm run build-storybook -- --test`
- `npm run test:storybook:playwright`
### Running with a visible browser
Both layers default to headless. To watch the browser while debugging:
- Playwright layer: `npx playwright test -c playwright.storybook.config.ts --headed`, or `--ui` for the interactive step-through runner.
- Vitest/story `play` layer: `npx vitest run --project storybook --browser.headless=false` (drop `run` and add `--ui` for Vitest's own UI). The default is set in `vite.config.ts`.
## Rules
- Add stories only for reusable app components.