Skip to content

Commit aa483cf

Browse files
authored
Show progress when storing edit session as part of Continue On flow (#164903)
* Show progress when storing edit session as part of Continue On flow * Port release fix
1 parent 287d963 commit aa483cf

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

+5-1
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)