Repository navigation
Conversation
Session tabs were a fixed 128px wide, so on 320-390px screens five short tab names overflowed the strip. Tabs now size to their title (min 44, max 128, no shrink) with 4px side padding; the scroll viewport can shrink beside the pinned + / Quick commands buttons, which no longer shrink. Each tab exposes the tab role, selected state and its full title. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Tabs had the tab role but no tablist ancestor, so assistive tech could not group them; the scrolling strip now carries the tablist role. Side padding goes from 4px to 6px: at 4px a touch a few pixels inside a tab's right edge could land on the next tab, including with a small contact area. Tabs still size to their title, so five icon tabs take about 311px instead of 648px. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Priority: ⬇️ Low Severity of issue fixed: Low Merge Risk: ⚪ Minimal · up to
|
ELI5
Short mobile session titles use less horizontal space. Tabs still scroll horizontally when needed, so the last one remains reachable.
What Changed
Size tabs to their titles, with a 44 minimum and 128 maximum, and reduce side padding from 8 to 6. Let the scroll viewport and truncated text shrink beside the action buttons while preserving those buttons' sizes. Add the tablist/tab accessibility roles, full title labels and selected state. IDs, press/long-press handlers and active-tab reveal behavior are unchanged.
The patch is based on main at 8b0fa15. Final source: 841d24f. Only two UI files and three focused behavior tests change.
Why
Fixed 128-wide tabs waste space around short titles on narrow windows. In the rendered fixture, five tabs with agent icons use 311 pixels instead of 656. Horizontal scrolling already worked; this reduces how much scrolling is needed. Long titles still truncate and retain their full accessible labels.
Linked Issue
Fixes #28472
Visual Proof
Same generic header fixture in headless Chromium, 390 pixels wide. Native Android hardware has not been tested.
Testing
Review
The initial 4-pixel padding caused some Chromium edge taps to select a neighbour. Padding 6 removes the zero-radius regression and matches padding 8 in the checked cases. A large 30-pixel contact touching 2–4 pixels inside a short tab beside a long title still has two wrong-target results out of 128 synthetic cases, versus one on the fixed-width baseline. This edge-contact limitation is documented for hardware verification.
The missing tablist ancestor is fixed and covered by a behavior test. No server, protocol, host installation or app identity changes are included.
AI Disclosure
Prepared with Claude Code using its configured model, coordinated with Codex, and independently reviewed with Cursor Agent (Claude Opus 5.5 High).
Agent skill upstream boundary
Checklist