@codingame/monaco-vscode-telemetry-service-override 15.0.0 → 15.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-telemetry-service-override",
|
|
3
|
-
"version": "15.0.
|
|
3
|
+
"version": "15.0.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - telemetry service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-411e0589-fa79-504b-b32c-80a88847b23a-common": "15.0.
|
|
19
|
-
"@codingame/monaco-vscode-7ba0af96-90c2-5e11-ad7f-befdbbf246c8-common": "15.0.
|
|
20
|
-
"@codingame/monaco-vscode-81f603ca-d6ea-5402-90dd-3014dffc63b4-common": "15.0.
|
|
21
|
-
"@codingame/monaco-vscode-api": "15.0.
|
|
18
|
+
"@codingame/monaco-vscode-411e0589-fa79-504b-b32c-80a88847b23a-common": "15.0.1",
|
|
19
|
+
"@codingame/monaco-vscode-7ba0af96-90c2-5e11-ad7f-befdbbf246c8-common": "15.0.1",
|
|
20
|
+
"@codingame/monaco-vscode-81f603ca-d6ea-5402-90dd-3014dffc63b4-common": "15.0.1",
|
|
21
|
+
"@codingame/monaco-vscode-api": "15.0.1",
|
|
22
22
|
"@microsoft/1ds-core-js": "3.2.18",
|
|
23
23
|
"@microsoft/1ds-post-js": "3.2.18"
|
|
24
24
|
},
|
|
@@ -20,7 +20,7 @@ let TelemetryLogAppender = class TelemetryLogAppender extends Disposable {
|
|
|
20
20
|
const justLoggingAndNotSending = isLoggingOnly(productService, environmentService);
|
|
21
21
|
const logSuffix = justLoggingAndNotSending ? ' (Not Sent)' : '';
|
|
22
22
|
this.logger = this._register(loggerService.createLogger(id, {
|
|
23
|
-
name: ( localize(
|
|
23
|
+
name: ( localize(1932, "Telemetry{0}", logSuffix)),
|
|
24
24
|
group: TelemetryLogGroup,
|
|
25
25
|
hidden: true
|
|
26
26
|
}));
|
|
@@ -103,30 +103,30 @@ TelemetryService = ( __decorate([
|
|
|
103
103
|
], TelemetryService));
|
|
104
104
|
function getTelemetryLevelSettingDescription() {
|
|
105
105
|
const telemetryText = ( localize(
|
|
106
|
-
|
|
106
|
+
1933,
|
|
107
107
|
"Controls {0} telemetry, first-party extension telemetry, and participating third-party extension telemetry. Some third party extensions might not respect this setting. Consult the specific extension's documentation to be sure. Telemetry helps us better understand how {0} is performing, where improvements need to be made, and how features are being used.",
|
|
108
108
|
product.nameLong
|
|
109
109
|
));
|
|
110
110
|
const externalLinksStatement = !product.privacyStatementUrl ?
|
|
111
111
|
( localize(
|
|
112
|
-
|
|
112
|
+
1934,
|
|
113
113
|
"Read more about the [data we collect]({0}).",
|
|
114
114
|
'https://aka.ms/vscode-telemetry'
|
|
115
115
|
)) :
|
|
116
116
|
( localize(
|
|
117
|
-
|
|
117
|
+
1935,
|
|
118
118
|
"Read more about the [data we collect]({0}) and our [privacy statement]({1}).",
|
|
119
119
|
'https://aka.ms/vscode-telemetry',
|
|
120
120
|
product.privacyStatementUrl
|
|
121
121
|
));
|
|
122
122
|
const restartString = !isWeb ? ( localize(
|
|
123
|
-
|
|
123
|
+
1936,
|
|
124
124
|
'A full restart of the application is necessary for crash reporting changes to take effect.'
|
|
125
125
|
)) : '';
|
|
126
|
-
const crashReportsHeader = ( localize(
|
|
127
|
-
const errorsHeader = ( localize(
|
|
128
|
-
const usageHeader = ( localize(
|
|
129
|
-
const telemetryTableDescription = ( localize(
|
|
126
|
+
const crashReportsHeader = ( localize(1937, "Crash Reports"));
|
|
127
|
+
const errorsHeader = ( localize(1938, "Error Telemetry"));
|
|
128
|
+
const usageHeader = ( localize(1939, "Usage Data"));
|
|
129
|
+
const telemetryTableDescription = ( localize(1940, "The following table outlines the data sent with each setting:"));
|
|
130
130
|
const telemetryTable = `
|
|
131
131
|
| | ${crashReportsHeader} | ${errorsHeader} | ${usageHeader} |
|
|
132
132
|
|:------|:---------------------:|:---------------:|:--------------:|
|
|
@@ -136,7 +136,7 @@ function getTelemetryLevelSettingDescription() {
|
|
|
136
136
|
| off | - | - | - |
|
|
137
137
|
`;
|
|
138
138
|
const deprecatedSettingNote = ( localize(
|
|
139
|
-
|
|
139
|
+
1941,
|
|
140
140
|
"****Note:*** If this setting is 'off', no telemetry will be sent regardless of other telemetry settings. If this setting is set to anything except 'off' and telemetry is disabled with deprecated settings, no telemetry will be sent.*"
|
|
141
141
|
));
|
|
142
142
|
const telemetryDescription = `
|
|
@@ -157,16 +157,16 @@ ${deprecatedSettingNote}
|
|
|
157
157
|
'id': TELEMETRY_SECTION_ID,
|
|
158
158
|
'order': 1,
|
|
159
159
|
'type': 'object',
|
|
160
|
-
'title': ( localize(
|
|
160
|
+
'title': ( localize(1942, "Telemetry")),
|
|
161
161
|
'properties': {
|
|
162
162
|
[TELEMETRY_SETTING_ID]: {
|
|
163
163
|
'type': 'string',
|
|
164
164
|
'enum': [TelemetryConfiguration.ON, TelemetryConfiguration.ERROR, TelemetryConfiguration.CRASH, TelemetryConfiguration.OFF],
|
|
165
165
|
'enumDescriptions': [
|
|
166
|
-
( localize(
|
|
167
|
-
( localize(
|
|
168
|
-
( localize(
|
|
169
|
-
( localize(
|
|
166
|
+
( localize(1943, "Sends usage data, errors, and crash reports.")),
|
|
167
|
+
( localize(1944, "Sends general error telemetry and crash reports.")),
|
|
168
|
+
( localize(1945, "Sends OS level crash reports.")),
|
|
169
|
+
( localize(1946, "Disables all product telemetry."))
|
|
170
170
|
],
|
|
171
171
|
'markdownDescription': getTelemetryLevelSettingDescription(),
|
|
172
172
|
'default': TelemetryConfiguration.ON,
|
|
@@ -180,18 +180,18 @@ ${deprecatedSettingNote}
|
|
|
180
180
|
'id': TELEMETRY_SECTION_ID,
|
|
181
181
|
'order': 110,
|
|
182
182
|
'type': 'object',
|
|
183
|
-
'title': ( localize(
|
|
183
|
+
'title': ( localize(1942, "Telemetry")),
|
|
184
184
|
'properties': {
|
|
185
185
|
[TELEMETRY_OLD_SETTING_ID]: {
|
|
186
186
|
'type': 'boolean',
|
|
187
187
|
'markdownDescription': !product.privacyStatementUrl ?
|
|
188
188
|
( localize(
|
|
189
|
-
|
|
189
|
+
1947,
|
|
190
190
|
"Enable diagnostic data to be collected. This helps us to better understand how {0} is performing and where improvements need to be made.",
|
|
191
191
|
product.nameLong
|
|
192
192
|
)) :
|
|
193
193
|
( localize(
|
|
194
|
-
|
|
194
|
+
1948,
|
|
195
195
|
"Enable diagnostic data to be collected. This helps us to better understand how {0} is performing and where improvements need to be made. [Read more]({1}) about what we collect and our privacy statement.",
|
|
196
196
|
product.nameLong,
|
|
197
197
|
product.privacyStatementUrl
|
|
@@ -199,7 +199,7 @@ ${deprecatedSettingNote}
|
|
|
199
199
|
'default': true,
|
|
200
200
|
'restricted': true,
|
|
201
201
|
'markdownDeprecationMessage': ( localize(
|
|
202
|
-
|
|
202
|
+
1949,
|
|
203
203
|
"If this setting is false, no telemetry will be sent regardless of the new setting's value. Deprecated in favor of the {0} setting.",
|
|
204
204
|
`\`#${TELEMETRY_SETTING_ID}#\``
|
|
205
205
|
)),
|
|
@@ -142,7 +142,7 @@ let TelemetryContribution = class TelemetryContribution extends Disposable {
|
|
|
142
142
|
constructor() {
|
|
143
143
|
super({
|
|
144
144
|
id: 'workbench.action.showTelemetry',
|
|
145
|
-
title: ( localize2(
|
|
145
|
+
title: ( localize2(9676, "Show Telemetry")),
|
|
146
146
|
category: Categories.Developer,
|
|
147
147
|
f1: true
|
|
148
148
|
});
|