mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
Add old properties back until we retire them post nova
This commit is contained in:
parent
1374fa6aa7
commit
451372e82b
|
@ -79,6 +79,9 @@ export function getLocalExtensionTelemetryData(extension: ILocalExtension): any
|
|||
"id" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
|
||||
"name": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
|
||||
"galleryId": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
|
||||
"publisherId": { "classification": "PublicPersonalData", "purpose": "FeatureInsight" },
|
||||
"publisherName": { "classification": "PublicPersonalData", "purpose": "FeatureInsight" },
|
||||
"publisherDisplayName": { "classification": "PublicPersonalData", "purpose": "FeatureInsight" },
|
||||
"galleryPublisherId": { "classification": "PublicNonPersonalData", "purpose": "FeatureInsight" },
|
||||
"galleryPublisherName": { "classification": "PublicNonPersonalData", "purpose": "FeatureInsight" },
|
||||
"galleryPublisherDisplayName": { "classification": "PublicNonPersonalData", "purpose": "FeatureInsight" },
|
||||
|
@ -93,6 +96,9 @@ export function getGalleryExtensionTelemetryData(extension: IGalleryExtension):
|
|||
id: extension.identifier.id,
|
||||
name: extension.name,
|
||||
galleryId: extension.identifier.uuid,
|
||||
publisherId: extension.publisherId,
|
||||
publisherName: extension.publisher,
|
||||
publisherDisplayName: extension.publisherDisplayName,
|
||||
galleryPublisherId: extension.publisherId,
|
||||
galleryPublisherName: extension.publisher,
|
||||
galleryPublisherDisplayName: extension.publisherDisplayName,
|
||||
|
|
|
@ -423,6 +423,7 @@ function getTelemetryActivationEvent(extensionDescription: IExtensionDescription
|
|||
"TelemetryActivationEvent" : {
|
||||
"id": { "classification": "PublicNonPersonalData", "purpose": "FeatureInsight" },
|
||||
"name": { "classification": "PublicNonPersonalData", "purpose": "FeatureInsight" },
|
||||
"publisherDisplayName": { "classification": "PublicPersonalData", "purpose": "FeatureInsight" },
|
||||
"galleryPublisherDisplayName": { "classification": "PublicNonPersonalData", "purpose": "FeatureInsight" },
|
||||
"activationEvents": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
|
||||
"isBuiltin": { "classification": "SystemMetaData", "purpose": "FeatureInsight" }
|
||||
|
@ -431,6 +432,7 @@ function getTelemetryActivationEvent(extensionDescription: IExtensionDescription
|
|||
let event = {
|
||||
id: extensionDescription.id,
|
||||
name: extensionDescription.name,
|
||||
publisherDisplayName: extensionDescription.publisher,
|
||||
galleryPublisherDisplayName: extensionDescription.publisher,
|
||||
activationEvents: extensionDescription.activationEvents ? extensionDescription.activationEvents.join(',') : null,
|
||||
isBuiltin: extensionDescription.isBuiltin
|
||||
|
|
|
@ -362,6 +362,7 @@ export class WorkbenchThemeService implements IWorkbenchThemeService {
|
|||
"id" : { "classification": "PublicNonPersonalData", "purpose": "FeatureInsight" },
|
||||
"name": { "classification": "PublicNonPersonalData", "purpose": "FeatureInsight" },
|
||||
"isBuiltin": { "classification": "SystemMetaData", "purpose": "FeatureInsight", "isMeasurement": true },
|
||||
"publisherDisplayName": { "classification": "PublicPersonalData", "purpose": "FeatureInsight" },
|
||||
"galleryPublisherDisplayName": { "classification": "PublicNonPersonalData", "purpose": "FeatureInsight" },
|
||||
"themeId": { "classification": "PublicNonPersonalData", "purpose": "FeatureInsight" }
|
||||
}
|
||||
|
@ -370,6 +371,7 @@ export class WorkbenchThemeService implements IWorkbenchThemeService {
|
|||
id: themeData.extensionId,
|
||||
name: themeData.extensionName,
|
||||
isBuiltin: themeData.extensionIsBuiltin,
|
||||
publisherDisplayName: themeData.extensionPublisher,
|
||||
galleryPublisherDisplayName: themeData.extensionPublisher,
|
||||
themeId: themeId
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue