Repository navigation
feat(ui): CPU/MEM gauges, mono only for machine identifiers, Cmd+, everywhere - #239
Merged
Merged
Conversation
…erywhere - Running Applications rows and the collapsed Device summary show CPU and memory as a gauge pill (mini bars) instead of plain text; the expanded Device grid gets thicker bars with percent used for memory/storage. - Monospace is reserved for IPs, host:port, fingerprints, tokens, logs and the terminal; device names, key types, URLs and readable numbers use the UI face (tabular figures). Stray monospace/Menlo use --font-mono. - Cmd+, (Ctrl+, on Windows/Linux) opens Settings from the device page too, regardless of focus: handled on window instead of the container handler, which returned early on the device page. Signed-off-by: sergey-zededa <sergey@zededa.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
CPU / memory gauges
UsagePill); EVE version and uptime stay text.Typography: monospace only for machine identifiers
localhost:port, key fingerprints / raw key lines, API tokens, logs and the terminal; every straymonospace/Menlonow uses--font-mono.--tracking-name) for names; the header name is semibold.VNC: <port>chip use the UI face with tabular figures.Fix: Cmd+, on the device page
Cmd+,(andCtrl+,on Windows/Linux) opens Settings from every view, regardless of focus. It was handled in the container'sonKeyDown, which returned early on the device page and missed keys when focus had dropped to<body>; it now listens onwindow.Test plan
cd frontend && npm test -- --run: 198 passed (new tests forAppUsage, the summary gauges, grid percent captions, and Cmd+/Ctrl+, from the device page with focus on<body>)npm run buildnpm run dev(light and dark)🤖 Generated with Claude Code