Phase 0 baselines
Re-capture these after meaningful UI changes; compare to this checkpoint.
How to record
Section titled “How to record”From repo root:
cd uinpm cinpm run buildnpm run sizePlaywright (when backend available):
cd uinpx playwright test --grep @a11yStorybook:
cd uinpm run build-storybook# a11y addon runs in dev: npm run storybookSize limits (package.json size-limit)
Section titled “Size limits (package.json size-limit)”| Budget | Path pattern | Limit |
|---|---|---|
| shell + home | dist/assets/index-*.js | 850 kB gzip |
| studio chunk | dist/assets/StudioWorkspaceView-*.js | 120 kB |
| studio mobile | dist/assets/StudioMobileView-*.js | 5 kB |
Import boundary baseline
Section titled “Import boundary baseline”Run:
cd ui`npm run lint:import-boundary` (uses `@alexbayerl/djed-dev-tools` import-boundary-scan)Target after Phase D2: zero violations outside the allowed primitive re-export seam.
Automated a11y
Section titled “Automated a11y”- Playwright:
@axe-core/playwrighton primary routes (seetests/e2eor playwright config). - Storybook:
@storybook/addon-a11y(axe-based).
Not sufficient alone for B2+C, E3, F5: manual keyboard-only smoke + one screen-reader pass per the refresh plan.