Skip to content

docs: update specs for react migration#379

Open
Scr4tch587 wants to merge 1 commit into
kai/react-pages-deployfrom
kai/react-spec
Open

docs: update specs for react migration#379
Scr4tch587 wants to merge 1 commit into
kai/react-pages-deployfrom
kai/react-spec

Conversation

@Scr4tch587

Copy link
Copy Markdown
Collaborator

What changed

  • SPEC-frontend.md: rewritten for the React stack — React 19 + TS + Vite + Tailwind v4 + shadcn/ui under bun, new file structure, TanStack Query data layer, the API-key dialog/localStorage auth flow (with the XSS caveat noted), and the GitHub Pages deployment section with its two manual setup steps. Also removes the stale claim that the frontend is built into Docker and served by nginx — nothing in `infra/` serves the frontend; Caddy only proxies the API. Ends with a "Planned" note for the create-dataset UI (blocked on the backend trust-model decision)
  • SPEC-backend.md: new "CORS" section documenting `CORS_ALLOW_ORIGINS`, the default origins, middleware ordering (preflights short-circuit before auth), and that auth semantics are unchanged. The auth "Clients" paragraph no longer says the browser sends no key — it now prompts for one

Why

AGENTS.md requires spec files to track code changes; this is the final PR of the React migration stack (#374#378).

🤖 Generated with Claude Code

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown

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