@codingame/monaco-vscode-telemetry-service-override 18.3.1 → 19.0.0
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 +3 -4
- package/vscode/src/vs/platform/telemetry/common/telemetryLogAppender.js +1 -1
- package/vscode/src/vs/platform/telemetry/common/telemetryService.js +19 -19
- package/vscode/src/vs/workbench/contrib/telemetry/browser/telemetry.contribution.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/telemetry/browser/telemetry.contribution.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-telemetry-service-override",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "19.0.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - telemetry service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,9 +15,8 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-34a0ffd3-b9f5-5699-b43b-38af5732f38a-common": "
|
|
19
|
-
"@codingame/monaco-vscode-
|
|
20
|
-
"@codingame/monaco-vscode-api": "18.3.1",
|
|
18
|
+
"@codingame/monaco-vscode-34a0ffd3-b9f5-5699-b43b-38af5732f38a-common": "19.0.0",
|
|
19
|
+
"@codingame/monaco-vscode-api": "19.0.0",
|
|
21
20
|
"@microsoft/1ds-core-js": "3.2.18",
|
|
22
21
|
"@microsoft/1ds-post-js": "3.2.18"
|
|
23
22
|
},
|
|
@@ -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(2007, "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
|
+
2008,
|
|
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
|
+
2009,
|
|
113
113
|
"Read more about the [data we collect]({0}).",
|
|
114
114
|
'https://aka.ms/vscode-telemetry'
|
|
115
115
|
)) :
|
|
116
116
|
( localize(
|
|
117
|
-
|
|
117
|
+
2010,
|
|
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
|
+
2011,
|
|
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(2012, "Crash Reports"));
|
|
127
|
+
const errorsHeader = ( localize(2013, "Error Telemetry"));
|
|
128
|
+
const usageHeader = ( localize(2014, "Usage Data"));
|
|
129
|
+
const telemetryTableDescription = ( localize(2015, "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
|
+
2016,
|
|
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 = `
|
|
@@ -158,16 +158,16 @@ configurationRegistry.registerConfiguration({
|
|
|
158
158
|
'id': TELEMETRY_SECTION_ID,
|
|
159
159
|
'order': 1,
|
|
160
160
|
'type': 'object',
|
|
161
|
-
'title': ( localize(
|
|
161
|
+
'title': ( localize(2017, "Telemetry")),
|
|
162
162
|
'properties': {
|
|
163
163
|
[TELEMETRY_SETTING_ID]: {
|
|
164
164
|
'type': 'string',
|
|
165
165
|
'enum': [TelemetryConfiguration.ON, TelemetryConfiguration.ERROR, TelemetryConfiguration.CRASH, TelemetryConfiguration.OFF],
|
|
166
166
|
'enumDescriptions': [
|
|
167
|
-
( localize(
|
|
168
|
-
( localize(
|
|
169
|
-
( localize(
|
|
170
|
-
( localize(
|
|
167
|
+
( localize(2018, "Sends usage data, errors, and crash reports.")),
|
|
168
|
+
( localize(2019, "Sends general error telemetry and crash reports.")),
|
|
169
|
+
( localize(2020, "Sends OS level crash reports.")),
|
|
170
|
+
( localize(2021, "Disables all product telemetry."))
|
|
171
171
|
],
|
|
172
172
|
'markdownDescription': getTelemetryLevelSettingDescription(),
|
|
173
173
|
'default': TelemetryConfiguration.ON,
|
|
@@ -177,14 +177,14 @@ configurationRegistry.registerConfiguration({
|
|
|
177
177
|
'policy': {
|
|
178
178
|
name: 'TelemetryLevel',
|
|
179
179
|
minimumVersion: '1.99',
|
|
180
|
-
description: ( localize(
|
|
180
|
+
description: ( localize(2022, "Controls the level of telemetry.")),
|
|
181
181
|
}
|
|
182
182
|
},
|
|
183
183
|
'telemetry.feedback.enabled': {
|
|
184
184
|
type: 'boolean',
|
|
185
185
|
default: true,
|
|
186
186
|
description: ( localize(
|
|
187
|
-
|
|
187
|
+
2023,
|
|
188
188
|
"Enable feedback mechanisms such as the issue reporter, surveys, and feedback options in features like Copilot Chat."
|
|
189
189
|
)),
|
|
190
190
|
policy: {
|
|
@@ -196,12 +196,12 @@ configurationRegistry.registerConfiguration({
|
|
|
196
196
|
'type': 'boolean',
|
|
197
197
|
'markdownDescription': !product.privacyStatementUrl ?
|
|
198
198
|
( localize(
|
|
199
|
-
|
|
199
|
+
2024,
|
|
200
200
|
"Enable diagnostic data to be collected. This helps us to better understand how {0} is performing and where improvements need to be made.",
|
|
201
201
|
product.nameLong
|
|
202
202
|
)) :
|
|
203
203
|
( localize(
|
|
204
|
-
|
|
204
|
+
2025,
|
|
205
205
|
"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.",
|
|
206
206
|
product.nameLong,
|
|
207
207
|
product.privacyStatementUrl
|
|
@@ -209,7 +209,7 @@ configurationRegistry.registerConfiguration({
|
|
|
209
209
|
'default': true,
|
|
210
210
|
'restricted': true,
|
|
211
211
|
'markdownDeprecationMessage': ( localize(
|
|
212
|
-
|
|
212
|
+
2026,
|
|
213
213
|
"If this setting is false, no telemetry will be sent regardless of the new setting's value. Deprecated in favor of the {0} setting.",
|
|
214
214
|
`\`#${TELEMETRY_SETTING_ID}#\``
|
|
215
215
|
)),
|
|
@@ -4,7 +4,7 @@ import { ITelemetryService } from "@codingame/monaco-vscode-api/vscode/vs/platfo
|
|
|
4
4
|
import { IWorkspaceContextService } from "@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace.service";
|
|
5
5
|
import { IEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service";
|
|
6
6
|
import { IKeybindingService } from "@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybinding.service";
|
|
7
|
-
import { IWorkbenchThemeService } from "@codingame/monaco-vscode-
|
|
7
|
+
import { IWorkbenchThemeService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/themes/common/workbenchThemeService.service";
|
|
8
8
|
import { IWorkbenchEnvironmentService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/environment/common/environmentService.service";
|
|
9
9
|
import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
10
10
|
import { ITextFileService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/textfile/common/textfiles.service";
|
|
@@ -9,7 +9,7 @@ import { WorkbenchState } from '@codingame/monaco-vscode-api/vscode/vs/platform/
|
|
|
9
9
|
import { IWorkspaceContextService } from '@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace.service';
|
|
10
10
|
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
11
11
|
import { IKeybindingService } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybinding.service';
|
|
12
|
-
import { IWorkbenchThemeService } from '@codingame/monaco-vscode-
|
|
12
|
+
import { IWorkbenchThemeService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/themes/common/workbenchThemeService.service';
|
|
13
13
|
import { IWorkbenchEnvironmentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/environment/common/environmentService.service';
|
|
14
14
|
import { language } from '@codingame/monaco-vscode-api/vscode/vs/base/common/platform';
|
|
15
15
|
import { Event } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
|
|
@@ -137,7 +137,7 @@ let TelemetryContribution = class TelemetryContribution extends Disposable {
|
|
|
137
137
|
constructor() {
|
|
138
138
|
super({
|
|
139
139
|
id: 'workbench.action.showTelemetry',
|
|
140
|
-
title: ( localize2(
|
|
140
|
+
title: ( localize2(10596, "Show Telemetry")),
|
|
141
141
|
category: Categories.Developer,
|
|
142
142
|
f1: true
|
|
143
143
|
});
|