Add telemetry for ModelView wizards (#12596)

* Add telemetry for ModelView wizards

* Remove unnecessary params

* Fix compile error
This commit is contained in:
Charles Gagnon
2020-09-23 17:08:22 -07:00
committed by GitHub
parent 8bc7079d78
commit 807a4ae8c4
18 changed files with 40 additions and 42 deletions

View File

@@ -523,6 +523,10 @@ declare module 'azdata' {
}
export interface Wizard {
/**
* The name used to identify the wizard in telemetry
*/
name?: string;
/**
* Width of the wizard
*/
@@ -542,9 +546,10 @@ declare module 'azdata' {
/**
* Create a wizard with the given title and width
* @param title The title of the wizard
* @param name The name used to identify the wizard in telemetry
* @param width The width of the wizard, default value is 'narrow'
*/
export function createWizard(title: string, width?: DialogWidth): Wizard;
export function createWizard(title: string, name?: string, width?: DialogWidth): Wizard;
}
export interface DashboardTab extends Tab {