Skip to content

docs: add web UI guide and update contributor docs for shipped UI#19

Closed
cursor[bot] wants to merge 3 commits into
mainfrom
cursor/documentation-automation-system-5f79
Closed

docs: add web UI guide and update contributor docs for shipped UI#19
cursor[bot] wants to merge 3 commits into
mainfrom
cursor/documentation-automation-system-5f79

Conversation

@cursor

@cursor cursor Bot commented May 2, 2026

Copy link
Copy Markdown

Summary

Document the three-page browser UI that shipped in PR #17 and clean up a stale planning section in web/README.md.

Why

PR #17 introduced a fully navigable web UI (Overview, Diff, Promote/Rollback pages, React Router, TimelineRefreshContext, typed API helpers) but left no user-facing documentation explaining how to use it. The web/README.md also retained a "PR split (subagent-friendly)" planning section that described future work already merged.

Changes

  • docs/web-ui.md (new) — user-facing reference for the browser UI:
    • How to start the server and open the UI
    • Per-page descriptions: Overview (releases/promoted/actions tables, auto-refresh), Diff (interactive form, metric cards, policy badge), Promote & rollback (confirm dialog, first-promotion note, post-mutation refresh)
    • Authentication tiers for the static UI vs. dev mode
    • Development mode setup (npm run dev + Vite proxy)
    • Common issues table (loading stalls, empty tables, policy blocks, token errors)
  • README.md — add docs/web-ui.md to the documentation index.
  • web/README.md — replace stale "PR split (subagent-friendly)" planning section with an Architecture table reflecting the current web/src/ file structure.

Validation

  • uv sync --frozen --extra dev
  • uv run python -m ruff check src tests
  • uv run python -m pytest
  • uv run python scripts/generate_schemas.py then git diff --exit-code schemas/ (if models/schemas touched)
  • No web/ source changes — static assets unchanged; no rebuild required
  • No Pydantic model changes — no schema regeneration required
  • uv run flightdeck-quickstart-verify
  • uv run flightdeck --help

Schema / Storage Impact

  • None

Risk

Documentation-only. No Python, TypeScript, CSS, or schema files changed.

Notes

Covers codepaths introduced in PR #17: web/src/App.tsx, pages/OverviewPage.tsx, pages/DiffPage.tsx, pages/ActionsPage.tsx, components/AppShell.tsx, context/TimelineRefreshContext.tsx, and api.ts. Knowledge gaps addressed: how to open and use the UI, what each page does, how authentication works for mutations, and how to set up the Vite dev server.

Open in Web View Automation 

cursoragent and others added 3 commits May 2, 2026 02:38
Co-authored-by: Gottam Sai Bharath <Gsbreddy@users.noreply.github.com>
- Add docs/web-ui.md: user-facing reference for the three-page browser UI
  shipped in PR #17 (Overview, Diff, Promote/Rollback). Covers navigation,
  per-page usage, authentication tiers, dev mode, and a common-issues table.
- Add docs/web-ui.md to README.md documentation index.
- Replace stale 'PR split (subagent-friendly)' planning section in web/README.md
  with an Architecture table that reflects the current file structure
  (AppShell, pages/, context/, api.ts, components/).

Co-authored-by: Gottam Sai Bharath <Gsbreddy@users.noreply.github.com>
@Gsbreddy Gsbreddy closed this May 2, 2026
@Gsbreddy Gsbreddy deleted the cursor/documentation-automation-system-5f79 branch May 2, 2026 11:58
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.

3 participants