From 4ace4391f48ef3a5ec5f6afea0e49f6b0a69c25b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Pallar=C3=A9s?= Date: Fri, 5 Sep 2025 17:46:21 +0200 Subject: [PATCH] feat: use a modal for the installation choices instead of a quick pick A modal is now used instead of a quick pick. Modals are much more intentional, specially for choosing the installation method of the LocalStack CLI. --- src/utils/install.ts | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/src/utils/install.ts b/src/utils/install.ts index 5e57d66..21a6220 100644 --- a/src/utils/install.ts +++ b/src/utils/install.ts @@ -90,23 +90,19 @@ export async function runInstallProcess( message: "Choose installation scope...", }); - const installScope = await window.showQuickPick( - [ - { - label: "Local (just me)", - description: "Install LocalStack CLI for current user only", - value: "local", - }, - { - label: "Global (all users)", - description: - "Install LocalStack CLI for all users (requires admin privileges)", - value: "global", - }, - ], + const installScope = await window.showInformationMessage( + "Choose a LocalStack CLI installation scope", { - placeHolder: "Select installation scope", - ignoreFocusOut: true, + modal: true, + }, + + { + title: "Install for current user only", + value: "local", + }, + { + title: "Install for all users", + value: "global", }, );