mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 21:55:38 +00:00
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:
parent
287d963f46
commit
aa483cf6de
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue