Repository navigation
fix(ui): contain session suggestions to composer width - #125225
vyctorbrzezowski merged 2 commits into
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 17, 2026, 9:04 PM ET / August 18, 2026, 01:04 UTC. ClawSweeper reviewWhat this changesThe PR constrains Control UI session-suggestion rows to the chat composer’s centered responsive width on desktop and narrow screens. Merge readinessKeep open for maintainer merge review: the focused CSS repair matches the composer’s desktop and phone width rules, and the contributor supplied direct after-fix visual proof. Exact-head CI is still in progress, and this member-authored, maintainer-labeled PR needs explicit maintainer handling before merge. Priority: P2 Review scores
Verification
How this fits togetherControl UI renders session suggestions above the chat composer for shared sessions. The shared chat stylesheet determines the wrapper geometry that contains both actionable and dismissed suggestion rows before users act on them. flowchart LR
A[Shared session suggestions] --> B[Suggestion list wrapper]
B --> C[Chat layout stylesheet]
D[Chat composer] --> C
C --> E[Desktop and phone width rules]
E --> F[Aligned visible rows]
Decision needed
Why: The patch is focused and proof-backed, but the member association and maintainer label require an explicit human merge decision. Before merge
Agent review detailsSecurityNone. PR surfaceSource +8. Total +8 across 1 file. View PR surface stats
Review metrics
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Land the owner-local wrapper sizing after maintainer approval and green exact-head checks, retaining the existing row behavior and markup. Do we have a high-confidence way to reproduce the issue? Yes, from source: current main’s suggestion wrapper lacks the composer width and centering rules, while the PR adds them at the single shared wrapper. This read-only review did not run a local browser reproduction. Is this the best way to solve the issue? Yes. Changing the shared wrapper is the narrowest maintainable repair because it covers actionable and dismissed rows without duplicating layout policy in each row. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against b1d5e78771f9. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
History |
Visual verificationDesktopDark: session suggestion rows, including the dismissed row, share the composer's centered left and right boundaries. Light: the same centered containment is preserved in the light theme. Narrow viewportDark: the long suggestion wraps within the row without horizontal overflow; active and dismissed rows retain the composer's phone-width boundaries. Light: long-text wrapping and the shared active/dismissed containment remain unchanged in the light theme. |
|
Merged via squash.
|
* fix(ui): align session suggestions with composer * fix(ui): match suggestion phone gutters




Closes #125224
What Problem This Solves
Fixes an issue where users viewing session suggestions would see the suggestion rows extend beyond the narrower chat composer below them. The mismatch affected both actionable suggestions and suggestions in the
Dismissedstate, and the fixed wrapper padding could also place unnecessary horizontal pressure on narrow viewports.Why This Change Was Made
The session suggestions wrapper now uses the same responsive width, maximum width, and centered horizontal boundaries as the composer. The change is limited to list containment and alignment; it does not alter suggestion content, row height, controls, behavior, the composer, suggested tasks, sharing semantics, or typing indicators.
User Impact
Session suggestions now align with the composer as one coherent input stack. On narrow viewports, the list uses the available width within the composer boundary without introducing horizontal overflow.
Evidence
ui/src/styles/chat/layout.css.calc(100% - 36px)responsive width,48remmaximum width, and centered inline margins..session-suggestions; actionable and dismissed rows share this wrapper, while row and interaction styles remain untouched.