Skip to content

Commit 192efe1

Browse files
authored
theming - track use of window.systemColorTheme (microsoft#211253)
1 parent 38e2814 commit 192efe1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/vs/workbench/contrib/telemetry/browser/telemetry.contribution.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,15 @@ class ConfigurationTelemetryContribution extends Disposable implements IWorkbenc
410410
source: { classification: 'SystemMetaData'; purpose: 'FeatureInsight'; comment: 'source of the setting' };
411411
}>('extensions.verifySignature', { settingValue: this.getValueToReport(key, target), source });
412412
return;
413+
414+
case 'window.systemColorTheme':
415+
this.telemetryService.publicLog2<UpdatedSettingEvent, {
416+
owner: 'bpasero';
417+
comment: 'This is used to know how system color theme is enforced';
418+
settingValue: { classification: 'SystemMetaData'; purpose: 'FeatureInsight'; comment: 'value of the setting' };
419+
source: { classification: 'SystemMetaData'; purpose: 'FeatureInsight'; comment: 'source of the setting' };
420+
}>('window.systemColorTheme', { settingValue: this.getValueToReport(key, target), source });
421+
return;
413422
}
414423
}
415424

0 commit comments

Comments
 (0)