mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-23 01:25:38 -05:00
Add telemetry for opening dacpac wizard (#14884)
* add telemetry for opening dacpac wizard * add wizard open telemetry to core * fix tests * remove WizardOpen
This commit is contained in:
@@ -261,9 +261,13 @@ export class WizardModal extends Modal {
|
||||
() => undefined);
|
||||
}
|
||||
|
||||
public open(): void {
|
||||
/**
|
||||
* Opens the dialog to the first page
|
||||
* @param source Where the wizard was opened from for telemetry (ex: command palette, context menu)
|
||||
*/
|
||||
public open(source?: string): void {
|
||||
this.showPage(0, false, true).then(() => {
|
||||
this.show();
|
||||
this.show(source);
|
||||
}).catch(err => onUnexpectedError(err));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user