Repository navigation
fix(ui): keep mobile side chat interactive in tabbed panel - #124785
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
@clawsweeper automerge |
|
🦞👀 Approver: I left the PR open for the remaining gate instead of bypassing it. Automerge progress:
|
|
@clawsweeper fix ci |
|
🦞🔧 Command: I will keep the change narrow and update the PR branch if the repair worker finds a safe fix. |
|
Codex review: passed. Reviewed August 16, 2026, 5:57 PM ET / 21:57 UTC. ClawSweeper reviewWhat this changesThe PR keeps embedded Side chat inside its mobile tabbed panel instead of a full-viewport overlay, and adds a browser scenario covering containment and interaction. Regression provenancePossible regression — probable (reproduction; reviewed change). No predecessor PR is attributed. Merge readinessKeep this focused regression repair open: current inspected source shows the late mobile rule can override embedded containment, while the supplied patch excludes that variant and adds relevant interaction coverage. The Priority: P2 Review scores
Verification
How this fits togetherControl UI renders Side chat as an embedded tab inside the chat page’s side panel. Mobile rail CSS determines whether the standalone companion is full-screen or the embedded companion remains inside that panel, affecting taps, typing, requests, and shared actions. flowchart LR
A[Mobile chat page] --> B[Tabbed side panel]
B --> C[Embedded Side chat]
C --> D[Mobile positioning rule]
D --> E[Composer and shared actions]
E --> F[Companion request and reply]
Decision needed
Why: The valid focused repair is protected by explicit human-review labels, and the reviewer-side partial clone could not independently materialize the PR tree. Before merge
Agent review detailsSecurityNone. PR surfaceSource 0, Tests +49. Total +49 across 2 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Retain the state-specific CSS exclusion and behavior-level browser scenario, then merge after a Control UI owner confirms the exact head. Do we have a high-confidence way to reproduce the issue? Yes at source level: an embedded rail receives the same expanded class as the standalone surface, and the later mobile rule overwrites its containment. The supplied PR body also describes a 390×844 before/after built-app reproduction, though this read-only checkout did not rerun it. Is this the best way to solve the issue? Yes: excluding the embedded variant at the generic full-screen selector preserves standalone mobile behavior while restoring the earlier embedded containment rule; duplicating another mobile override would leave competing positioning policy. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against eab2b8fdca5c. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (7 earlier review cycles)
|
|
@clawsweeper fix ci |
6d09b2f to
fdbc457
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper automerge |
|
🦞✅ Source: Why human review is needed: What the maintainer can do as a next step: I added |
|
@clawsweeper approve |
|
Merged via squash.
|
…124785) Keep embedded mobile Side chat inside its tabbed panel so the main composer and shared controls stay tappable. Co-authored-by: Tak Hoffman <[email protected]>
Related: #123874
What Problem This Solves
Fixes an issue where users opening Side chat in the mobile tabbed-panel layout could see its content escape across the viewport and lose pointer access to the main composer and shared panel controls.
Why This Change Was Made
The standalone session companion keeps its existing full-screen mobile presentation, while the embedded Side chat variant remains contained by the tabbed panel that owns its geometry. The existing mobile panel journey now opens Side chat and verifies containment, main-composer focus, companion submission, the returned answer, and the shared header menu.
Root cause: the embedded rail declaration from #123874 had the same specificity as a later generic mobile expanded-rail rule. Source order changed the embedded rail back to
position: fixed; inset: 0, creating a transparent viewport-wide hit layer.User Impact
Mobile users can keep the main conversation interactive while Side chat is docked below it, ask companion questions, and use Side chat header controls without taps being intercepted.
Evidence
.chat-session-rail__threadintercepting the shared header action.top=466,bottom=832), focused the main composer, sent the expectedsessions.companion.askrequest, rendered the answer, and opened the shared companion-actions menu. No console or page errors.node scripts/run-vitest.mjs ui/src/pages/chat/chat-session-rail.test.ts— 41/41 passed.node_modules/.bin/stylelint ui/src/styles/components.css --config config/stylelint.config.mjs— passed.node --import tsx scripts/check-extension-package-tsc-boundary.mts --mode=compilepassed across all 123 plugin packages and--mode=canarypassed..agents/skills/autoreview/scripts/autoreview --mode branch --base origin/main— clean, no accepted/actionable findings; overall patch correctness 0.99.listen EPERM); exact-head CI remains the authoritative configured-lane run.Production LOC: +1/-1 (net 0) | Tests: +51/-2
Provenance: clearly made visible by #123874 (
aed4510bd09), authored by Vyctor H. Brzezowski and merged byfuller-stack-devon 2026-08-16.