Repository navigation
feat: [1125] Let ui-link open in a new browser tab - #2380
Merged
Merged
Conversation
Links added to the Dashboard navigation with ui-link always opened in the same tab, replacing the Dashboard. Users linking to external tools had no way to keep the Dashboard open. Adds an "Open In" option to the ui-link config node with two choices, using plain wording rather than HTML target names: - "Same tab" (default, the existing behaviour) - "New tab" When "New tab" is selected the sidebar link is rendered with target="_blank" and rel="noopener". The node normalises missing or unknown values to "_self", and the editor shows "Same tab" for links created before this option existed, so existing flows keep their current behaviour. Includes a new ui-link config node test suite, en-US/de editor strings and docs for the new option.
n-lark
approved these changes
Nov 16, 2026
n-lark
left a comment
Contributor
There was a problem hiding this comment.
Thank you for the contribution, looks good!
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 an Open In option to the
ui-linkconfig node, so a link in the Dashboard navigation can open in a new browser tab and the Dashboard stays open.target="_blank"andrel="noopener"._self. The editor shows "Same tab" for links created before this option existed. Existing flows behave as before.ui-linkconfig node (test/nodes/config-nodes/ui_link.spec.js), en-US/de editor strings, and docs for the new option.The "named tab" idea from the issue comments is left out to keep this to the two options in the issue description. It can be added later as a third option.
Testing
npm testandnpm run lintpass.target="_blank" rel="noopener". Clicking it opens the URL in a new tab and leaves the Dashboard open._self.Related Issue(s)
Closes #1125