From 9ee2404e340c660fba74816c2a89c83700a0ea56 Mon Sep 17 00:00:00 2001 From: Jean Pierre Date: Wed, 25 Sep 2024 10:17:26 -0500 Subject: [PATCH] Use modal dialog when in gitpod flex env (#112) --- package.json | 2 +- src/extension.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index c5c8ab9..044402f 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "displayName": "Gitpod", "description": "Gitpod Support", "publisher": "gitpod", - "version": "0.0.175", + "version": "0.0.176", "license": "MIT", "icon": "resources/gitpod.png", "repository": { diff --git a/src/extension.ts b/src/extension.ts index 8f6296b..a0e99b1 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -52,7 +52,7 @@ export async function activate(context: vscode.ExtensionContext) { try { const params: SSHConnectionParams = JSON.parse(uri.query); const openNewWindow = 'Use New Window'; - vscode.window.showInformationMessage(`We cannot open Gitpod workspace on ${params.gitpodHost} from a Gitpod Flex environment window.`, openNewWindow) + vscode.window.showWarningMessage(`We cannot open Gitpod workspace on ${params.gitpodHost} from a Gitpod Flex environment window.`, { modal: true }, openNewWindow) .then(action => { if (action === openNewWindow) { vscode.commands.executeCommand('vscode.newWindow', { remoteAuthority: null });