Skip to content

Only open new page if extension provides url - #1981

Open
JosephVolosin wants to merge 1 commit into
developfrom
fix/extensions-always-open-tabs
Open

Only open new page if extension provides url#1981
JosephVolosin wants to merge 1 commit into
developfrom
fix/extensions-always-open-tabs

Conversation

@JosephVolosin

@JosephVolosin JosephVolosin commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

This PR updates callExtension to only attempt to open a new window if the extension's response had a non-empty url parameter. Currently as written, a new tab is opened on success regardless of what is sent in the response.

ExtensionResponse is also updated to reflect url as an optional parameter in the response.

Based on the documentation, I think this is already how the feature is supposed to function. For reference

@sonarqubecloud

sonarqubecloud Bot commented Aug 5, 2026

Copy link
Copy Markdown

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.

1 participant