Skip to content

[feat]: Add "Open in new tab" button next to copy button for URLs in service action results #3218

Description

@nachorito

Prerequisites

Describe the Feature Request

Problem

When a service action returns a URL,
the only way to act on it is to click the copy button, switch tabs, paste, and hit enter.

For URLs that point to another service running on the same StartOS instance, the user
already has browser access — there's no reason they should have to copy-paste.

Proposed change

Next to the existing copy button on URL fields in action results, add an "open in new tab"
button (e.g. an external-link icon) that opens the URL in a new browser tab via
target="_blank" rel="noopener noreferrer".

Example

Image

The BTCPay "Approve on BTCPay to finish connecting" dialog shows the auth URL with only
a copy button. An "open in new tab" button would let the user click straight through
to authorize.

Scope

Ideally this applies to any URL rendered in an action result.
Service actions may return links (admin panels, auth flows, status pages).

Describe the Use Case

Allows click through to links from service actions

Describe Preferred Solution

No response

Describe Alternatives

No response

Anything else?

No response

Metadata

Metadata

Assignees

Labels

EnhancementNew feature or request

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions