M18-2: Web app bootstrap (Vite + React 19 + TanStack + Base UI + Tailwind 4) #163
Labels
No labels
area:agents
area:dashboard
area:database
area:design
area:design-review
area:flows
area:infra
area:meta
area:security
area:sessions
area:webhook
area:workdir
security
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/claude-hooks#163
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
As an operator, I want
apps/webstanding up on the t3code stack (React 19 + TanStack Router/Query + Base UI + Tailwind 4 + Vite), so that subsequent UI stories have a real frontend to build against.Acceptance criteria
Stack
apps/web/ships with:@tailwindcss/vite)@base-ui-components/react)src/routes/)tailwind-merge@/*→src/*,@shared/*→../../packages/shared/src/*design/tokens.json(Tokyo Night Storm) land inapps/web/src/styles/tokens.cssas CSS variables; no palette divergence from the current dashboardDev loop
cd apps/web && bun run devstarts Vite on port5173with a proxy tohttp://localhost:4500for/task,/queue,/history,/events,/stats,/agents,/usage,/storage,/breakdownjust devruns both apps together via Turbo; both hot-reload independentlyapps/webhas its ownbun run build→dist/static assetsProduction serving
apps/servergains a static-file route: in production, it servesapps/web/dist/at/app/*(e.g./app/monitor,/app/planner). Legacy/keeps servingsrc/dashboard.htmluntil #M18-9just qaruns typecheck + lint for both apps (pick Biome or Oxlint for web — document choice; don't ship a third linter)Tests
apps/web; one smoke test per route renders without crashingOut of scope
/) suffices hereDependencies
References
specs/m18-ui-rewrite-and-architect.md§Story M18-2