Repository navigation
fix: keep the phone composer still as chat opens - #188605
Conversation
|
🦞👀 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 SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex review: needs maintainer review before merge. What this changesThis PR aligns the focused mobile web boot composer’s bottom spacing with the live chat composer while preserving native-shell spacing. Example: Open chat at 390×844 and type a multiline draft before loading finishes.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Regression provenanceRegression provenance — verified: source commit Merge readiness✅ Ready for maintainer review Keep open: this PR narrowly fixes a confirmed composer handoff regression that remains on main; no introduced defect was found, but CI is not yet settled. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe Control UI’s static HTML displays an editable composer before application loading completes; the boot-composer owner transfers its draft and focus into the resolved chat route. flowchart LR
A[Chat URL] --> B[Static boot composer]
B --> C[Connecting and route skeletons]
C --> D[Resolved chat route]
D --> E[Live chat composer]
F[Mobile and native presentation rules] --> B
F --> E
Technical reviewBest possible solution: Retain the scoped boot-layout correction and existing handoff assertions, then settle the remaining CI checks before landing. Do we have a high-confidence way to reproduce the issue? The unchanged phone handoff test failed on the base with exactly four pixels of frame and text-origin displacement, matching the source mismatch; no target code was executed during this review. Is this the best way to solve the issue? This is the smallest complete correction for the reported phone case: update the existing boot geometry owner using the live navigation owner’s native-shell exclusions, without changing draft handling or weakening tests. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against ab547867cb96. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +7. Total +7 across 1 file. Added test files: 0. View PR surface stats
LabelsLabel changes:
Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
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 30, 2026, 2:58 PM ET / 18:58 UTC. |
|
Merged via explicitly authorized admin squash with attributed pre-existing CI failures.
|
* fix: keep the phone composer still as chat opens * test: retain existing boot handoff regression within line budget
What Problem This Solves
Fixes a four-pixel jump in the focused phone composer when the boot screen hands its unsent draft to the live chat route.
Related: scheduled CI run 41098750962, job 124211906295.
User Impact
The draft, focus, caret, and composer frame stay in place as phone chat loads. Native shells retain their existing spacing.
Why This Change Was Made
The live mobile composer moved to a 10-pixel bottom gap, while the boot focus/recovery rule still used 6 pixels. Match the mobile web gap using the same native-shell exclusions as the merged navigation owner. Preserve the general 6-pixel rule for narrow native shells. The existing phone handoff test is the regression; no test assertions or permanent test lines change.
Evidence
The unchanged phone test reproduced the exact four-pixel frame and text-origin shift on the base. The repaired original four cases pass. A supplemental native replay also passes the same geometry, focus, caret, draft, and 90-frame stability assertions (5/5 total in that diagnostic). The production UI build, targeted default tsrs, typed lint, formatting, diff checks, and test-line ratchet pass.
Independent local autoreview covers the complete seven-line CSS change and existing regression against base
31dd96f37ffac2b45bd7e1663396c2a493996b48, at P0–P2. Result: scoped-clean, no accepted or actionable findings. Local ClawSweeper is unavailable; hosted review is requested when ready.The before/after images show synthetic boot drafts before the route handoff; the live composer already uses the after position.
Unrelated CI failures
Exact-head CI 41109091491 has two independent failures. The SVG editor case in
chat-sidebar-file-view.browser.test.tsmounts directly in Vitest's own document, which never loads this changed HTML file; its exact case, full file, and original three neighboring files pass locally (1/1, 23/23, 113/113), but its intermittent mount failure remains unresolved. The mobile WebKitlogs-scroll.e2e.test.tscase fails in the live Logs virtualizer before Refresh; its owner is unchanged and already has an open repair in #188617. Its unchanged focused replay passes, which is not claimed as a repair.The CI checkout differs from its main parent only in this seven-line boot-skeleton CSS rule. The failing sources are byte-identical to that parent, and neither failed surface matches the changed selector. This PR uses the authorized unrelated-CI landing route while retaining the failed CI result. The original composer regression, build, scoped checks, and independent review remain passing.