Render server-provided breadcrumbItems in qvt and vuet headers#247
Draft
kaevee wants to merge 1 commit intomoqui:masterfrom
Draft
Render server-provided breadcrumbItems in qvt and vuet headers#247kaevee wants to merge 1 commit intomoqui:masterfrom
kaevee wants to merge 1 commit intomoqui:masterfrom
Conversation
- update WebrootVue.qvt.ftl header breadcrumb area to iterate breadcrumbItems - update WebrootVue.vuet.ftl header breadcrumb area to iterate breadcrumbItems - preserve existing fallback behavior when breadcrumbItems is absent - render links when pathWithParams exists and plain text otherwise
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.
Render server-provided breadcrumbItems in qvt and vuet headers
Problem
The header breadcrumb rendering only displayed the default final nav title/path. With backend-provided custom breadcrumb state, UI should render each breadcrumb item with optional links.
Use Case
Some screens need custom breadcrumb trails (including intermediate links and non-link labels) that differ from default menu depth/title rendering, so users can navigate contextual paths correctly.
What Changed
WebrootVue.qvt.ftlheader breadcrumb area:breadcrumbItemsexists on the current nav item, iterate and render each item.<m-link>whenpathWithParamsexists; otherwise render plain text.WebrootVue.vuet.ftlwith equivalent behavior.breadcrumbItemsis absent.Behavior
navMenuList[last].breadcrumbItemsBackward Compatibility
breadcrumbItems.Validation
Manual checks:
pathWithParamsrenders as non-link text.breadcrumbItemsand verify existing fallback title behavior.Reviewer Focus
breadcrumbItemsis missing.Related PR