Skip to content

Fix stale dotAdmin UVE breadcrumb title on page navigation#35819

Draft
Copilot wants to merge 2 commits into
mainfrom
copilot/fix-dotadmin-header-title
Draft

Fix stale dotAdmin UVE breadcrumb title on page navigation#35819
Copilot wants to merge 2 commits into
mainfrom
copilot/fix-dotadmin-header-title

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 23, 2026

Proposed Changes

  • Breadcrumb update timing
    • Make the UVE breadcrumb effect read pageParams().url untracked, so the breadcrumb updates from the newly loaded pageAsset instead of reacting early to route param changes and reusing the previous page title.
  • Regression coverage
    • Add a shell-level test that simulates a delayed page load and verifies the breadcrumb is not updated until the new page response arrives.
const currentPageUrl = untracked(() => this.uveStore.pageParams()?.url);

this.#globalStore.addNewBreadcrumb({
    label: page?.title,
    url: currentPageUrl,
    id: `${page?.identifier}`
});

Checklist

  • Tests
  • Translations
  • Security Implications Contemplated (frontend state timing change only; no new data flow or privilege impact)

Additional Info

The issue was caused by the breadcrumb effect depending on both the current page asset and the current page params. During navigation, params changed before the new page response arrived, so the header could momentarily pair the new URL with the previous page title and remain one page behind.

Scope is limited to the UVE shell breadcrumb path; existing breadcrumb behavior for other portlets is untouched.

Screenshots

Original Updated
N/A Updated UVE breadcrumb behavior

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • opencollective.com
    • Triggering command: /opt/hostedtoolcache/node/24.15.0/x64/bin/node /opt/hostedtoolcache/node/24.15.0/x64/bin/node /home/REDACTED/work/core/core/core-web/node_modules/document-register-element/node_modules/.bin/lightercollective (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI changed the title [WIP] Fix stale page title in dotAdmin header during navigation Fix stale dotAdmin UVE breadcrumb title on page navigation May 23, 2026
Copilot AI requested a review from fmontes May 23, 2026 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

UVE: dotAdmin header shows stale page title when navigating between pages in editor

2 participants