@codingame/monaco-vscode-issue-service-override 10.1.2 → 10.1.3
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-issue-service-override",
|
|
3
|
-
"version": "10.1.
|
|
3
|
+
"version": "10.1.3",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "CodinGame",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
12
|
-
"url": "git@github.com
|
|
12
|
+
"url": "git+ssh://git@github.com/CodinGame/monaco-vscode-api.git"
|
|
13
13
|
},
|
|
14
14
|
"type": "module",
|
|
15
15
|
"private": false,
|
|
@@ -26,6 +26,6 @@
|
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"vscode": "npm:@codingame/monaco-vscode-api@10.1.
|
|
29
|
+
"vscode": "npm:@codingame/monaco-vscode-api@10.1.3"
|
|
30
30
|
}
|
|
31
31
|
}
|
|
@@ -32,5 +32,5 @@ WebIssueContribution = ( (__decorate([
|
|
|
32
32
|
], WebIssueContribution)));
|
|
33
33
|
( (Registry.as(Extensions$1.Workbench))).registerWorkbenchContribution(WebIssueContribution, 3 );
|
|
34
34
|
CommandsRegistry.registerCommand('_issues.getSystemStatus', (accessor) => {
|
|
35
|
-
return ( localize(
|
|
35
|
+
return ( localize(2482, "The --status argument is not yet supported in browsers."));
|
|
36
36
|
});
|
|
@@ -111,19 +111,19 @@ let IssueFormService = class IssueFormService {
|
|
|
111
111
|
await this.dialogService.prompt({
|
|
112
112
|
type: Severity$1.Warning,
|
|
113
113
|
message: ( localize(
|
|
114
|
-
|
|
114
|
+
2477,
|
|
115
115
|
"Your input will not be saved. Are you sure you want to close this window?"
|
|
116
116
|
)),
|
|
117
117
|
buttons: [
|
|
118
118
|
{
|
|
119
|
-
label: ( localize(
|
|
119
|
+
label: ( localize(2478, "&&Yes")),
|
|
120
120
|
run: () => {
|
|
121
121
|
this.closeReporter();
|
|
122
122
|
this.issueReporterWindow = null;
|
|
123
123
|
}
|
|
124
124
|
},
|
|
125
125
|
{
|
|
126
|
-
label: ( localize(
|
|
126
|
+
label: ( localize(2479, "Cancel")),
|
|
127
127
|
run: () => { }
|
|
128
128
|
}
|
|
129
129
|
]
|
|
@@ -134,16 +134,16 @@ let IssueFormService = class IssueFormService {
|
|
|
134
134
|
await this.dialogService.prompt({
|
|
135
135
|
type: Severity$1.Warning,
|
|
136
136
|
message: ( localize(
|
|
137
|
-
|
|
137
|
+
2480,
|
|
138
138
|
"There is too much data to send to GitHub directly. The data will be copied to the clipboard, please paste it into the GitHub issue page that is opened."
|
|
139
139
|
)),
|
|
140
140
|
buttons: [
|
|
141
141
|
{
|
|
142
|
-
label: ( localize(
|
|
142
|
+
label: ( localize(2481, "&&OK")),
|
|
143
143
|
run: () => { result = true; }
|
|
144
144
|
},
|
|
145
145
|
{
|
|
146
|
-
label: ( localize(
|
|
146
|
+
label: ( localize(2479, "Cancel")),
|
|
147
147
|
run: () => { result = false; }
|
|
148
148
|
}
|
|
149
149
|
]
|
|
@@ -82,13 +82,13 @@ let TroubleshootIssueService = class TroubleshootIssueService extends Disposable
|
|
|
82
82
|
throw ( (new Error('invalid state')));
|
|
83
83
|
}
|
|
84
84
|
const res = await this.dialogService.confirm({
|
|
85
|
-
message: ( localize(
|
|
85
|
+
message: ( localize(2457, "Troubleshoot Issue")),
|
|
86
86
|
detail: ( localize(
|
|
87
|
-
|
|
87
|
+
2458,
|
|
88
88
|
"Issue troubleshooting is a process to help you identify the cause for an issue. The cause for an issue can be a misconfiguration, due to an extension, or be {0} itself.\n\nDuring the process the window reloads repeatedly. Each time you must confirm if you are still seeing the issue.",
|
|
89
89
|
this.productService.nameLong
|
|
90
90
|
)),
|
|
91
|
-
primaryButton: ( localize(
|
|
91
|
+
primaryButton: ( localize(2459, "&&Troubleshoot Issue")),
|
|
92
92
|
custom: true
|
|
93
93
|
});
|
|
94
94
|
if (!res.confirmed) {
|
|
@@ -132,7 +132,7 @@ let TroubleshootIssueService = class TroubleshootIssueService extends Disposable
|
|
|
132
132
|
return;
|
|
133
133
|
}
|
|
134
134
|
const result = await this.askToReproduceIssue(( localize(
|
|
135
|
-
|
|
135
|
+
2460,
|
|
136
136
|
"Issue troubleshooting is active and has temporarily disabled all installed extensions. Check if you can still reproduce the problem and proceed by selecting from these options."
|
|
137
137
|
)));
|
|
138
138
|
if (result === 'good') {
|
|
@@ -150,7 +150,7 @@ let TroubleshootIssueService = class TroubleshootIssueService extends Disposable
|
|
|
150
150
|
await this.userDataProfileManagementService.createAndEnterTransientProfile();
|
|
151
151
|
this.updateState(this.state);
|
|
152
152
|
const result = await this.askToReproduceIssue(( localize(
|
|
153
|
-
|
|
153
|
+
2461,
|
|
154
154
|
"Issue troubleshooting is active and has temporarily reset your configurations to defaults. Check if you can still reproduce the problem and proceed by selecting from these options."
|
|
155
155
|
)));
|
|
156
156
|
if (result === 'stop') {
|
|
@@ -158,13 +158,13 @@ let TroubleshootIssueService = class TroubleshootIssueService extends Disposable
|
|
|
158
158
|
}
|
|
159
159
|
if (result === 'good') {
|
|
160
160
|
await this.askToReportIssue(( localize(
|
|
161
|
-
|
|
161
|
+
2462,
|
|
162
162
|
"Issue troubleshooting has identified that the issue is caused by your configurations. Please report the issue by exporting your configurations using \"Export Profile\" command and share the file in the issue report."
|
|
163
163
|
)));
|
|
164
164
|
}
|
|
165
165
|
if (result === 'bad') {
|
|
166
166
|
await this.askToReportIssue(( localize(
|
|
167
|
-
|
|
167
|
+
2463,
|
|
168
168
|
"Issue troubleshooting has identified that the issue is with {0}.",
|
|
169
169
|
this.productService.nameLong
|
|
170
170
|
)));
|
|
@@ -180,15 +180,15 @@ let TroubleshootIssueService = class TroubleshootIssueService extends Disposable
|
|
|
180
180
|
return (
|
|
181
181
|
(new Promise((c, e) => {
|
|
182
182
|
const goodPrompt = {
|
|
183
|
-
label: ( localize(
|
|
183
|
+
label: ( localize(2464, "I Can't Reproduce")),
|
|
184
184
|
run: () => c('good')
|
|
185
185
|
};
|
|
186
186
|
const badPrompt = {
|
|
187
|
-
label: ( localize(
|
|
187
|
+
label: ( localize(2465, "I Can Reproduce")),
|
|
188
188
|
run: () => c('bad')
|
|
189
189
|
};
|
|
190
190
|
const stop = {
|
|
191
|
-
label: ( localize(
|
|
191
|
+
label: ( localize(2466, "Stop")),
|
|
192
192
|
run: () => c('stop')
|
|
193
193
|
};
|
|
194
194
|
this.notificationHandle = this.notificationService.prompt(Severity$1.Info, message, [goodPrompt, badPrompt, stop], { sticky: true, priority: NotificationPriority.URGENT });
|
|
@@ -202,9 +202,9 @@ let TroubleshootIssueService = class TroubleshootIssueService extends Disposable
|
|
|
202
202
|
if (res === 'good') {
|
|
203
203
|
await this.dialogService.prompt({
|
|
204
204
|
type: Severity$1.Info,
|
|
205
|
-
message: ( localize(
|
|
205
|
+
message: ( localize(2457, "Troubleshoot Issue")),
|
|
206
206
|
detail: ( localize(
|
|
207
|
-
|
|
207
|
+
2467,
|
|
208
208
|
"This likely means that the issue has been addressed already and will be available in an upcoming release. You can safely use {0} insiders until the new stable version is available.",
|
|
209
209
|
this.productService.nameLong
|
|
210
210
|
)),
|
|
@@ -227,11 +227,11 @@ let TroubleshootIssueService = class TroubleshootIssueService extends Disposable
|
|
|
227
227
|
async askToReproduceIssueWithInsiders() {
|
|
228
228
|
const confirmRes = await this.dialogService.confirm({
|
|
229
229
|
type: 'info',
|
|
230
|
-
message: ( localize(
|
|
231
|
-
primaryButton: ( localize(
|
|
232
|
-
cancelButton: ( localize(
|
|
230
|
+
message: ( localize(2457, "Troubleshoot Issue")),
|
|
231
|
+
primaryButton: ( localize(2468, "Download {0} Insiders", this.productService.nameLong)),
|
|
232
|
+
cancelButton: ( localize(2469, "Report Issue Anyway")),
|
|
233
233
|
detail: ( localize(
|
|
234
|
-
|
|
234
|
+
2470,
|
|
235
235
|
"Please try to download and reproduce the issue in {0} insiders.",
|
|
236
236
|
this.productService.nameLong
|
|
237
237
|
)),
|
|
@@ -248,20 +248,20 @@ let TroubleshootIssueService = class TroubleshootIssueService extends Disposable
|
|
|
248
248
|
}
|
|
249
249
|
const res = await this.dialogService.prompt({
|
|
250
250
|
type: 'info',
|
|
251
|
-
message: ( localize(
|
|
251
|
+
message: ( localize(2457, "Troubleshoot Issue")),
|
|
252
252
|
buttons: [{
|
|
253
|
-
label: ( localize(
|
|
253
|
+
label: ( localize(2471, "I can't reproduce")),
|
|
254
254
|
run: () => 'good'
|
|
255
255
|
}, {
|
|
256
|
-
label: ( localize(
|
|
256
|
+
label: ( localize(2472, "I can reproduce")),
|
|
257
257
|
run: () => 'bad'
|
|
258
258
|
}],
|
|
259
259
|
cancelButton: {
|
|
260
|
-
label: ( localize(
|
|
260
|
+
label: ( localize(2473, "Stop")),
|
|
261
261
|
run: () => 'stop'
|
|
262
262
|
},
|
|
263
263
|
detail: ( localize(
|
|
264
|
-
|
|
264
|
+
2474,
|
|
265
265
|
"Please try to reproduce the issue in {0} insiders and confirm if the issue exists there.",
|
|
266
266
|
this.productService.nameLong
|
|
267
267
|
)),
|
|
@@ -336,7 +336,7 @@ registerAction2(class TroubleshootIssueAction extends Action2 {
|
|
|
336
336
|
constructor() {
|
|
337
337
|
super({
|
|
338
338
|
id: 'workbench.action.troubleshootIssue.start',
|
|
339
|
-
title: ( localize2(
|
|
339
|
+
title: ( localize2(2475, 'Troubleshoot Issue...')),
|
|
340
340
|
category: Categories.Help,
|
|
341
341
|
f1: true,
|
|
342
342
|
precondition: ( (ContextKeyExpr.and(
|
|
@@ -354,7 +354,7 @@ registerAction2(class extends Action2 {
|
|
|
354
354
|
constructor() {
|
|
355
355
|
super({
|
|
356
356
|
id: 'workbench.action.troubleshootIssue.stop',
|
|
357
|
-
title: ( localize2(
|
|
357
|
+
title: ( localize2(2476, 'Stop Troubleshoot Issue')),
|
|
358
358
|
category: Categories.Help,
|
|
359
359
|
f1: true,
|
|
360
360
|
precondition: IssueTroubleshootUi.ctxIsTroubleshootActive
|