add new support request buttons (#16045)

* add new support request buttons

* hide feedback and new support incedent commands from command palette
This commit is contained in:
brian-harris
2021-08-02 13:29:27 -07:00
committed by GitHub
parent 244e27c2de
commit 919cc732b7
7 changed files with 55 additions and 1 deletions

View File

@@ -57,6 +57,9 @@ 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 () => {
const actionId = 'workbench.action.openIssueReporter';
const args = {
@@ -85,6 +88,11 @@ 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`));
}
stop(): void {
}