Repository navigation
fix: avoid duplicate loading for dynamic Control UI links - #116197
Merged
shakkernerd merged 6 commits intoJul 30, 2026
Merged
Conversation
shakkernerd
force-pushed
the
workloop/load-dynamic-control-ui-deep-lin-e52cc98b
branch
from
July 30, 2026 03:03
0e998fe to
ce4c24e
Compare
shakkernerd
deleted the
workloop/load-dynamic-control-ui-deep-lin-e52cc98b
branch
July 30, 2026 03:04
Contributor
Author
|
Merged using rebase. What changed after review:
Verification:
Landed on
Thanks @shakkernerd! |
vincentkoc
added a commit
to zhangguiping-xydt/openclaw
that referenced
this pull request
Jul 30, 2026
* origin/main: style: format dynamic route coverage (openclaw#116197) docs: clarify dynamic deep link loading test: cover dynamic route startup reconnect refactor: keep dynamic route identity page-owned docs: note dynamic deep link loading fix: load dynamic deep links once fix(e2e): use default state for daemon switch (openclaw#116190) docs: clarify Buzz typing cadence (openclaw#116194) docs: document Buzz typing indicators feat: add Buzz typing indicators
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Jul 30, 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.
Closes #116193
What Problem This Solves
Fixes an issue where opening a dynamic Control UI link directly would execute the same route loader twice during startup.
This affected Agent, Chat, Dashboard, Workboard, Memory, and Plugins links, adding redundant work and potential Gateway traffic before the requested page became usable.
Why This Change Was Made
The initial loader result is now reused when the application replaces its temporary exact-match location with the real browser URL. Route identity remains owned by each page descriptor, and the generic router remains unchanged.
Later navigation to a different dynamic resource still receives a distinct loader identity and loads normally.
User Impact
Dynamic Control UI links now perform one initial route load. Reconnects do not rerun the active loader, and invalid paths continue to normalize correctly.
There are no visual changes.
Evidence
ui/src/app-route-paths.test.ts: 35/35 passed across all six dynamic route families, later history navigation, and invalid-path normalization.fetchCountremaining at one.pnpm check:changed: passed formatting, dead-export checks, i18n verification, core-test and UI typechecks, and lint.