Skip to content

feat(ui): Queen 2.7.1's console design - #79

Merged
alice-viola merged 1 commit into
masterfrom
feat/console-look
Nov 5, 2026
Merged

alice-viola merged 1 commit into
masterfrom
feat/console-look

Conversation

@alice-viola

Copy link
Copy Markdown
Contributor

Summary

Gate's console takes the design of Queen 2.7.1's new console, as Traceflow did (smartpricing/traceflow#113), so the consoles look the same again.

Looks

  • Themes Dark, Soft, Light and System; areas told apart by Tone (filled areas, no lines, the default) or by Lines (hairlines between areas). The band's theme button switches both, on the console and on the sign-in page.
  • A first visit is Soft with Tone, as in Queen. Only an explicit Light from the old gate-theme key carries over; the choice is kept under gate-look.
  • IBM Plex Sans and Mono replace Inter and JetBrains Mono, served with the console (no font from elsewhere).

Shared stylesheet

  • ui/src/console.css is a copy of Queen's app/src/console/console.css, written by npm run sync:console; ui/src/console.test.js fails when the copy is edited by hand. npm run sync:console -- --check matches Queen's master.
  • It sits in its own CSS layer under Gate's components, so its resets never beat a part of a page.
  • style.css points Gate's tokens (--surface, --text-2, --border, --good, --series-*, …) at the console's, per theme and per kind of areas, and draws cards, buttons, inputs, chips, switches, the editor and the wizard in both looks. rounded-md and rounded-lg follow the console's radii.
  • The old shared shell (ui/src/shell.css, npm run sync:shell) is removed.

Frame

  • ConsoleShell.vue replaces Sidebar.vue and Header.vue: Queen's 64 px icon rail (Overview; Targets, Graphs, Shared budgets; Traces; the account) and one band (where you are, a Queen chip with the broker's status, the AI agent, Refresh now, the theme, the shortcuts).
  • The Overview icon carries Queen's mark: red when the broker is down, amber when a budget is an assumption or stale; its tooltip says which. A banner says when the broker cannot be reached.
  • Shortcuts: G then a letter opens a section (O, T, G, B, R), R refreshes, ? lists them.
  • The account menu keeps the role or the read-only note, and Sign out for a Google session only.
  • LookChip.vue, QcPopover.vue and QcSeg.vue are Queen's; ThemeMenu.vue, UserMenu.vue and lib/sidebar.js are removed.

Colour

  • Colour means a message, as in Queen: amber for what will not fix itself, red for failing. Healthy is grey, never green. Status marks are Queen's (amber square, red diamond).
  • Yellow is the logo's only: the spatial dashboard's tiles and packets, a picked node and the Overview's flow chart move to the console's greys and ink.
  • Charts draw white first, then blue, aqua, violet and magenta.

Test plan

  • npm test in ui/: 25 pass, 0 fail
  • npm run build in ui/
  • cargo test -p gate-server --lib: 109 pass
  • npm run sync:console -- --check: matches Queen's master
  • Browser (vite dev against a local Gate with seven graphs and live traffic): Overview, Targets, graph detail, Shared budgets, Traces, New graph and New target in Soft/Tone, Light/Lines and Dark/Lines; no console errors

🤖 Generated with Claude Code

Gate's console takes the design of Queen's new console, as Traceflow did:
the same stylesheet (ui/src/console.css, a copy of Queen's
app/src/console/console.css kept by `npm run sync:console` and checked by
a test), the same frame (a 64 px icon rail and one band) and the same
looks. The band's theme button picks the theme (dark, soft, light or the
system's) and how areas are told apart: by tone (filled, no lines, the
default) or by lines. IBM Plex replaces Inter and JetBrains Mono.

Gate's token names now point at the console's, so every page and utility
follows the look. Colour means a message as in Queen: amber for
attention, red for failing, healthy in grey; yellow is the logo's only.
The spatial dashboard's surfaces are the console's greys, and charts are
white first, then blue, aqua, violet and magenta.

The old shared shell (ui/src/shell.css, `npm run sync:shell`) is gone:
the rail and the band replace the sidebar and the top bar.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@alice-viola
alice-viola merged commit 1b7b17e into master Nov 5, 2026
2 checks passed
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