Repository navigation
improve: give mobile session titles more room - #181076
Conversation
Use a single 48px row with navigation, title, and overflow actions. Keep local panel navigation available offline and reveal the full title in Details. Co-authored-by: steipete <[email protected]>
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
Keep one native Actions menu as session commands load or go offline. Migrate remaining mobile E2E consumers to overflow navigation. Co-authored-by: steipete <[email protected]>
|
Codex review: needs changes before merge. What this changesThis PR gives mobile session titles more space by moving Panels, People, and Dashboard actions into the overflow menu. Example: A 390px phone displays the session “Seeing duplicate text in the session.”
Review scores
ProductKind: Preference · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 2 items remain Keep this PR open: the maintainer-directed layout improvement has clear visual value, but the navigation cutover leaves browser tests broken, and GitHub reports a merge conflict. Priority: P2 Before merge
Findings
Tests
Agent review detailsHow this fits togetherThe Control UI header consumes session presentation and connection facts, then routes user actions through the existing session menu and retained mobile panel host. flowchart TD
A[Session presentation] --> B[Mobile header]
B --> C[Title and Details]
B --> D[Overflow menu]
D --> E[Retained mobile host]
E --> F[Panels and People]
D --> G[Session actions]
Technical reviewBest possible solution: Keep the compact header and existing navigation owners, and complete the browser-test migration to the overflow menu. Do we have a high-confidence way to reproduce the issue? Current-main source retains the crowded layout shown in the before screenshot, and exact-head CI reproduces the obsolete-selector failures; no target code was executed during this review. Is this the best way to solve the issue? The presentation change is appropriately small and removes redundant UI machinery, but its test consumers must migrate with the removed controls. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 894336fe0c1c. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceAcceptance criteria:
What I checked:
PR surfaceSource -252, Tests +3. Total -249 across 16 files. Added test files: 0. View PR surface stats
Review metrics
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed October 22, 2026, 7:49 PM ET / 23:49 UTC. |
Preserve required mobile header presentation inputs while keeping the compact title layout and migrated overflow navigation. Co-authored-by: steipete <[email protected]>
|
Fixed the retired header-control consumers and the menu focus identity regression, then resolved the current-main header contract conflict in fef1c25. The PR body contains updated proof. @clawsweeper re-review |
Details already waits for the current mobile header and opens through its title. Preserve all existing layout, focus, and progress assertions. Co-authored-by: steipete <[email protected]>
|
Merged via squash.
|
* improve: give mobile session titles more room Use a single 48px row with navigation, title, and overflow actions. Keep local panel navigation available offline and reveal the full title in Details. Co-authored-by: steipete <[email protected]> * fix: retain mobile menu focus and update panel navigation tests Keep one native Actions menu as session commands load or go offline. Migrate remaining mobile E2E consumers to overflow navigation. Co-authored-by: steipete <[email protected]> * test: remove obsolete mobile Panels readiness wait Details already waits for the current mobile header and opens through its title. Preserve all existing layout, focus, and progress assertions. Co-authored-by: steipete <[email protected]> --------- Co-authored-by: steipete <[email protected]>
What Problem This Solves
Mobile session headers spend scarce width on a workspace eyebrow, avatar strip, and a separate panel button, truncating the session title.
User Impact
A compact 48px single-row header gives the title more room. Tap the title for the full name and Details; open the overflow menu for Panels, People, or the session Dashboard. Desktop controls, public/incognito indicators, and offline notices remain available.
Why This Change Was Made
Keep session identity primary on small screens without introducing another tab row or another panel owner. A single retained native menu and the mobile host preserve navigation, keyboard focus while session metadata arrives or connectivity changes, and mounted panel state. The retired header-only people grid and styles are removed (net-negative production code).
Requested by @steipete.
Work sessions
Evidence
Before
After
Current-main integration
Resolved the mobile-header contract conflict against
c64eaf54ad0b6, retaining required presentation inputs and the compact layout. After integration: 44 component tests, 23 browser scenarios (mobile header/sharing/native navigation), UI typecheck and all eight UI-test typecheck shards passed. Scoped lint/format and fresh independent review passed.Final browser-consumer audit found one obsolete Panels readiness wait in the Details/progress test. It reproduced on the production UI; removing the redundant wait leaves the native Details helper responsible for readiness. Both Details/progress scenarios pass, with all layout, focus, draft and scrolling assertions retained. No production change from the independently reviewed conflict resolution.