feat: Add external breadcrumbs widget consumer - #4984
Open
ajsuvarna6 wants to merge 4 commits into
Open
ajsuvarna6 wants to merge 4 commits into
ajsuvarna6 wants to merge 4 commits into
Conversation
georgylobko
requested review from
georgylobko
and removed request for
avinashbot
September 14, 2026 12:19
This branch has not been deployed
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.
Description
Adds a widget API consumer channel that allows Global Navigation or another external container to render App Layout breadcrumbs without requiring console teams to update their bundled App Layout or BreadcrumbGroup components.
registerBreadcrumbsConsumerreceives slot-based and discovered breadcrumb updates, preserves the producing BreadcrumbGroup handlers, and makes App Layout yield rendering while the consumer is registered. Unregistering the consumer restores rendering in App Layout. The consumer registry is shared through the highest accessible same-origin window so separate console roots can use one consumer.A console bootstrap script can reserve ownership before Global Navigation registers by setting:
This prevents the widgetized App Layout toolbar from rendering breadcrumbs during late consumer loading. The reservation remains active until the script clears the boolean. If the App Layout widget itself loads asynchronously, the console-bundled pre-widget skeleton can still render breadcrumbs until the widget becomes active.
The runtime implementation is contained in widget-delivered App Layout and internal widget files. Five development pages cover late consumer loading, startup reservation, multiple App Layouts, separate iframe roots, and router-style hidden iframe instances.
Related links, issue #, if available: n/a
How has this been tested?
git diff --check.npm run quick-buildandnpm run build.Reviewers can use these pages with
?visualRefresh=true&appLayoutToolbar=true:app-layout/global-nav-breadcrumbsapp-layout/global-nav-breadcrumbs-reservedapp-layout/global-nav-breadcrumbs-multi-layoutapp-layout/global-nav-breadcrumbs-multi-instanceapp-layout/global-nav-breadcrumbs-hidden-instances-iframeReview checklist
The following items are to be evaluated by the author(s) and the reviewer(s).
Correctness
CONTRIBUTING.md.CONTRIBUTING.md.Security
Testing
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.