@codingame/monaco-vscode-issue-service-override 8.0.2 → 8.0.4
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": "8.0.
|
|
3
|
+
"version": "8.0.4",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "CodinGame",
|
|
@@ -26,6 +26,6 @@
|
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"vscode": "npm:@codingame/monaco-vscode-api@8.0.
|
|
29
|
+
"vscode": "npm:@codingame/monaco-vscode-api@8.0.4"
|
|
30
30
|
}
|
|
31
31
|
}
|
|
@@ -34,5 +34,5 @@ WebIssueContribution = ( (__decorate([
|
|
|
34
34
|
], WebIssueContribution)));
|
|
35
35
|
( (Registry.as(Extensions$1.Workbench))).registerWorkbenchContribution(WebIssueContribution, LifecyclePhase.Restored);
|
|
36
36
|
CommandsRegistry.registerCommand('_issues.getSystemStatus', (accessor) => {
|
|
37
|
-
return ( localize(
|
|
37
|
+
return ( localize(2463, "The --status argument is not yet supported in browsers."));
|
|
38
38
|
});
|
|
@@ -65,19 +65,19 @@ let IssueFormService = class IssueFormService {
|
|
|
65
65
|
await this.dialogService.prompt({
|
|
66
66
|
type: Severity$1.Warning,
|
|
67
67
|
message: ( localize(
|
|
68
|
-
|
|
68
|
+
2458,
|
|
69
69
|
"Your input will not be saved. Are you sure you want to close this window?"
|
|
70
70
|
)),
|
|
71
71
|
buttons: [
|
|
72
72
|
{
|
|
73
|
-
label: ( localize(
|
|
73
|
+
label: ( localize(2459, "&&Yes")),
|
|
74
74
|
run: () => {
|
|
75
75
|
this.closeReporter();
|
|
76
76
|
this.issueReporterWindow = null;
|
|
77
77
|
}
|
|
78
78
|
},
|
|
79
79
|
{
|
|
80
|
-
label: ( localize(
|
|
80
|
+
label: ( localize(2460, "Cancel")),
|
|
81
81
|
run: () => { }
|
|
82
82
|
}
|
|
83
83
|
]
|
|
@@ -88,16 +88,16 @@ let IssueFormService = class IssueFormService {
|
|
|
88
88
|
await this.dialogService.prompt({
|
|
89
89
|
type: Severity$1.Warning,
|
|
90
90
|
message: ( localize(
|
|
91
|
-
|
|
91
|
+
2461,
|
|
92
92
|
"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."
|
|
93
93
|
)),
|
|
94
94
|
buttons: [
|
|
95
95
|
{
|
|
96
|
-
label: ( localize(
|
|
96
|
+
label: ( localize(2462, "&&OK")),
|
|
97
97
|
run: () => { result = true; }
|
|
98
98
|
},
|
|
99
99
|
{
|
|
100
|
-
label: ( localize(
|
|
100
|
+
label: ( localize(2460, "Cancel")),
|
|
101
101
|
run: () => { result = false; }
|
|
102
102
|
}
|
|
103
103
|
]
|
|
@@ -86,13 +86,13 @@ let TroubleshootIssueService = class TroubleshootIssueService extends Disposable
|
|
|
86
86
|
throw ( (new Error('invalid state')));
|
|
87
87
|
}
|
|
88
88
|
const res = await this.dialogService.confirm({
|
|
89
|
-
message: ( localize(
|
|
89
|
+
message: ( localize(2438, "Troubleshoot Issue")),
|
|
90
90
|
detail: ( localize(
|
|
91
|
-
|
|
91
|
+
2439,
|
|
92
92
|
"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.",
|
|
93
93
|
this.productService.nameLong
|
|
94
94
|
)),
|
|
95
|
-
primaryButton: ( localize(
|
|
95
|
+
primaryButton: ( localize(2440, "&&Troubleshoot Issue")),
|
|
96
96
|
custom: true
|
|
97
97
|
});
|
|
98
98
|
if (!res.confirmed) {
|
|
@@ -136,7 +136,7 @@ let TroubleshootIssueService = class TroubleshootIssueService extends Disposable
|
|
|
136
136
|
return;
|
|
137
137
|
}
|
|
138
138
|
const result = await this.askToReproduceIssue(( localize(
|
|
139
|
-
|
|
139
|
+
2441,
|
|
140
140
|
"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."
|
|
141
141
|
)));
|
|
142
142
|
if (result === 'good') {
|
|
@@ -154,7 +154,7 @@ let TroubleshootIssueService = class TroubleshootIssueService extends Disposable
|
|
|
154
154
|
await this.userDataProfileManagementService.createAndEnterTransientProfile();
|
|
155
155
|
this.updateState(this.state);
|
|
156
156
|
const result = await this.askToReproduceIssue(( localize(
|
|
157
|
-
|
|
157
|
+
2442,
|
|
158
158
|
"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."
|
|
159
159
|
)));
|
|
160
160
|
if (result === 'stop') {
|
|
@@ -162,13 +162,13 @@ let TroubleshootIssueService = class TroubleshootIssueService extends Disposable
|
|
|
162
162
|
}
|
|
163
163
|
if (result === 'good') {
|
|
164
164
|
await this.askToReportIssue(( localize(
|
|
165
|
-
|
|
165
|
+
2443,
|
|
166
166
|
"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."
|
|
167
167
|
)));
|
|
168
168
|
}
|
|
169
169
|
if (result === 'bad') {
|
|
170
170
|
await this.askToReportIssue(( localize(
|
|
171
|
-
|
|
171
|
+
2444,
|
|
172
172
|
"Issue troubleshooting has identified that the issue is with {0}.",
|
|
173
173
|
this.productService.nameLong
|
|
174
174
|
)));
|
|
@@ -184,15 +184,15 @@ let TroubleshootIssueService = class TroubleshootIssueService extends Disposable
|
|
|
184
184
|
return (
|
|
185
185
|
(new Promise((c, e) => {
|
|
186
186
|
const goodPrompt = {
|
|
187
|
-
label: ( localize(
|
|
187
|
+
label: ( localize(2445, "I Can't Reproduce")),
|
|
188
188
|
run: () => c('good')
|
|
189
189
|
};
|
|
190
190
|
const badPrompt = {
|
|
191
|
-
label: ( localize(
|
|
191
|
+
label: ( localize(2446, "I Can Reproduce")),
|
|
192
192
|
run: () => c('bad')
|
|
193
193
|
};
|
|
194
194
|
const stop = {
|
|
195
|
-
label: ( localize(
|
|
195
|
+
label: ( localize(2447, "Stop")),
|
|
196
196
|
run: () => c('stop')
|
|
197
197
|
};
|
|
198
198
|
this.notificationHandle = this.notificationService.prompt(Severity$1.Info, message, [goodPrompt, badPrompt, stop], { sticky: true, priority: NotificationPriority.URGENT });
|
|
@@ -206,9 +206,9 @@ let TroubleshootIssueService = class TroubleshootIssueService extends Disposable
|
|
|
206
206
|
if (res === 'good') {
|
|
207
207
|
await this.dialogService.prompt({
|
|
208
208
|
type: Severity$1.Info,
|
|
209
|
-
message: ( localize(
|
|
209
|
+
message: ( localize(2438, "Troubleshoot Issue")),
|
|
210
210
|
detail: ( localize(
|
|
211
|
-
|
|
211
|
+
2448,
|
|
212
212
|
"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.",
|
|
213
213
|
this.productService.nameLong
|
|
214
214
|
)),
|
|
@@ -231,11 +231,11 @@ let TroubleshootIssueService = class TroubleshootIssueService extends Disposable
|
|
|
231
231
|
async askToReproduceIssueWithInsiders() {
|
|
232
232
|
const confirmRes = await this.dialogService.confirm({
|
|
233
233
|
type: 'info',
|
|
234
|
-
message: ( localize(
|
|
235
|
-
primaryButton: ( localize(
|
|
236
|
-
cancelButton: ( localize(
|
|
234
|
+
message: ( localize(2438, "Troubleshoot Issue")),
|
|
235
|
+
primaryButton: ( localize(2449, "Download {0} Insiders", this.productService.nameLong)),
|
|
236
|
+
cancelButton: ( localize(2450, "Report Issue Anyway")),
|
|
237
237
|
detail: ( localize(
|
|
238
|
-
|
|
238
|
+
2451,
|
|
239
239
|
"Please try to download and reproduce the issue in {0} insiders.",
|
|
240
240
|
this.productService.nameLong
|
|
241
241
|
)),
|
|
@@ -252,20 +252,20 @@ let TroubleshootIssueService = class TroubleshootIssueService extends Disposable
|
|
|
252
252
|
}
|
|
253
253
|
const res = await this.dialogService.prompt({
|
|
254
254
|
type: 'info',
|
|
255
|
-
message: ( localize(
|
|
255
|
+
message: ( localize(2438, "Troubleshoot Issue")),
|
|
256
256
|
buttons: [{
|
|
257
|
-
label: ( localize(
|
|
257
|
+
label: ( localize(2452, "I can't reproduce")),
|
|
258
258
|
run: () => 'good'
|
|
259
259
|
}, {
|
|
260
|
-
label: ( localize(
|
|
260
|
+
label: ( localize(2453, "I can reproduce")),
|
|
261
261
|
run: () => 'bad'
|
|
262
262
|
}],
|
|
263
263
|
cancelButton: {
|
|
264
|
-
label: ( localize(
|
|
264
|
+
label: ( localize(2454, "Stop")),
|
|
265
265
|
run: () => 'stop'
|
|
266
266
|
},
|
|
267
267
|
detail: ( localize(
|
|
268
|
-
|
|
268
|
+
2455,
|
|
269
269
|
"Please try to reproduce the issue in {0} insiders and confirm if the issue exists there.",
|
|
270
270
|
this.productService.nameLong
|
|
271
271
|
)),
|
|
@@ -340,7 +340,7 @@ registerAction2(class TroubleshootIssueAction extends Action2 {
|
|
|
340
340
|
constructor() {
|
|
341
341
|
super({
|
|
342
342
|
id: 'workbench.action.troubleshootIssue.start',
|
|
343
|
-
title: ( localize2(
|
|
343
|
+
title: ( localize2(2456, 'Troubleshoot Issue...')),
|
|
344
344
|
category: Categories.Help,
|
|
345
345
|
f1: true,
|
|
346
346
|
precondition: ( (ContextKeyExpr.and(
|
|
@@ -358,7 +358,7 @@ registerAction2(class extends Action2 {
|
|
|
358
358
|
constructor() {
|
|
359
359
|
super({
|
|
360
360
|
id: 'workbench.action.troubleshootIssue.stop',
|
|
361
|
-
title: ( localize2(
|
|
361
|
+
title: ( localize2(2457, 'Stop Troubleshoot Issue')),
|
|
362
362
|
category: Categories.Help,
|
|
363
363
|
f1: true,
|
|
364
364
|
precondition: IssueTroubleshootUi.ctxIsTroubleshootActive
|