Skip to content

feat: expose page title resolution as public API#24598

Draft
Artur- wants to merge 1 commit into
mainfrom
public-get-title
Draft

feat: expose page title resolution as public API#24598
Artur- wants to merge 1 commit into
mainfrom
public-get-title

Conversation

@Artur-

@Artur- Artur- commented Jun 12, 2026

Copy link
Copy Markdown
Member

Add RouteConfiguration.getPageTitle for resolving the page title of a navigation target without instantiating it, applying the same DynamicPageTitle generator / default PageTitleGenerator / static PageTitle chain used during navigation. A RouteParentReference overload makes it easy to resolve titles for getRouteHierarchy entries, e.g. for breadcrumb trails.

Previously this resolution chain was only reachable through the internal RouteUtil.resolvePageTitle.

Add RouteConfiguration.getPageTitle for resolving the page title of a
navigation target without instantiating it, applying the same
DynamicPageTitle generator / default PageTitleGenerator / static
PageTitle chain used during navigation. A RouteParentReference overload
makes it easy to resolve titles for getRouteHierarchy entries, e.g. for
breadcrumb trails.

Previously this resolution chain was only reachable through the internal
RouteUtil.resolvePageTitle.
@sonarqubecloud

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

Test Results

 1 447 files  ±0   1 447 suites  ±0   1h 23m 48s ⏱️ - 1m 17s
10 223 tests +3  10 155 ✅ +3  68 💤 ±0  0 ❌ ±0 
10 695 runs  +3  10 626 ✅ +3  69 💤 ±0  0 ❌ ±0 

Results for commit f889df9. ± Comparison against base commit 6d800e0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant