Add new wizard for login migrations experience (#21317)

This commit is contained in:
AkshayMata
2022-12-17 12:11:25 -05:00
committed by GitHub
parent ff4dc9fe86
commit e223b4e870
22 changed files with 2569 additions and 50 deletions

View File

@@ -5,6 +5,8 @@
import * as azdata from 'azdata';
import { MigrationStateModel, StateChangeEvent } from './stateMachine';
import { ShowStatusMessageDialog } from '../dialog/generic/genericDialogs';
export abstract class MigrationWizardPage {
constructor(
protected readonly wizard: azdata.window.Wizard,
@@ -80,4 +82,12 @@ export abstract class MigrationWizardPage {
const current = this.wizard.currentPage;
await this.wizard.setCurrentPage(current + 1);
}
protected showDialogMessage(
title: string,
statusMessage: string,
errorMessage: string,
): void {
ShowStatusMessageDialog(title, statusMessage, errorMessage);
}
}