Repository navigation
fix(ui): keep explicit navigation ahead of chat canonicalization - #115366
Merged
Merged
Conversation
Contributor
Author
|
Merged via squash.
|
vincentkoc
added a commit
that referenced
this pull request
Jul 28, 2026
…etwork-none * origin/main: (74 commits) fix(ui): make Control UI ownership and permissions reliable (#115364) feat(system-agent): host memory import in Ask OpenClaw (#115376) fix(chat): preserve literal Markdown image examples (#113904) refactor(chat): keep web and terminal sessions synchronized (#115377) fix(ui): order model picker by provider strength (#115380) feat(ui): make Memory settings a destination page with live overview and dreams (#115383) docs(security): fix warning line wrap (#115388) fix(memory-core): avoid cubic MMR similarity rescans (#113359) fix(discord): preserve code-leading reasoning chunks (#103166) fix(slack): protect outbound hooks from previews fix(ui): keep explicit navigation ahead of chat canonicalization (#115366) fix(exec): safely cancel pending node approvals (#115373) fix: make Code Mode reliable across gateway and provider lifecycles (#115379) perf(ui): debounce event-driven session list refreshes and right-size child paging (#115374) feat(talk): support GPT-Live realtime voice over ChatGPT OAuth (#115226) feat(system-agent): guide gateway configuration in Ask OpenClaw (#115363) fix(agents): make overflow recovery append-only via branch-and-reappend (#115271) (#115310) fix(macos): bound websocket ping so a dropped pong cannot orphan its continuation (#115362) fix(codex): isolate native hook relay startup (#115078) fix(ci): stop reviving superseded pull request workflows (#115378) ... # Conflicts: # CHANGELOG.md
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Jul 29, 2026
…nclaw#115366) * fix(ui): preserve navigation during chat canonicalization * refactor(ui): extract chat canonicalization ownership * style(ui): keep chat page within line budget * refactor(ui): trim chat page layout helpers * style(ui): format canonicalization changes
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.
Closes #115297
What Problem This Solves
Fixes an issue where an explicit Control UI navigation could be overwritten by a late chat-route canonicalization when the Gateway and lazy route imports settled under load. In CI this appeared as rotating
checks-ui-e2etimeouts: the requested URL briefly appeared, then the app returned to the old chat route and the awaited page never mounted.Why This Change Was Made
Chat route data now carries the exact source location that produced any immediate or deferred canonical rewrite.
ChatPageapplies the rewrite only while it still owns that source location, with one narrow exception for consuming the source route's own one-shotdraftparameter. A newer route or a new/changed draft remains authoritative.This complements #115320's browser-side route readiness helpers and 8-vCPU CI runner. Those changes make the lane less timing-sensitive; this change removes the production race that the loaded reproducer exposed.
User Impact
Explicit navigation—such as opening Settings while the initial chat route is still resolving—no longer jumps back to chat. Pull requests also stop depending on whether that stale continuation happens to win on the CI runner.
Evidence
/settings/general, then timed out after the app returned to/chat/main; the unchanged rerun passed.chat, no pending match, URL/chat/main.AI-assisted: yes. The implementation and every reviewer finding were verified against the route owner, the current app code, and
@openclaw/uirouter0.1.0 source/types.