Repository navigation
fix(ui): keep mobile session width checks aligned with device labels - #193162
Merged
Merged
Conversation
PR #192044 intentionally renamed Local to This computer. Preserve its layout and check the existing half-row picker contract instead of the stale 100 px ceiling. Account for seven lines of causal comments and relative-width assertions.
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. |
Keep the assertion repair below the existing test-line ceiling without changing the shared baseline or requesting extra allocation.
Contributor
Author
|
Merged via squash auto-merge.
|
RomneyDa
added a commit
that referenced
this pull request
Nov 5, 2026
Raise the shared scalar by exactly 93 lines, from 6326473 to 6326566, under explicit maintainer approval for this baseline exception. Do not change tests, allocations, or checker policy. Main crossed the ceiling at #193101 (+83 against 32 available). Subsequent net debt: #193100 -2, #187104 +17 beyond its allocation, #128175 +25, #193123 -5, #188344 +8, and #193162 -1. The resulting inherited debt is exactly 93 lines; #192587 adds 73 lines with its own matching grant. At parent 2270152 the canonical LF scanner measured 6479093 test lines against ceiling 6479000. After correction the ceiling equals 6479093 with zero slack. Per-change allocations remain bounded by actual added lines.
This was referenced Nov 5, 2026
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Nov 6, 2026
…penclaw#193162) * fix(ui): align mobile session width checks with device labels PR openclaw#192044 intentionally renamed Local to This computer. Preserve its layout and check the existing half-row picker contract instead of the stale 100 px ceiling. Account for seven lines of causal comments and relative-width assertions. * test(ui): reuse measured mobile picker geometry Keep the assertion repair below the existing test-line ceiling without changing the shared baseline or requesting extra allocation.
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Nov 6, 2026
Raise the shared scalar by exactly 93 lines, from 6326473 to 6326566, under explicit maintainer approval for this baseline exception. Do not change tests, allocations, or checker policy. Main crossed the ceiling at openclaw#193101 (+83 against 32 available). Subsequent net debt: openclaw#193100 -2, openclaw#187104 +17 beyond its allocation, openclaw#128175 +25, openclaw#193123 -5, openclaw#188344 +8, and openclaw#193162 -1. The resulting inherited debt is exactly 93 lines; openclaw#192587 adds 73 lines with its own matching grant. At parent 21ac250 the canonical LF scanner measured 6479093 test lines against ceiling 6479000. After correction the ceiling equals 6479093 with zero slack. Per-change allocations remain bounded by actual added lines.
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.
What Problem This Solves
Scheduled main CI rejects the mobile New Session layout because three assertions still cap the device picker at 100 px after #192044 intentionally changed “Local” to “This computer.”
User Impact
The approved wording and layout stay unchanged. CI again checks that the device picker fits within half of its row, alongside the existing touch-target, overflow, popover, and composer-docking checks.
Why This Change Was Made
The failing value is the full device-trigger width: 123.421875 px on Linux CI and 123.40625 px on this Mac. The old 100 px value was a test ceiling, not a prior measured width. #192044 explicitly approved the longer label; its existing CSS already sizes mobile pickers to at most half a row. Inspected synthetic screenshots show the label and neighboring workspace fitting at 320 and 390 px. A fixed larger pixel cap would encode another wording-dependent limit, so these assertions now protect the relative layout contract.
The last passing scheduled run was 41837990917 at a7cfb08. The next scheduled run, 41847435650, first shows the width failures. Repeated execution of all three affected cases passes on 33a8710 (#192044’s parent) and fails at exactly #192044, 2a16e47. The reported 41961707257 retains the same failure. Placement and other copy cases owned by #192884 are outside this change.
Evidence
No production files, styles, imports, or startup boundaries change (0 B production growth). Test LOC: 845 → 844 (−1); production LOC: unchanged. The assertions reuse the already measured geometry and an existing row locator, so the two test files shrink by one line. The test-line ratchet passes; neither the scalar baseline nor allocations change.
Before/after captures below compare the pre-copy layout with the approved current layout; this repair preserves the latter. All screenshots use synthetic mocked Gateway data and were inspected locally.
UI commits between the last passing and first failing scheduled runs