Add deep links to Quantum OS portal for V2 workspaces and jobs#3123
Merged
ScottCarda-MS merged 6 commits intomainfrom Apr 15, 2026
Merged
Add deep links to Quantum OS portal for V2 workspaces and jobs#3123ScottCarda-MS merged 6 commits intomainfrom
ScottCarda-MS merged 6 commits intomainfrom
Conversation
minestarks
reviewed
Apr 15, 2026
minestarks
approved these changes
Apr 15, 2026
Member
minestarks
left a comment
There was a problem hiding this comment.
looks good (and works well on my machine) - small refactoring suggestion
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.
Summary
Adds portal deep link buttons to the Quantum Workspaces panel for workspaces
and jobs hosted on V2 (Quantum OS) endpoints.
Changes
Workspace links
The existing "Open the workspace in the web portal" button on workspace tree
items now links to the Quantum OS portal (
manage.quantum.microsoft.com)for V2 workspaces, instead of the Azure Portal. V1 workspaces are unchanged.
The URL includes fragment parameters so the portal can navigate directly to
the correct workspace:
tenantId,subscriptionId,role,offeringId,and
workspaceId.Job links
A new "Open the job in the web portal" inline button (
$(link-external)) isadded to job tree items, but only for jobs under V2 workspaces. This is
achieved by appending a
-v2suffix to thecontextValueof job tree itemsthat belong to V2 workspaces, and gating the button's
whenclause on thosecontext values.
All existing job buttons (delete, cancel, download results) are updated to
also match the
-v2context values so they continue to work for V2 workspacejobs.
Files changed
src/azure/workspaceActions.ts–getWorkspacePortalLinkupdated for V2;new
getQuantumOsJobLinkfunction addedsrc/azure/treeView.ts– V2 detection added to job tree item construction;-v2suffix applied tocontextValuefor V2 workspace jobssrc/azure/commands.ts–jobOpenPortalcommand registeredpackage.json–jobOpenPortalcommand defined;view/item/contextmenuentries added/updated for all job buttons
Screenshots