diff --git a/src/sql/workbench/services/accountManagement/browser/accountManagementService.ts b/src/sql/workbench/services/accountManagement/browser/accountManagementService.ts index 93718e1ae3..45c7278cda 100644 --- a/src/sql/workbench/services/accountManagement/browser/accountManagementService.ts +++ b/src/sql/workbench/services/accountManagement/browser/accountManagementService.ts @@ -25,6 +25,7 @@ import { values } from 'vs/base/common/collections'; import { onUnexpectedError } from 'vs/base/common/errors'; import { ILogService } from 'vs/platform/log/common/log'; import { INotificationService, Severity, INotification } from 'vs/platform/notification/common/notification'; +import { Action } from 'vs/base/common/actions'; export class AccountManagementService implements IAccountManagementService { // CONSTANTS /////////////////////////////////////////////////////////// @@ -119,11 +120,16 @@ export class AccountManagementService implements IAccountManagementService { * @return Promise to return an account */ public addAccount(providerId: string): Thenable { + const closeAction: Action = new Action('closeAddingAccount', localize('accountManagementService.close', "Close"), undefined, true); + const loginNotification: INotification = { severity: Severity.Info, message: localize('loggingIn', "Adding account..."), progress: { infinite: true + }, + actions: { + primary: [closeAction] } };