Skip to content

add open in tab to resource menu - #915

Merged
SharonStrats merged 2 commits into
stagingfrom
open-tab
Nov 1, 2026
Merged

SharonStrats merged 2 commits into
stagingfrom
open-tab

Conversation

@SharonStrats

Copy link
Copy Markdown
Collaborator

Add an Open in New Tab menu item

@SharonStrats SharonStrats self-assigned this Nov 1, 2026
Copilot AI balanced review requested due to automatic review settings November 1, 2026 00:04

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

There are no active review issues blocking approval of the new resource-menu action.

No open issues 🎉

What changed in this PR

Adds an Open in New Tab action to the resource menu, allowing users to open the current resource directly.

Changes:

  • Shows the action and its icon when a resource URI is available.
  • Opens the full URI in a new tab with noopener,noreferrer.
  • Adds a test verifying the action preserves URI fragments and uses the expected window options.
File Description
src/​components/​resource-actions-menu/​ResourceActionsMenu.ts Adds the menu action, icon, and new-tab handler.
src/​components/​resource-actions-menu/​ResourceActionsMenu.test.ts Tests opening the resource URI, including its fragment.

Review effort: Balanced

@SharonStrats SharonStrats moved this to In review in SolidOS NLNet UI Nov 1, 2026
@SharonStrats
SharonStrats merged commit c612ca8 into staging Nov 1, 2026
9 checks passed
@github-project-automation github-project-automation Bot moved this from In review to Done in SolidOS NLNet UI Nov 1, 2026
@SharonStrats
SharonStrats deleted the open-tab branch November 1, 2026 00:11
@SharonStrats SharonStrats linked an issue Nov 1, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Feature Audit: Link icon - open resource in a new tab Missing an easy way to copy or click on a link to open in another browser tab.

2 participants