Skip to content

Commit 9457382

Browse files
authored
Show progress when storing edit session as part of Continue On flow (microsoft#164904)
* Show progress when storing edit session as part of Continue On flow * Update eslint
1 parent 785b66c commit 9457382

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/vs/workbench/contrib/editSessions/browser/editSessions.contribution.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,11 @@ export class EditSessionsContribution extends Disposable implements IWorkbenchCo
295295
// Run the store action to get back a ref
296296
let ref: string | undefined;
297297
if (shouldStoreEditSession) {
298-
ref = await that.storeEditSession(false);
298+
ref = await that.progressService.withProgress({
299+
location: ProgressLocation.Notification,
300+
type: 'syncing',
301+
title: localize('store your edit session', 'Storing your edit session...')
302+
}, async () => that.storeEditSession(false));
299303
}
300304

301305
let uri = workspaceUri ?? await that.pickContinueEditSessionDestination();

0 commit comments

Comments
 (0)