theming - track use of window.systemColorTheme (#211253)

This commit is contained in:
Benjamin Pasero 2024-04-24 15:50:15 +02:00 committed by GitHub
parent 38e2814f92
commit 192efe14c3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -410,6 +410,15 @@ class ConfigurationTelemetryContribution extends Disposable implements IWorkbenc
source: { classification: 'SystemMetaData'; purpose: 'FeatureInsight'; comment: 'source of the setting' };
}>('extensions.verifySignature', { settingValue: this.getValueToReport(key, target), source });
return;
case 'window.systemColorTheme':
this.telemetryService.publicLog2<UpdatedSettingEvent, {
owner: 'bpasero';
comment: 'This is used to know how system color theme is enforced';
settingValue: { classification: 'SystemMetaData'; purpose: 'FeatureInsight'; comment: 'value of the setting' };
source: { classification: 'SystemMetaData'; purpose: 'FeatureInsight'; comment: 'source of the setting' };
}>('window.systemColorTheme', { settingValue: this.getValueToReport(key, target), source });
return;
}
}