Skip to content

Conversation

@fedepini
Copy link
Contributor

@fedepini fedepini commented Jan 16, 2026

This PR introduces the resourceURLPathExtension property for navigate actions in widgets that support it.

Currently, a navigate action can redirect either to a string-based path or to a resource (i.e. another widget) via the resourceRefId key. This new feature applies to the latter case and allows defining a custom URL path extension, which is a string that is appended to the current URL location during navigation.

Consider the following scenario: a Button redirects to a resource using resourceRefId.
Screenshot 2026-01-16 alle 17 09 02

This is what happens after clicking the button when no resourceURLPathExtension is specified:
Screenshot 2026-01-16 alle 16 50 46

After the redirect, the target resource is displayed on a page with a different URL but the same title (in the breadcrumb). In the UI, the only difference between the two pages is their content.

When a resourceURLPathExtension is set (in this example button-dashboard), the behaviour changes as follows:
Screenshot 2026-01-16 alle 17 15 50

After the redirect, the target resource is displayed on a page with a different title (in the breadcrumb), clearly emphasizing the distinction between the two pages.

Additionally, this PR fixes a Sidebar bug that prevented the selected key from being displayed correctly when using complex URLs.

@fedepini fedepini self-assigned this Jan 16, 2026
@fedepini fedepini changed the title feat: add customized URL prefix property to navigate action feat: add customized URL path extension property to navigate action Jan 16, 2026
@fedepini fedepini merged commit be3c2ff into main Jan 22, 2026
2 checks passed
@fedepini fedepini deleted the fix/navigation-prefix branch January 22, 2026 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants