Repository navigation
feat(ui): Queen 2.7.1's console design - #79
Merged
Merged
Conversation
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>
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.
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
gate-themekey carries over; the choice is kept undergate-look.Shared stylesheet
ui/src/console.cssis a copy of Queen'sapp/src/console/console.css, written bynpm run sync:console;ui/src/console.test.jsfails when the copy is edited by hand.npm run sync:console -- --checkmatches Queen's master.style.csspoints 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-mdandrounded-lgfollow the console's radii.ui/src/shell.css,npm run sync:shell) is removed.Frame
ConsoleShell.vuereplacesSidebar.vueandHeader.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).LookChip.vue,QcPopover.vueandQcSeg.vueare Queen's;ThemeMenu.vue,UserMenu.vueandlib/sidebar.jsare removed.Colour
Test plan
npm testinui/: 25 pass, 0 failnpm run buildinui/cargo test -p gate-server --lib: 109 passnpm run sync:console -- --check: matches Queen's mastervite devagainst 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