Skip to content

Commit

Permalink
Use modal dialog when in gitpod flex env (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanp413 authored Sep 25, 2024
1 parent 634a16d commit 9ee2404
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
Expand Down

0 comments on commit 9ee2404

Please sign in to comment.