Repository navigation
Desktop: measured polish pass, new frame, card system, motion, onboarding - #1459
Merged
Merged
Conversation
Darken the light palette's --mut, --mut2, --ok and --warn, route accent text through the existing --accent-text token, and replace the quota track's hard-coded rgba with --bar. Dark theme values are unchanged.
P2-7 one useEscape hook replaces five per-component keydown copies; the
dropdown listbox and both calendar popovers now close from anywhere.
P2-10 formatCount() gives every count site the right noun form.
P2-11 the Sessions group header uses the CLI's provider display name.
P2-14 Plans (8) now sits above Compare periods (9).
P3-5 the footer refresh mark moves after the label, so it never shifts.
P3-6 one navigate hint on every screen, Settings included.
P3-7 real ellipsis in six loading and progress strings.
P3-8 six prose em dashes rewritten as plain sentences.
P3-9 sentence case in the Settings rail, two notes and two placeholders.
P3-10 counts share one thousands separator.
Inline the Lucide paths the app needs in renderer/components/icons.tsx and use them everywhere: 24 grid, stroke 1.75, currentColor, one size per context. Replaces the unicode stand-ins (close, chevrons, swap, external link, impact arrows) and the hand-drawn glyphs whose metaphor was wrong.
Every screen now uses the same header component: the ‹ › history buttons render on Plans, Settings and Plugins too (disabled there), the title is an h1 on the subhead rung, and .bar has a fixed 52px box. Plugins loses its own 24px h1. Font sizes collapse from 18 distinct values onto the eight declared --fs-* rungs; nothing renders below the 9.5px floor any more. One size per role: card/section titles 13/600, list-row primaries 12.5/550, table cells 11.5, table headers 10.5. KPI numbers land on two rungs, tile 24/650 and inline card 17/650. Compare-periods tiles rejoin the card system (10px radius, 16px padding, --line border), and padding, gaps and table cell padding move onto the 4/8/12/16/20/24/32 scale. The Settings control column ends flush right on every row.
Optimize rows sized their token column to a fixed 92px track, so every right meta was sliced mid-word; the track is now auto. Spend axis appended the last day off-stride, printing it on top of the previous tick at 960; the stride now counts back from the last day. The top bar wrapped to a second row below 1200. It stays on one row: the scope caption (a restatement of the period pills and provider picker next to it) is dropped and the two pickers shrink. The 26-week heatmap never fit a third of the hero card. It takes the full card row instead, and month labels get a three-track slot. The Sessions group count sat in the 48px turns track and wrapped to an orphan line; it spans the models and turns tracks. The models column was pinned at 144px while the row had spare width; it now flexes. The session drawer left a 293px hard-sliced list at 960; below 1100 it overlays full width, clear of the traffic lights. Category head-to-head rendered a legend over a blank panel when no category was comparable; it uses the shared empty note. The hero range label wrapped mid-parenthesis at 960, the Spend legend wrapped one orphan swatch, the Sankey painted its labels at 8.97px at 960, and the Compare picker truncated its own label by 3px. Bordered pane children are content-box, so width 100% bled 1px past each side and the pane reported a phantom horizontal overflow at every width.
# Conflicts: # app/renderer/styles/plain.css
# Conflicts: # app/renderer/components/TopBar.tsx # app/renderer/sections/Plugins.tsx # app/renderer/styles/plain.css
# Conflicts: # app/renderer/styles/plain.css
# Conflicts: # app/renderer/App.tsx # app/renderer/components/Dropdown.tsx # app/renderer/components/Sidebar.tsx # app/renderer/sections/PluginDetails.tsx # app/renderer/sections/Plugins.tsx # app/renderer/sections/Settings.tsx
The 26-week grid was wider than the hero slot, so 55% of it at 960 sat behind an in-card scroller, and the month labels — each spanning three 11px columns — overlapped, pushing the first onto a second line. The card keeps its layout, its place beside the hero and Efficiency, and its 11px cells on a 3px gutter. It now draws only the week columns the slot holds (ResizeObserver, floor((width + gap) / (cell + gap)), capped at 26), anchored on the current week, so nothing scrolls and the newest days are always shown. Month labels sit on one explicit row anchored to their month's first week column; a label closer than three columns to the next is dropped, which in practice only ever drops the leading partial month.
.bar .t sat at --fs-subhead, the same 13px as every card title, so the screen name and the cards under it read as one level. --fs-title: 15px restores the step; nothing else uses the rung.
At 900 and 960 the provider picker read "All provid…" and the config picker "All Claude config…". Below 1100 the period pills, the bar gap, its padding and the picker triggers give their slack back, and the pickers take fit-content as their floor so neither can be squeezed into an ellipsis. The bar no longer wraps at any width: the title holds one line and the scope caption is the one thing that truncates, so the config picker cannot drop to a second row on Compare periods at 1200.
--fg is declared nowhere, so every colour that named it fell back to inherit. Four rules did: the bar-nav buttons, the drill chip's close hover, the session drawer and its close button. The ink token is --ink.
The same fact is already in the routing note under the chart, and the caption was the only thing in that header slot. topModel still feeds the note, so only the element goes.
…ion group The map was keyed by brand name, so 'kimicode' — the id the CLI actually reports for Kimi Code — missed 'kimi' and fell back to a mono 'K'. Checked every id in src/providers against the map: 'kimicode' and 'cline-cli' are flavours of an id that already ships artwork and now alias to it; Codebuff, DeepSeek Harness, LingTai TUI, OMP, Open Design, OpenClaude and Quick Desktop have no artwork at all and keep the initial. The Sessions group header showed the provider as bare text where the filter chips and the picker both show a logo; it now carries the same mark.
The single-row fix tightened .seg span for every width; the pills only need the slack on a narrow window. Above 1100 they go back to main's 9px.
…thing The card only treated an empty category list as empty. The live case is a category both models touched where only one has a one-shot rate: its bar draws against an empty track under a two-model legend, which reads as a broken chart. A category counts as a head-to-head only when both sides have turns and both have a rate; when none does, the card shows the same empty note as its siblings.
Every ad hoc transition and keyframe driver in the app now reads --ease-out/--ease-in-out and --dur-fast/--dur-base/--dur-slow instead of declaring its own curve and millisecond. The three scattered prefers-reduced-motion blocks collapse into one blanket escape hatch.
The rise itself is unchanged (opacity plus 4px translateY, --dur-base --ease-out). It rides the keyed remount in App, so a poll or a refresh re-renders the same node and never replays it.
React drops the drawer the moment the parent clears the open row, so the component now holds itself mounted for --dur-slow under a closing class and plays the entrance in reverse. Escape, the scrim and the close button all take the same exit. With motion off it unmounts as before.
Reuses the drawer's held-mount exit, at --dur-base. Escape, the backdrop and the close button take the same path. It is the app's only modal; the first-launch onboarding sheet keeps its own launch choreography.
The dropdown listbox, the provider picker built on it and both calendar popovers share one --dur-fast keyframe. The chart tooltip keeps its top/left placement so it tracks the cursor without a frame of lag; only its show and hide are a fade, now on the tokens.
…d pills Sidebar items, list rows, clickable cards, footer links, buttons and segmented pills all ease their background, border and text colour over --dur-fast. Only buttons and pills scale on press; rows and cards never do, because a list that shrinks under the cursor reads as a bug.
Thirty-odd per-element outlines, outline:none overrides and inset box-shadow stand-ins collapse into a single 2px accent ring at 2px offset, which already follows each element's own radius. Rows and cells inside a scrolling parent take the same ring on the inside, where it cannot be clipped.
The store drops a toast the instant it expires, so the host holds the last one for --dur-base to fade it. Skeleton shimmer is unchanged beyond reading the easing token.
At 1200 to 1279 a Compare periods scope ellipsized down to a few characters, which reads as broken. It was already hidden below 1200.
The first-run screens now sit directly on the CodeBurn artwork: a drifting full-bleed backdrop, a left-aligned column at 12% with the flame-and-wordmark lockup, the step headline and copy, a segmented progress line and the Next and Skip controls. Adds the version caption in the bottom-right corner. Keyboard: Enter or Right advances, Left goes back, Escape skips to the consent step, which stays unskippable. All motion is off under reduced motion.
…igures under the headline
…ed remainder reads neutral
…ith their titles in the header
… and its controls in the header
…uide and swatch tooltip
… axis and peak guide
…olas, Full Disk Access tip only on macOS
The PR card's four-column trigger has a 722px min-content and the new panel wrapper propagated it up to the page, so the body scrolled sideways 100px at the app's own 900px minimum. Cap the panel at min-width 0 and collapse the card to three columns while the window cannot hold the wide row. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Yesterday, 7-day avg and vs yesterday were anchored to today, so under a custom range they reported days the headline above them does not cover. Anchor all three to the last day of the selected window and caption them Previous day / vs previous day when that day is not today. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
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.
The desktop app after a measured design audit (36 items, all re-measured by an independent pass) and the visual revamp that followed.
What changes
Numbers
Every rendered number diffed against main on a fixed range on all 12 screens: identical. 1,031 app tests passing, the 29 pre-existing jsdom localStorage failures unchanged. Typecheck and build clean.
Screenshots
Before / after, Overview dark:
Overview light, after:
Sessions, Pull requests, Spend bars, collapsed sidebar, onboarding:
Full gallery, 130+ shots at three widths in both themes, is in the review notes.
After the final review
Two more fixes landed: Pull requests no longer scrolls sideways at the 900px minimum window, and the hero's Yesterday / 7-day average / change row follows the selected range instead of always reading today (captions say Previous day under a range). The "Composite of one-shot, cache hit, and retry tax" caption is not gone, it moved into the info tooltip on the Efficiency cell. Windows: shortcut badges no longer widen sidebar rows, Cascadia Mono precedes Consolas, and the Full Disk Access tip shows only on macOS.