Right now the only way to review UI changes is reading the diff. We should deploy the web UI on every PR so reviewers get a live preview link, same way fastapi does it for their docs.
Plan:
- add
output: "export" to apps/web-ui/next.config.ts (the app is fully client side, no server features, so static export just works)
- new GitHub Actions workflow that builds the UI and deploys with wrangler
- PRs get a preview URL commented on the PR
- pushes to main deploy production
- API base URL goes in as an env var so previews can point at a staging backend later when the fastify backend lands
Needs from whoever picks this up: a free Cloudflare account with a Pages project, plus two repo secrets (CLOUDFLARE_API_TOKEN, CLOUDFLARE_ACCOUNT_ID).
Scope: UI only. Backend preview environments are out of scope until the backend actually exists.
Right now the only way to review UI changes is reading the diff. We should deploy the web UI on every PR so reviewers get a live preview link, same way fastapi does it for their docs.
Plan:
output: "export"toapps/web-ui/next.config.ts(the app is fully client side, no server features, so static export just works)Needs from whoever picks this up: a free Cloudflare account with a Pages project, plus two repo secrets (
CLOUDFLARE_API_TOKEN,CLOUDFLARE_ACCOUNT_ID).Scope: UI only. Backend preview environments are out of scope until the backend actually exists.