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

@@ -107,7 +107,7 @@ export class ProfilerFilterDialog extends Modal {
this._loadFilterButton = this.addFooterButton(LoadFilterText, () => this.loadSavedFilter(), 'left');
this._applyButton = this.addFooterButton(ApplyText, () => this.filterSession());
this._okButton = this.addFooterButton(OkText, () => this.handleOkButtonClick());
this._cancelButton = this.addFooterButton(CancelText, () => this.hide());
this._cancelButton = this.addFooterButton(CancelText, () => this.hide('cancel'));
this._register(attachButtonStyler(this._okButton, this._themeService));
this._register(attachButtonStyler(this._cancelButton, this._themeService));
this._register(attachButtonStyler(this._applyButton, this._themeService));
@@ -139,7 +139,7 @@ export class ProfilerFilterDialog extends Modal {
/* espace key */
protected onClose() {
this.hide();
this.hide('close');
}
/* enter key */
@@ -149,7 +149,7 @@ export class ProfilerFilterDialog extends Modal {
private handleOkButtonClick(): void {
this.filterSession();
this.hide();
this.hide('ok');
}
private handleClearButtonClick() {