Commit Graph
16 Commits
Author SHA1 Message Date
aiongg 58ba4da5fa Dashboard: Progress, Backlog and Cost instead of run wording 2026-11-02 18:50:40 +00:00
aiongg 06ca8cfca2 Merge branch 'dash-admin' 2026-11-02 18:32:11 +00:00
aiongg dae8777c88 Merge main into dash-admin; remove the server-rendered pages, dash export and v1 route handling 2026-11-02 18:31:51 +00:00
aiongg dae4689ef7 docs: how the triage pipeline works 2026-11-02 18:30:39 +00:00
aiongg 6c7183f79e Contributors, Repos and Access as React views over JSON endpoints; drop their v1 pages 2026-11-02 18:24:10 +00:00
aiongg f53d62aec2 Merge branch 'dash-images'
# Conflicts:
#	docs/dashboard-spec.md
2026-11-02 18:21:05 +00:00
aiongg aa7972e9c8 Dashboard: Classifiers and Run and cost as React pages with JSON endpoints
Per run and classifier pair: agreement per label, repo and kind, confusion
table, confidence bands, flag agreement and a filterable disagreement list.
Cost: calls, items, tokens, USD and wall time per stage, model and repo, with
spend over time. The v1 server-rendered pages are removed.
2026-11-02 18:20:18 +00:00
aiongg 49bd00544d Image proxy: GET /img serves GitHub-hosted images from bodies and comments; the Markdown renderer shows them inline 2026-11-02 18:20:13 +00:00
aiongg 29de659517 Decisions: CLI output marks non-actionable answers and drops answer notes; re-check the answer before storing an opinion; cap minAge 2026-11-02 18:12:50 +00:00
aiongg b7b2aaaab6 Serve the React frontend over the JSON API; operator, maintainer and viewer roles
- web/: an HTTP client for the Api interface (CSRF from the X-CSRF-Token
  response header, errors carry the server's text, 401 goes to sign-in);
  the mock API and its view-as menu only in VITE_MOCK=1 builds; the clock
  is real time outside the mock; nav links to the server-rendered pages.
- Server: serves web/dist (CRAFT_AUTO_WEB_DIST) behind sign-in, hashed
  assets cached a year, index.html uncached for every client route, a 503
  page when the build is missing; a strict CSP for the app with the hash
  of the Radix scroll-lock style.
- The v1 Decisions, Item and Progress pages are gone; Contributors,
  Classifiers, Run and cost, Repos and Access stay at their paths.
- Access roles operator, maintainer and viewer; rows with role admin
  become operator on connect.
- v1 form POSTs and sign-out refuse a foreign Origin or Sec-Fetch-Site.
2026-11-02 18:11:09 +00:00
aiongg 59187e81b6 Triage UI: comments instead of opinions, refs link to GitHub 2026-11-02 17:51:40 +00:00
aiongg fa416003d0 Decisions lead with the item; opinions replace proposals
Each decision shows the AI summary and the issue or PR body (sanitised
GitHub-flavoured Markdown, clamped with Show all) before facts and the
question, and list rows show the summary's first sentence. Anyone signed in
gives non-binding opinions with a GitHub permission badge and a per-option
tally; the operator answers or adopts one. Spec trust boundary and
permissions updated to match.
2026-11-02 16:51:46 +00:00
aiongg 65d2cee4db Dashboard frontend: developer-tool visual layer with ArtCraft brand cues
Inter for UI text, mono only for refs, paths and diff stats; compact list
rows, key-value facts, sortable tables and 28-32 px controls; ArtCraft logo,
surfaces and accent. Drops the display type, mono caps labels and
registration marks. Read-only reason shows for maintainers when proposals
are off.
2026-11-02 16:24:57 +00:00
aiongg cef94422c0 Dashboard frontend design: ui-design doc and web/ mockup
Design language from ArtCraft's brutalist system, a module/panel registry
shell with per-user resizable layouts, a typed API with a fixture-backed
mock, and the Decisions inbox (operator, maintainer and viewer states),
Item and Progress screens.
2026-11-02 15:34:02 +00:00
aiongg 726a6d35f8 Dashboard spec: accounts and access 2026-11-02 14:36:17 +00:00
aiongg 6a4b30d48d Dashboard specification 2026-11-02 14:36:17 +00:00