mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-05 17:23:51 -05:00
First check in for Migration Dashboard (#14309)
* Adding Dashboard Fixing auth keys api create status Dialog * making some changes requested in the PR * switched to text component from dom component * Adding TODO comment * Fixing image url to work on windows * Fixing stuff pointed out in PR comments * adding return type to dasboard register function * Adding more todos
This commit is contained in:
@@ -11,21 +11,37 @@ export interface IconPath {
|
||||
}
|
||||
|
||||
export class IconPathHelper {
|
||||
private static context: vscode.ExtensionContext;
|
||||
|
||||
public static copy: IconPath;
|
||||
public static refresh: IconPath;
|
||||
public static sqlMiImportHelpThumbnail: IconPath;
|
||||
public static sqlVmImportHelpThumbnail: IconPath;
|
||||
public static migrationDashboardHeaderBackground: IconPath;
|
||||
public static sqlMigrationLogo: IconPath;
|
||||
|
||||
public static setExtensionContext(context: vscode.ExtensionContext) {
|
||||
IconPathHelper.context = context;
|
||||
IconPathHelper.copy = {
|
||||
light: IconPathHelper.context.asAbsolutePath('images/copy.svg'),
|
||||
dark: IconPathHelper.context.asAbsolutePath('images/copy.svg')
|
||||
light: context.asAbsolutePath('images/copy.svg'),
|
||||
dark: context.asAbsolutePath('images/copy.svg')
|
||||
};
|
||||
IconPathHelper.refresh = {
|
||||
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.sqlVmImportHelpThumbnail = {
|
||||
light: context.asAbsolutePath('images/sqlVmImportHelpThumbnail.svg'),
|
||||
dark: context.asAbsolutePath('images/sqlVmImportHelpThumbnail.svg')
|
||||
};
|
||||
IconPathHelper.migrationDashboardHeaderBackground = {
|
||||
light: context.asAbsolutePath('images/background.svg'),
|
||||
dark: context.asAbsolutePath('images/background.svg')
|
||||
};
|
||||
IconPathHelper.sqlMigrationLogo = {
|
||||
light: context.asAbsolutePath('images/migration.svg'),
|
||||
dark: context.asAbsolutePath('images/migration.svg')
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user