Adding migration status and cutover to extension (#14482)

This commit is contained in:
Aasim Khan
2021-03-02 17:11:17 -08:00
committed by GitHub
parent 1e67388653
commit f2ae5419bb
33 changed files with 1452 additions and 236 deletions

View File

@@ -13,10 +13,14 @@ export interface IconPath {
export class IconPathHelper {
public static copy: IconPath;
public static refresh: IconPath;
public static sqlMiImportHelpThumbnail: IconPath;
public static sqlVmImportHelpThumbnail: IconPath;
public static migrationDashboardHeaderBackground: IconPath;
public static cutover: IconPath;
public static sqlMigrationLogo: IconPath;
public static sqlMiVideoThumbnail: IconPath;
public static sqlVmVideoThumbnail: IconPath;
public static migrationDashboardHeaderBackground: IconPath;
public static inProgressMigration: IconPath;
public static completedMigration: IconPath;
public static notStartedMigration: IconPath;
public static setExtensionContext(context: vscode.ExtensionContext) {
IconPathHelper.copy = {
@@ -27,13 +31,13 @@ export class IconPathHelper {
light: context.asAbsolutePath('images/refresh.svg'),
dark: context.asAbsolutePath('images/refresh.svg')
};
IconPathHelper.sqlMiImportHelpThumbnail = {
light: context.asAbsolutePath('images/sqlMiImportHelpThumbnail.svg'),
dark: context.asAbsolutePath('images/sqlMiImportHelpThumbnail.svg')
IconPathHelper.sqlMiVideoThumbnail = {
light: context.asAbsolutePath('images/sqlMiVideoThumbnail.svg'),
dark: context.asAbsolutePath('images/sqlMiVideoThumbnail.svg')
};
IconPathHelper.sqlVmImportHelpThumbnail = {
light: context.asAbsolutePath('images/sqlVmImportHelpThumbnail.svg'),
dark: context.asAbsolutePath('images/sqlVmImportHelpThumbnail.svg')
IconPathHelper.sqlVmVideoThumbnail = {
light: context.asAbsolutePath('images/sqlVmVideoThumbnail.svg'),
dark: context.asAbsolutePath('images/sqlVmVideoThumbnail.svg')
};
IconPathHelper.migrationDashboardHeaderBackground = {
light: context.asAbsolutePath('images/background.svg'),
@@ -43,5 +47,21 @@ export class IconPathHelper {
light: context.asAbsolutePath('images/migration.svg'),
dark: context.asAbsolutePath('images/migration.svg')
};
IconPathHelper.inProgressMigration = {
light: context.asAbsolutePath('images/inProgress.svg'),
dark: context.asAbsolutePath('images/inProgress.svg')
};
IconPathHelper.completedMigration = {
light: context.asAbsolutePath('images/succeeded.svg'),
dark: context.asAbsolutePath('images/succeeded.svg')
};
IconPathHelper.notStartedMigration = {
light: context.asAbsolutePath('images/notStarted.svg'),
dark: context.asAbsolutePath('images/notStarted.svg')
};
IconPathHelper.cutover = {
light: context.asAbsolutePath('images/cutover.svg'),
dark: context.asAbsolutePath('images/cutover.svg')
};
}
}