Repository navigation
fix(ui): show mobile destinations without the drawer exit delay - #198879
Conversation
Co-authored-by: obviyus <[email protected]> Co-authored-by: steipete <[email protected]>
Worked on by: - @obviyus - @steipete Co-authored-by: obviyus <[email protected]> Co-authored-by: steipete <[email protected]> OpenClaw-Publication: 217faa0a-9598-84e4-bd22-22f7f548856b
|
🦞👀 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: needs maintainer review before merge. What this changesThis PR immediately dismisses the mobile drawer after destination selection while preserving ordinary dismissal animations. Example: Choose New Session from the drawer in a 400×900 browser window.
Review scores
ProductKind: Performance · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this PR delivers a focused, visually demonstrated navigation improvement with no actionable introduced defect found; the failing CI checks still need attribution before landing. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe Control UI navigation owner receives destination selections, closes the drawer through the shell chrome owner, and hands the destination to the router; the chrome owner finishes its existing transitions after the DOM commit. flowchart TD
A[Destination selection] --> B[Navigation owner]
B --> C[Chrome drawer owner]
B --> D[Application router]
C --> E[DOM commit]
E --> F[Finish drawer transitions]
D --> G[Destination page]
F --> G
Technical reviewBest possible solution: Keep the narrow destination-selection exception in the existing chrome owner and preserve manual dismissal behavior. Do we have a high-confidence way to reproduce the issue? Current-main navigation closes the drawer without finishing its CSS exit transitions, matching the supplied baseline screenshot and isolated-Gateway measurements; no target code was executed during this review. Is this the best way to solve the issue? The patch is the smallest complete fix: accepted destination selection must uncover the page promptly, and the existing chrome owner already owns transition completion and focus restoration. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 85abd8bbd0bd. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +13, Tests +78. Total +91 across 5 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. Review metrics
LabelsLabel changes: No label 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 November 14, 2026, 8:58 AM ET / 13:58 UTC. |
Preserve the benchmark invariant when diagnostics also include worker kinds without task counters. Integrates the exact upstream #198912 repair for the PR merge type failure. Co-authored-by: RomneyDa <[email protected]> Co-authored-by: obviyus <[email protected]> Co-authored-by: steipete <[email protected]>
Record opt-in setup starts before the fixture awaits that completed-only intervals cannot identify when CI reaches its step deadline. Preserve the completed schema and owner outcomes even when diagnostic writes fail. Co-authored-by: obviyus <[email protected]> Co-authored-by: steipete <[email protected]>
Use the already-string writeSync mock arguments directly so the phase helper assertions satisfy the required type-aware lint rule. Co-authored-by: obviyus <[email protected]> Co-authored-by: steipete <[email protected]>
Restore the five diagnostic-only files to their pre-investigation content. Keep canonical completed phase records and error preservation while retaining the mobile navigation fix and upstream task census repair. Co-authored-by: obviyus <[email protected]> Co-authored-by: steipete <[email protected]>
Baseline-Refresh: ab60ae3f0a7f2d7cf10d71e07259b07a38e2b6f7 Co-authored-by: obviyus <[email protected]> Co-authored-by: steipete <[email protected]>
Co-authored-by: obviyus <[email protected]> Co-authored-by: steipete <[email protected]>
|
Merged via explicitly authorized admin squash with attributed pre-existing CI failures.
|
…tgres-compaction-watched-prompt-20261116 * commit '9e810f7101557b006d5ff223d955f14dc43329f0': (23 commits) chore(ui): refresh control ui locales (#200164) fix(update): stop reporting unset git config keys as failing checks (#200153) test: consolidate redundant coverage (198793, part 2) (#198936) revert: skills-used full-transcript scan on every chat history page (#200159) refactor(sessions): follow the chat by key for stored delivery references (#200099) fix(update): bridge 2026.11.5-beta.4 updaters (#200152) fix(gateway): avoid filesystem stalls during catalog refresh (#200136) fix(ci): match update refusal probe to selected candidate (#200043) fix(agents): keep read-only steering carriers when publishing suppressed user envelopes (#200156) test: consolidate suites while retaining recovery owners (#198933) test: consolidate redundant coverage (198789, part 2) (#198932) refactor(cli): consolidate camera command tests (#200144) fix(cli): avoid initializing provider runtime during cleanup (#200139) fix(ui): show mobile destinations without the drawer exit delay (#198879) chore(ui): refresh control ui locales (#200146) fix(knowledge): keep historical claims distinct and reject changed retries (#200140) fix(ui): align dropdown arrows on mobile New Session improve(sessions): archive inactive transcripts by default (#199899) refactor(agents): own background commands and yield waits by the chat (#200097) fix(models): guessed non-chat models leave the default picker instead of being refused (#200102) ...
…claw#198879) * fix(ui): reveal selected mobile pages without drawer delay Co-authored-by: obviyus <[email protected]> Co-authored-by: steipete <[email protected]> * fix(ui): show mobile destinations without the drawer exit delay Worked on by: - @obviyus - @steipete Co-authored-by: obviyus <[email protected]> Co-authored-by: steipete <[email protected]> OpenClaw-Publication: 217faa0a-9598-84e4-bd22-22f7f548856b * fix(perf): require the state-reader task census Preserve the benchmark invariant when diagnostics also include worker kinds without task counters. Integrates the exact upstream openclaw#198912 repair for the PR merge type failure. Co-authored-by: RomneyDa <[email protected]> Co-authored-by: obviyus <[email protected]> Co-authored-by: steipete <[email protected]> * test(ui): expose pending end-to-end setup phases Record opt-in setup starts before the fixture awaits that completed-only intervals cannot identify when CI reaches its step deadline. Preserve the completed schema and owner outcomes even when diagnostic writes fail. Co-authored-by: obviyus <[email protected]> Co-authored-by: steipete <[email protected]> * test(ui): remove redundant phase log coercions Use the already-string writeSync mock arguments directly so the phase helper assertions satisfy the required type-aware lint rule. Co-authored-by: obviyus <[email protected]> Co-authored-by: steipete <[email protected]> * test(ui): remove temporary setup investigation probes Restore the five diagnostic-only files to their pre-investigation content. Keep canonical completed phase records and error preservation while retaining the mobile navigation fix and upstream task census repair. Co-authored-by: obviyus <[email protected]> Co-authored-by: steipete <[email protected]> * fix(ui): simplify drawer close state Co-authored-by: obviyus <[email protected]> Co-authored-by: steipete <[email protected]> --------- Co-authored-by: obviyus <[email protected]> Co-authored-by: steipete <[email protected]> Co-authored-by: Dallin Romney <[email protected]> Co-authored-by: RomneyDa <[email protected]>
What Problem This Solves
Fixes: choosing a mobile destination leaves the selected page underneath the drawer and backdrop while their exit animation finishes.
User Impact
User impact: choosing a session, New Session, or Back from Settings reveals the destination promptly instead of watching the drawer close over already available content.
Destination selection intentionally dismisses the drawer immediately. Manual dismissal, including Escape/backdrop/swipe, keeps its animation. Focus restoration and reduced-motion behavior are preserved; no data, permission or configuration changes are involved.
Why This Change Was Made
The destination was already retained and hit-testable, but visually covered. Accepted navigation now uses the chrome owner's existing transition-finishing operation; manual dismissal keeps its normal path. This removes exit-animation work rather than caching or relocating loading.
Evidence
Original real-Gateway product comparison
Five interleaved baseline/candidate pairs, Chromium 156, 400×900, native clocks/fonts/animations; the separate capture pair is excluded from timings.
These are conservative compositor-frame bounds after the zero-cover/enabled-input hit-test sample, not exact first pixels or INP. Pointer readiness was already about 50–62 ms in both versions. This is visual uncovering, not faster backend loading or earlier input acceptance; Settings Back is not guaranteed within 100 ms. These original-cohort results are not fresh current-main or Team-scale latency proof.
Current signed preparation
Current head:
8fb05b52fdf5b8b563125fcf6df9feca39b84fb7, tree1d2030b86e43888eba5bc8f89efb5190aa5ddab9.d7ddbac4f2854bf820afa9a80d05b1b4251d26f4retains f4 as first parent and main60c112a1bfa94ea4a5d43e4302e18375429d879fas second. It includes CI repair #198526: nine Control UI shards plus the browser-extension row, four parallel workers, unchanged serial ownership/tests/deadlines and the shared-worker borrower correction. This source repair is not an unchanged rerun or a diagnosis of the old timeout.findingswith explicit resolution, not a fabricated clean verdict. Native correction review andgithub_pendingpreparation validated. One normal native push published the signed head asroboclaw-bot.Completed current-head CI and unrelated failure qualification
CI 43884677174, attempt 1, completed failed on exact 8fb: all 65 jobs terminal, 35 successful, 28 skipped, one failed UI root plus its downstream gate. Security-fast passed. Skips are not executed passing coverage. The red result is retained; no manual dispatch, CI rerun or further source push was used to chase green.
The successful preflight log attests tested merge
c1e7d0e78a7e65decd38e9934446621fc9b1a429, treeefc18c437c24616abc8c0e2022f156430c9c6b3e, with ordered parents baselinec905038665e35a8ecca12c467218e7dfc11bef0aand exact 8fb. The lead independently verified objects, parents, normal merge-tree reconstruction and unchanged checkout routing to the UI job.The sole root, job 133360388135, failed
chat-snapshot-text-fidelity.e2e.test.ts:162: cached reader stability during active history refresh, two rounds=false/appended pairs=1. Retained row height stayed 3402.90625px while y moved −2259→−2237→−2236.609375 and scrollTop 6075→6053→6031, violating the existing 1px reader-preservation invariant. Its internal scroll-correction cause remains unresolved; this PR does not claim to fix it.Qualification is concrete source/execution exclusion, not a matching-main case or passing replay:
The evidence qualifies this reader invariant failure as unrelated to the changed behavior, while retaining its unresolved defect and exact red result. Gate 133367246431 follows the single root. Landing selects the documented unrelated/pre-existing-CI route under the standing scoped land instruction; current exact-head review, security, enforced reviews and live writer/ruleset authority remain mandatory. Qualification alone is not merge success or bypass permission.
Historical failures and incomplete AWS comparison
Previous f4 CI 43764179667, attempt 1, failed with 34 successful/28 skipped jobs, browser 1+5 and their downstream gate. Its tested merge d7e66a7 had baseline 1e7f1f7 and f4 as ordered parents. Temporary diagnostics had been removed; the whole f4 tree equaled pre-diagnostic e502.
One isolated AWS lease compared that exact base/merge with159 matching project/pool/file triplets, normal scheduling/1200s caps,65,202-file/two-symlink Git witnesses per arm, Node24.22.1/Vitest5.0.5/Chromium156 and separate cold caches. Affinity0–3 on32 CPUs/65.97GB was not identical CI hardware. Base816.177s/candidate814.183s each passed158 modules/651 cases with one setup failure. Shell-loading9/9 and three old tail modules4/4 passed both; navigation regressions lay outside that frozen shard, not removed to equalize it. Candidate184 setup-start records/base0 establish no blocking cost and were later removed.
Own preparation omitted WebKit, so overlay-menu-swap-webkit:20 failed setup identically although original CI passed it. Served-bundle identity and separate build-only timing were absent. This n1 partial pair is not speedup, distribution, timeout repair or inherited-CI qualification. Selected-engine correction was source-validated but unexecuted; shared-preview/private-build coverage stayed open. No new observer framework was added; lease release/cleanup were verified.
Older runs remain historical:673a6657/43600896050 had matched worker/type/WebKit failures, a base-reproduced390px spacing failure and unknown aggregate cutoff; e502/43700977822 passed other checks/navigation cases, had a matching WebKit190-vs30 baseline assertion, and unresolved shards2/6 deadlines; b7d8/43709320283 had three typed-lint conversions repaired on554 through source-push CI. Original failed evidence remains retained; unresolved aggregates were not relabeled inherited.
Before/after captures were requested about100ms after trusted Back. Baseline bounds104–140ms; candidate107–126ms. Synthetic data only, native clocks/animations; original captures, not new current-main measurements.
Contributor credit: @obviyus for the perceived-speed direction and @steipete for the performance campaign.
Work sessions
Linked for team reference; these sessions aren’t public.
Worked on by