Repository navigation
fix(session-view): align composer spine, whisper-tint MCP chips, docks, shimmer, and execute tokens - #2568
Open
kitlangton wants to merge 1 commit into
Open
fix(session-view): align composer spine, whisper-tint MCP chips, docks, shimmer, and execute tokens#2568kitlangton wants to merge 1 commit into
kitlangton wants to merge 1 commit into
Conversation
…s, shimmer, and execute tokens
This branch has not been deployed
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 composer, tool rows, working indicator, approval docks, and Execute sheet now share aligned spines, quiet borderless pills, and theme-native tokens.
Attachment cards, prompt text, and toolbar controls line up on one 16 pt left edge, while MCP chips switch to borderless whisper-tint pills with a comma before trailing counts. Existing session behavior, keyboard shortcuts, and custom themes work as before.
❌ Before
8 pt), prompt text (16 pt), and leading toolbar labels (19 pt) sat on three different left edges, light-mode context/quote cards painted white on white, the remove badge drew a harsh1 ptoutline, and the mic button sat2 ptfrom Submit.18 ptr51 ptborder,16 ptr20.5 ptborder, and11 ptsans+1 ptoffset), ran server chips into1 model callwithout a comma, and mixed11 / 12 / 13 ptmonospace in expanded MCP parameter cards.Workingrow hardcoded#8f8f8f(~3.2:1contrast in light mode) and froze identical to static muted labels under Reduce Motion.10 ptand12 ptcard corners,28 ptand32 ptbuttons,12 ptand16 pthorizontal insets, and legacyv1_*colors.3 ptinward when output scrolled.✅ After
16 ptleft spine; composer cards usep.hoverat a locked52 ptheight with a0.5 ptsurface cutout ring on remove, and the mic sits6 ptclear of Submit.18 pt,r4) in proportional UI text with an"MCP tool"tooltip and a comma before trailing counts;Calledrows use the same borderless mono pill (namespacemuted,.faint,methodbase) alongside matching×Nand status badges and a single12 ptmono parameter grid.Workingsweeps from semanticp.muted(> 6:1in light mode) top.text, and stands out in mediump.textwhen Reduce Motion is enabled.10 ptcard radius,16 pttext spine,28 ptfooter buttons,530 / 440Inter optical weights, and v2Paltokens.SheetPalderives every surface and elevation fromPalacross all themes, and pins the Copy button at10 ptfrom the right edge regardless of vertical overflow.📊 Proof
Workingcontrast8 / 16 / 19 ptleft edges, white-on-white cards,#8f8f8f(3.2:1)16 ptleft spine,p.hover52 ptcards,p.muted(> 6:1)1 model call,11/12/13 ptmono12 ptmono grid10 ptvs12 ptcorners,32 ptvs28 ptbuttons,v1_*tokens10 ptcorners,16 ptspine,28 ptbuttons,530/440weights, v2Pal7 pt → 10 ptCopy jumpp.code_bg/p.overlayacross all themes, constant10 ptCopyComposer, attachments &
Workingrow (light mode)Code Mode & MCP whisper-tint pills + parameter grid
Permission & Question docks
Execute details sheet
👀 Read:
crates/session-view/src/tools/codemode.rs(namespace_chipvscalled_chip) andcrates/session-view/src/turns/labels.rs(render_car), where summary chips stay proportionalUIwith a trailing comma before clauses while expandedCalledrows splitnamespace.methodacross threeSpantones in monospace. The rest is routine.🔍 Found in a UI audit · no user reports · verified with 2× headless fixture captures
Checks run
cargo check --bin opencode-desktop: passcargo check -p session-view --examples: passcargo check -p opencode-web --target wasm32-unknown-unknown: passbash scripts/guardrails.sh: 12/12 pass