feat(web): redesign the Supervisor dashboard on the shared tokens and shell (AGT-4206) - #560
Merged
Conversation
… shell (AGT-4206) The retheme in #558 only swapped the supervisor's palette; the page kept its 38 px header with fourteen controls in one row, 9–11 px type, boxed uppercase labels, and full-bleed columns. This rebuilds the surface on shell.css: a topbar with the shared navigation, SSE badge and theme toggle; a control bar (daemon state, provider segmented control, Stop / Restart, Heartbeat / PR review); a stats strip with tabular numbers; and three columns of card panels with sentence-case titles. The 598-line inline <style> moves to web/static/css/supervisor.css, every script- emitted class keeps its name, and nothing on the page is smaller than 11 px. window.confirm — absent in the Tauri WebView — is gone from the three destructive actions (stop/restart the daemon, kill or cancel a process, move stuck issues to Todo): the button itself becomes the question for six seconds and the second press answers it. The chat box ignores Enter during an IME composition.
A flex item keeps its content width as its minimum, so flex-wrap alone never fired and the 420px layout grew past the viewport. min-width: 0 lets the segmented control shrink; its buttons then wrap.
Merged
unohee
added a commit
that referenced
this pull request
Sep 4, 2026
Supervisor dashboard redesign (AGT-4206, #560). See CHANGELOG.md.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The Supervisor page (
/,src/support/dashboardHtml.ts) rebuilt ontokens.css+shell.css(AGT-4206, follow-up to #558 which only swapped its palette)..topbar(brand · Supervisor · shared nav · SSE badge · theme toggle) / control bar (daemon state badge · provider segmented control · Stop/Restart · Heartbeat/PR review) / stats strip (tabular numbers).web/static/css/supervisor.css(598 inline lines removed; legacy--green/--dim/…names the script emits are aliased there). Script-emitted class names unchanged..overlay/.dialog*classes instead of 30 inline styles;style.displaytoggles in the script keep working.window.confirm(Tauri WebView has none, guideline §3.2): stop/restart daemon, kill/cancel process, and restart-all-stuck arm the button with the question for 6 s; second press acts.▶ Heartbeat,⟳ Running…).Verification
npm run typecheck✓ ·npm run lint✓ (pre-existing warning) ·LC_ALL=C npx vitest run→ 5508 passed / 10 skippeddashboardHtml.test.ts(provider buttons, inline script contract) unchanged and green;tokens.test.tslegacy-page gate updated to accept aliases declared in a linked page stylesheet.