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
This commit is contained in:
Joyce Er 2022-10-31 10:00:26 -07:00 committed by GitHub
parent 287d963f46
commit aa483cf6de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -295,7 +295,11 @@ export class EditSessionsContribution extends Disposable implements IWorkbenchCo
// Run the store action to get back a ref
let ref: string | undefined;
if (shouldStoreEditSession) {
ref = await that.storeEditSession(false);
ref = await that.progressService.withProgress({
location: ProgressLocation.Notification,
type: 'syncing',
title: localize('store your edit session', 'Storing your edit session...')
}, async () => that.storeEditSession(false));
}
let uri = workspaceUri ?? await that.pickContinueEditSessionDestination();