Skip to content

fix: keep the phone composer still as chat opens - #188605

Merged
steipete merged 2 commits into
mainfrom
fix/ci-boot-composer-410987
Oct 30, 2026
Merged

steipete merged 2 commits into
mainfrom
fix/ci-boot-composer-410987

Conversation

@steipete

@steipete steipete commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

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.

Before: boot composer retains the old six-pixel bottom gap

After: boot composer matches the live ten-pixel mobile gap

Unrelated CI failures

Exact-head CI 41109091491 has two independent failures. The SVG editor case in chat-sidebar-file-view.browser.test.ts mounts 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 WebKit logs-scroll.e2e.test.ts case 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.

@clawsweeper

clawsweeper Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@steipete
steipete marked this pull request as ready for review October 30, 2026 18:25
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-30T18:26:55.453441Z 655de42 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 30, 2026
@steipete
steipete enabled auto-merge (squash) October 30, 2026 18:53
@steipete
steipete disabled auto-merge October 30, 2026 18:58
@clawsweeper

clawsweeper Bot commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This 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.

  • Before: The boot composer has a 6-pixel bottom gap and shifts upward four pixels when live chat appears.
  • After: Both composers use a 10-pixel bottom gap, keeping the frame and text origin aligned.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, useful correction with inspected visual evidence and an independently confirmed base regression; CI is not fully resolved.
Proof confidence 🐚 platinum hermit (4/6) ✨ media proof bonus Sufficient (screenshot): Inspected browser screenshots at 390×844 show the changed static boot composer with the same synthetic multiline draft before and after the four-pixel correction; the base failure trace independently identifies the matching live geometry, and the unchanged browser regression checks frame, text origin, draft, focus, caret, and 90-frame stability.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: A focused phone composer visibly jumps as the loading screen becomes live chat.
Reason: The maintainer-authored change restores the existing layout-stability contract with a narrowly scoped CSS correction.

Regression provenance

Regression provenance — verified: source commit 4ad54cb80e63 by RoboClaw; canonical PR #188517 (blame-to-merge-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
Reviewed head: 3ca01b8cb560ca8cf122d1be67c5cda025f85e17

Before merge

None.

Findings

None.

Agent review details

How this fits together

The 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
Loading

Technical review

Best 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

  • Boot-to-live composer geometry keeps the original intent (improve(ui): let session links accept typing while the page loads #188153: Accept typing from first paint and preserve draft, caret, focus, frame, and text origin through loading transitions.)
  • Live mobile bottom spacing keeps the original intent (4ad54cb: Restore 10 pixels of breathing room below the mobile composer while leaving desktop spacing unchanged.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit f3464c7 adds ui/index.html:283 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: f3464c792dbf; files: ui/index.html)
  • RoboClaw: Raw commit 4ad9aea adds ui/index.html:567 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 4ad9aeae14b3; files: ui/index.html)

PR surface

Source +7. Total +7 across 1 file. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 1 7 0 +7
Tests 0 0 0 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 1 7 0 +7

Labels

Label changes:

  • add P3: The confirmed defect is a four-pixel visual shift during mobile chat loading; draft submission and persistence are unchanged.
  • add proof: sufficient: Contributor real behavior proof is sufficient.
  • add proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P3: The confirmed defect is a four-pixel visual shift during mobile chat loading; draft submission and persistence are unchanged.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • proof: sufficient: Contributor real behavior proof is sufficient.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Resolve the file-editor check’s attribution and obtain the remaining exact-head CI results.

Rating scale

6/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.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed October 30, 2026, 2:58 PM ET / 18:58 UTC.

@steipete
steipete merged commit 924d1c8 into main Oct 30, 2026
86 of 92 checks passed
@steipete
steipete deleted the fix/ci-boot-composer-410987 branch October 30, 2026 20:45
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via explicitly authorized admin squash with attributed pre-existing CI failures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant