Skip to content

Commit

Permalink
self review
Browse files Browse the repository at this point in the history
  • Loading branch information
mattseddon committed Apr 27, 2023
1 parent 152913e commit 86a4dba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions extension/src/experiments/commands/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
() =>
Expand All @@ -131,6 +131,6 @@ export const getShareExperimentToStudioCommand =
75
)

return Toast.delayProgressClosing()
return Toast.delayProgressClosing(15000)
})
}
4 changes: 2 additions & 2 deletions extension/src/vscode/toast.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ export class Toast {
})
}

static delayProgressClosing() {
return delay(5000)
static delayProgressClosing(ms = 5000) {
return delay(ms)
}

private static waitForResponse(
Expand Down

0 comments on commit 86a4dba

Please sign in to comment.