mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-27 17:23:21 -05:00
adding feedback dialog and support request buttons
This commit is contained in:
@@ -10,6 +10,7 @@ import { promises as fs } from 'fs';
|
||||
import * as loc from './constants/strings';
|
||||
import { MigrationNotebookInfo, NotebookPathHelper } from './constants/notebookPathHelper';
|
||||
import { IconPathHelper } from './constants/iconPathHelper';
|
||||
import { FeedbackDialog } from './dialog/feedbackDialog';
|
||||
import { DashboardWidget } from './dashboard/sqlServerDashboard';
|
||||
import { MigrationLocalStorage } from './models/migrationLocalStorage';
|
||||
|
||||
@@ -56,6 +57,12 @@ class SQLMigration {
|
||||
}),
|
||||
azdata.tasks.registerTask('sqlmigration.start', async () => {
|
||||
await this.launchMigrationWizard();
|
||||
}),
|
||||
azdata.tasks.registerTask('sqlmigration.newsupportrequest', async () => {
|
||||
await this.launchNewSupportRequest();
|
||||
}),
|
||||
azdata.tasks.registerTask('sqlmigration.sendfeedback', async () => {
|
||||
await this.sendFeedback();
|
||||
})
|
||||
];
|
||||
|
||||
@@ -77,6 +84,16 @@ class SQLMigration {
|
||||
await wizardController.openWizard(connectionId);
|
||||
}
|
||||
|
||||
async launchNewSupportRequest(): Promise<void> {
|
||||
await vscode.env.openExternal(vscode.Uri.parse(
|
||||
`https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/newsupportrequest`));
|
||||
}
|
||||
|
||||
async sendFeedback(): Promise<void> {
|
||||
const dialog = new FeedbackDialog();
|
||||
await dialog.openDialog();
|
||||
}
|
||||
|
||||
stop(): void {
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user