Repository navigation
fix: keep mobile session selectors on one row - #173186
Conversation
Co-authored-by: vincentkoc <[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. |
|
Codex review: needs changes before merge. What this changesThis PR puts phone New Session selectors on one compact row with avatar-only agent selection and truncated labels. Example: Open New Session at a 390px phone viewport.
Review scores
ProductKind: Preference · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 1 item remains Keep open: this maintainer-directed mobile layout improvement is visibly demonstrated, with one documentation correction remaining. Priority: P3 Before merge
Findings
Agent review detailsHow this fits togetherThe Control UI renders agent and placement selections above the New Session composer; responsive CSS controls their presentation while existing pickers retain selection ownership. flowchart TD
A[New Session state] --> B[Agent selector]
A --> C[Placement pickers]
B --> D[Responsive selector row]
C --> D
D --> E[Phone composer]
Technical reviewBest possible solution: Keep the compact phone layout and update the placement guide to describe truncation and where to inspect OS/machine selections. Do we have a high-confidence way to reproduce the issue? Current-main CSS establishes the stacked phone layout, and the inspected before screenshot shows it; no target code was executed during this read-only review. Is this the best way to solve the issue? The existing responsive stylesheet is the appropriate owner, and the change preserves picker behavior and accessible names while implementing the approved compact presentation. Full review comments:
Overall correctness: patch is correct AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 2bed16615c14. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceAcceptance criteria:
What I checked:
Likely related people:
PR surfaceSource -17, Tests -35. Total -52 across 3 files. Added test files: 0. View PR surface stats
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 15, 2026, 10:24 AM ET / 14:24 UTC. |
|
Merged via squash auto-merge.
|
Follow-up regression repair: command-palette agent labelThe mobile selector rule in this PR also matched the The repair scopes all mobile agent-specific overrides to Before After Validation: both full affected E2E files pass 19/19 (62.16s total including production build): command-palette creation/settings 14/14, New Session responsive flow 5/5. The added dark/mobile case took 2.439s and shares the existing suite fixture. The baseline light/390 user flow fails on the hidden label before the CSS repair. Scoped lint reports 0 warnings/errors; stylesheet lint, UI typecheck, formatting, and diff checks pass. Independent P0–P2 autoreview: scoped-clean. Main advanced only in disjoint native locale/delivery files before publication; the tested two-file patch was preserved byte-for-byte. CI reruns were not used as a substitute for repair; hosted seconds for this direct-main recovery are not yet available. |
Co-authored-by: vincentkoc <[email protected]>


What Problem This Solves
Fixes: New Session stacks its agent, host, project, and branch controls into several rows on phones, taking space away from the prompt.
User Impact
User impact: Phone setup controls stay on one compact row with 44px tap targets, readable short values, and ellipsis for long values. The agent uses its avatar; full selected values remain available to assistive technology and in the pickers. Desktop layout is unchanged.
Why This Change Was Made
The phone-only layout now shares the available width instead of giving every selector its own row. Existing menus and selection owners are retained. The Safari upload-picker anchor repair is intentionally separate.
Evidence
Before
After
Command-palette regression recovery
The compact selector styling also affected the command palette’s reused agent picker. The scoped repair and inspected before/after evidence are tracked in this follow-up.
Contributor credit
Reported and requested by @vincentkoc.
Work sessions