diff --git a/extension/src/experiments/commands/index.ts b/extension/src/experiments/commands/index.ts index 972fb0bc4d..12c559664a 100644 --- a/extension/src/experiments/commands/index.ts +++ b/extension/src/experiments/commands/index.ts @@ -115,10 +115,10 @@ export const getShareExperimentToStudioCommand = return commands.executeCommand(RegisteredCommands.SETUP_SHOW) } - return Toast.showProgress('Pushing Experiment', async progress => { + return Toast.showProgress('Sharing', async progress => { progress.report({ increment: 0 }) - progress.report({ increment: 25, message: 'Pushing experiment...' }) + progress.report({ increment: 25, message: 'Running exp push...' }) await Toast.runCommandAndIncrementProgress( () => @@ -131,6 +131,6 @@ export const getShareExperimentToStudioCommand = 75 ) - return Toast.delayProgressClosing() + return Toast.delayProgressClosing(15000) }) } diff --git a/extension/src/vscode/toast.ts b/extension/src/vscode/toast.ts index 641e108a65..d8006950a2 100644 --- a/extension/src/vscode/toast.ts +++ b/extension/src/vscode/toast.ts @@ -75,8 +75,8 @@ export class Toast { }) } - static delayProgressClosing() { - return delay(5000) + static delayProgressClosing(ms = 5000) { + return delay(ms) } private static waitForResponse(