Repository navigation
fix(cmux-next sidebar): the icon rail keeps its 48px column (it shared .acpmux-rail with the session rail) - #23012
Conversation
…session rail's sheet loaded (red) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?harness=claude&session=01a15c2a-ee79-7910-9d76-ef0536b9880d&host=huge-blue
…on rail's 240-340px column stops landing on it Both rails were .acpmux-rail. Where summary.css loads after the sidebar's sheet (the pane, the gallery), the session rail's clamp() column and its narrow-window overlay won: the icon rail drew 300px wide and squeezed the chat list to 32-80px. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?harness=claude&session=01a15c2a-ee79-7910-9d76-ef0536b9880d&host=huge-blue
|
owner: 01a15c2a-ee79-7910-9d76-ef0536b9880d on huge-blue |
|
cmux status (one comment, edited in place; each line is updated by the job that owns it) Review App of this head (app.zip, kept 1 day)
Unclear: CI failed on
Failures:
Matched log linesNot re-run automatically: Written by red: web / Web status; NEW: green on the base edf1ed0; do not merge until green; see lane-rules
Agents: Tour of |
|
Bead |
|
Found 24 test failures on Blacksmith runners: Failures
...and 14 more test failures. View all on Blacksmith
|
|
Shipped in:
|
Layout pass, running list (full list in cmuxterm-hq
knowledge/layout-pass.md):Summary
The chats sidebar's icon rail and the chat's session rail (
summary/SessionRail.tsx) both used the class.acpmux-rail. Wheresummary.cssloads after the sidebar'sstyles.css(the pane'sdev.tsxentry, and the gallery), the session rail's rules won:flex: 0 0 clamp(240px, 26%, 340px)column;So the 48px icon rail drew 268 to 300px wide, and the chat list was squeezed to 32 to 80px. The sidebar's rail is now
.acpmux-sidebar-rail: in the markup, its rule instyles.css, the prototype's.proto-historyhide rule, and the gallery anchor. The session rail keeps.acpmux-rail.Before / after
Gallery
agent-pane.session-sidebar/baseline. Measured rail x and width: before, 32/268 at 300 and 220/300 at 520; after, 0/48 at both.(The "No matching chats" line in both shots is a separate bug, fixed by #23002.)
Test
cd webviews && bun test test/sidebar-rail-css.test.tsxloads both sheets into happy-dom, renders the sidebar, and reads the icon rail's computed style.["stretch", "2px"]instead of["center", "0px"](the session rail'salign-itemsand padding).Observed / Not run
session-rail,chats-sidebar-empty,session-sidebar-previewandchat-rows-open-on-press(25 pass), oxfmt, oxlint, tsc (no errors in the changed files),check:{layers,type-scale,status-glyphs,system-blue,text-focus,dialog-keys,switch-fetches,browser-lanes}andprepush-gate.py. The stills come from the gallery dev server in Chromium.bun run check(it's fleet-only on huge-blue; CI runs it) and the native app.Changelog
Fixed: The chats sidebar's icon rail no longer stretches across the sidebar and squeezes the chat list.
Agent session: huge-blue
🤖 Generated with Claude Code