Repository navigation
fix(ui): stop mobile model controls shifting as catalog loads - #194072
Merged
Merged
Conversation
Reserve the New Session model group's mobile footer space as metadata arrives, keep the pending affordance stable, and start Systems layout observation after that route has mounted. Add CPU-throttled coverage and consolidate equivalent CSS without changing startup bytes.
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
Contributor
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. |
steipete
enabled auto-merge (squash)
November 6, 2026 10:17
steipete
disabled auto-merge
November 6, 2026 10:22
Contributor
Author
|
Merged via explicitly authorized admin squash with attributed pre-existing CI failures.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Nov 7, 2026
…penclaw#194072) Reserve the New Session model group's mobile footer space as metadata arrives, keep the pending affordance stable, and start Systems layout observation after that route has mounted. Add CPU-throttled coverage and consolidate equivalent CSS without changing startup bytes.
This was referenced Nov 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related: #193792
What Problem This Solves
Mobile New Session briefly recenters its model controls when catalog metadata arrives. The Systems stability test started observing on New Session, so it also attributed that real shift to Systems.
User Impact
The model stays anchored while its skeleton becomes the selected model and effort control. The mobile loading state keeps the label space and withholds the chevron until the catalog arrives. Existing tags, controls, lazy boundaries, and the Systems zero-shift assertion remain intact.
Why This Change Was Made
The reported CI job points into New Session. A 6× CPU-throttled production-bundle reproduction matches it exactly: at 400 px the model-controls group shrinks from 131.5 to 106.578125 px, moves from x=133.25 to x=145.71875, and produces CLS 0.0002235138888888889.
CSS now gives the mobile group the available footer space and anchors its label. At 560 px, the same proof also caught a late provider icon moving the text; the compact icon treatment now covers that width. The Systems observer starts after the Systems route and body have rendered, before its deferred inventory/backups are released. It still requires exactly zero non-input layout shift.
Equivalent rules in the same stylesheet are consolidated, and redundant declarations already supplied by the base mobile-trigger rule are removed. The retired selector's stylelint allowance is pruned. No JavaScript imports or runtime state are added.
Evidence
pnpm tsgo:ui, scoped lint/format, stylelint,git diff --checkpnpm ui:buildThe standalone budget check reports existing total-CSS and chat-boot-JS overages on the base as well. Chat boot JS remains exactly 1,288,890 B; the base-aware comparison preserves the caps. The PR ratchet job reports test lines 6,536,264, ceiling 6,536,250: 14 over. Replaying the checker against the exact merge-base Git snapshot (using its alternate index and the latest completed scheduled-main head as comparison) also fails: 6,536,224 lines, ceiling 6,536,210: the same 14 over. That scheduled run predates this debt and passed this job; the merge-base replay establishes the inherited failure. This PR's 40 added lines have an exact 40-line allocation, leaving the deficit unchanged. All UI and real-Gateway shards passed. The native auto request was retired, and the verified head landed through the documented inherited-failure route as c738ce2. The failed budget check remains recorded; no functional failure was waived.
Production CSS: 1,652 → 1,653 lines (+1). Touched tests: 938 → 978 lines (+40). Solid refactor census: no effects, subscriptions, listeners, queries, owner handoffs, or runtime imports added. No Testbox/Crabbox lease or local Docker was used.
All screenshots below use synthetic Gateway fixtures and were inspected locally. “Loading” holds
models.list; “ready” releases it.