Add telemetry for schema compare and sql database projects options dialogs (#19799)

* add more telemetry for schema compare and sql projects options dialogs

* cleanup

* change to sendActionEvent
This commit is contained in:
Kim Santiago
2022-06-22 13:31:28 -07:00
committed by GitHub
parent c24305f9d8
commit a3cad2378c
5 changed files with 22 additions and 3 deletions

View File

@@ -916,7 +916,7 @@ export class PublishDatabaseDialog {
const optionsRow = view.modelBuilder.flexContainer().withItems([this.optionsButton], { CSSStyles: { flex: '0 0 auto', 'margin': '6px 0 0 287px' } }).withLayout({ flexFlow: 'row', alignItems: 'center' }).component();
this.toDispose.push(this.optionsButton.onDidClick(async () => {
TelemetryReporter.sendActionEvent(TelemetryViews.SqlProjectPublishDialog, TelemetryActions.publishConfigureOptionsClicked);
TelemetryReporter.sendActionEvent(TelemetryViews.SqlProjectPublishDialog, TelemetryActions.publishOptionsOpened);
// Create fresh options dialog with default selections each time when creating the 'configure options' button
this.publishOptionsDialog = new PublishOptionsDialog(this.deploymentOptions!, this);
this.publishOptionsDialog.openDialog();