@codingame/monaco-vscode-issue-service-override 8.0.2 → 8.0.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": "8.0.2",
3
+ "version": "8.0.3",
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.2"
29
+ "vscode": "npm:@codingame/monaco-vscode-api@8.0.3"
30
30
  }
31
31
  }
@@ -1,56 +1,56 @@
1
1
  import { escape } from 'vscode/vscode/vs/base/common/strings';
2
2
  import { localize } from 'vscode/vscode/vs/nls';
3
3
 
4
- const sendSystemInfoLabel = escape(( localize(5706, "Include my system information")));
5
- const sendProcessInfoLabel = escape(( localize(5707, "Include my currently running processes")));
6
- const sendWorkspaceInfoLabel = escape(( localize(5708, "Include my workspace metadata")));
7
- const sendExtensionsLabel = escape(( localize(5709, "Include my enabled extensions")));
8
- const sendExperimentsLabel = escape(( localize(5710, "Include A/B experiment info")));
9
- const sendExtensionData = escape(( localize(5711, "Include additional extension info")));
4
+ const sendSystemInfoLabel = escape(( localize(5709, "Include my system information")));
5
+ const sendProcessInfoLabel = escape(( localize(5710, "Include my currently running processes")));
6
+ const sendWorkspaceInfoLabel = escape(( localize(5711, "Include my workspace metadata")));
7
+ const sendExtensionsLabel = escape(( localize(5712, "Include my enabled extensions")));
8
+ const sendExperimentsLabel = escape(( localize(5713, "Include A/B experiment info")));
9
+ const sendExtensionData = escape(( localize(5714, "Include additional extension info")));
10
10
  const reviewGuidanceLabel = ( localize(
11
- 5712,
11
+ 5715,
12
12
  'Before you report an issue here please <a href="https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions" target="_blank">review the guidance we provide</a>.'
13
13
  ));
14
14
  var BaseHtml = () => `
15
15
  <div class="issue-reporter" id="issue-reporter">
16
- <div id="english" class="input-group hidden">${escape(( localize(5713, "Please complete the form in English.")))}</div>
16
+ <div id="english" class="input-group hidden">${escape(( localize(5716, "Please complete the form in English.")))}</div>
17
17
 
18
18
  <div id="review-guidance-help-text" class="input-group">${reviewGuidanceLabel}</div>
19
19
 
20
20
  <div class="section">
21
21
  <div class="input-group">
22
- <label class="inline-label" for="issue-type">${escape(( localize(5714, "This is a")))}</label>
22
+ <label class="inline-label" for="issue-type">${escape(( localize(5717, "This is a")))}</label>
23
23
  <select id="issue-type" class="inline-form-control">
24
24
  <!-- To be dynamically filled -->
25
25
  </select>
26
26
  </div>
27
27
 
28
28
  <div class="input-group" id="problem-source">
29
- <label class="inline-label" for="issue-source">${escape(( localize(5715, "For")))} <span class="required-input">*</span></label>
29
+ <label class="inline-label" for="issue-source">${escape(( localize(5718, "For")))} <span class="required-input">*</span></label>
30
30
  <select id="issue-source" class="inline-form-control" required>
31
31
  <!-- To be dynamically filled -->
32
32
  </select>
33
- <div id="issue-source-empty-error" class="validation-error hidden" role="alert">${escape(( localize(5716, "An issue source is required.")))}</div>
33
+ <div id="issue-source-empty-error" class="validation-error hidden" role="alert">${escape(( localize(5719, "An issue source is required.")))}</div>
34
34
  <div id="problem-source-help-text" class="instructions hidden">${escape(( localize(
35
- 5717,
35
+ 5720,
36
36
  "Try to reproduce the problem after {0}. If the problem only reproduces when extensions are active, it is likely an issue with an extension."
37
37
  )))
38
- .replace('{0}', () => `<span tabIndex=0 role="button" id="disableExtensions" class="workbenchCommand">${escape(( localize(5718, "disabling all extensions and reloading the window")))}</span>`)}
38
+ .replace('{0}', () => `<span tabIndex=0 role="button" id="disableExtensions" class="workbenchCommand">${escape(( localize(5721, "disabling all extensions and reloading the window")))}</span>`)}
39
39
  </div>
40
40
 
41
41
  <div id="extension-selection">
42
- <label class="inline-label" for="extension-selector">${escape(( localize(5719, "Extension")))} <span class="required-input">*</span></label>
42
+ <label class="inline-label" for="extension-selector">${escape(( localize(5722, "Extension")))} <span class="required-input">*</span></label>
43
43
  <select id="extension-selector" class="inline-form-control">
44
44
  <!-- To be dynamically filled -->
45
45
  </select>
46
46
  <div id="extension-selection-validation-error" class="validation-error hidden" role="alert">${escape(( localize(
47
- 5720,
47
+ 5723,
48
48
  "The issue reporter is unable to create issues for this extension. Please visit {0} to report an issue."
49
49
  )))
50
50
  .replace('{0}', () => `<span tabIndex=0 role="button" id="extensionBugsLink" class="workbenchCommand"><!-- To be dynamically filled --></span>`)}</div>
51
51
  <div id="extension-selection-validation-error-no-url" class="validation-error hidden" role="alert">
52
52
  ${escape(( localize(
53
- 5721,
53
+ 5724,
54
54
  "The issue reporter is unable to create issues for this extension, as it does not specify a URL for reporting issues. Please check the marketplace page of this extension to see if other instructions are available."
55
55
  )))}
56
56
  </div>
@@ -58,10 +58,10 @@ var BaseHtml = () => `
58
58
  </div>
59
59
 
60
60
  <div id="issue-title-container" class="input-group">
61
- <label class="inline-label" for="issue-title">${escape(( localize(5722, "Title")))} <span class="required-input">*</span></label>
62
- <input id="issue-title" type="text" class="inline-form-control" placeholder="${escape(( localize(5723, "Please enter a title.")))}" required>
63
- <div id="issue-title-empty-error" class="validation-error hidden" role="alert">${escape(( localize(5724, "A title is required.")))}</div>
64
- <div id="issue-title-length-validation-error" class="validation-error hidden" role="alert">${escape(( localize(5725, "The title is too long.")))}</div>
61
+ <label class="inline-label" for="issue-title">${escape(( localize(5725, "Title")))} <span class="required-input">*</span></label>
62
+ <input id="issue-title" type="text" class="inline-form-control" placeholder="${escape(( localize(5726, "Please enter a title.")))}" required>
63
+ <div id="issue-title-empty-error" class="validation-error hidden" role="alert">${escape(( localize(5727, "A title is required.")))}</div>
64
+ <div id="issue-title-length-validation-error" class="validation-error hidden" role="alert">${escape(( localize(5728, "The title is too long.")))}</div>
65
65
  <small id="similar-issues">
66
66
  <!-- To be dynamically filled -->
67
67
  </small>
@@ -77,10 +77,10 @@ var BaseHtml = () => `
77
77
  <!-- To be dynamically filled -->
78
78
  </div>
79
79
  <div class="block-info-text">
80
- <textarea name="description" id="description" placeholder="${escape(( localize(5726, "Please enter details.")))}" required></textarea>
80
+ <textarea name="description" id="description" placeholder="${escape(( localize(5729, "Please enter details.")))}" required></textarea>
81
81
  </div>
82
- <div id="description-empty-error" class="validation-error hidden" role="alert">${escape(( localize(5727, "A description is required.")))}</div>
83
- <div id="description-short-error" class="validation-error hidden" role="alert">${escape(( localize(5728, "Please provide a longer description.")))}</div>
82
+ <div id="description-empty-error" class="validation-error hidden" role="alert">${escape(( localize(5730, "A description is required.")))}</div>
83
+ <div id="description-short-error" class="validation-error hidden" role="alert">${escape(( localize(5731, "Please provide a longer description.")))}</div>
84
84
  </div>
85
85
 
86
86
  <div class="system-info" id="block-container">
@@ -89,9 +89,9 @@ var BaseHtml = () => `
89
89
  <label class="extension-caption" id="extension-caption" for="includeExtensionData">
90
90
  ${sendExtensionData}
91
91
  <span id="ext-loading" hidden></span>
92
- <span class="ext-parens" hidden>(</span><a href="#" class="showInfo" id="extension-id">${escape(( localize(5729, "show")))}</a><span class="ext-parens" hidden>)</span>
92
+ <span class="ext-parens" hidden>(</span><a href="#" class="showInfo" id="extension-id">${escape(( localize(5732, "show")))}</a><span class="ext-parens" hidden>)</span>
93
93
  </label>
94
- <pre class="block-info" id="extension-data" placeholder="${escape(( localize(5730, "Extension does not have additional data to include.")))}" style="white-space: pre-wrap;">
94
+ <pre class="block-info" id="extension-data" placeholder="${escape(( localize(5733, "Extension does not have additional data to include.")))}" style="white-space: pre-wrap;">
95
95
  <!-- To be dynamically filled -->
96
96
  </pre>
97
97
  </div>
@@ -100,7 +100,7 @@ var BaseHtml = () => `
100
100
  <input class="sendData" aria-label="${sendSystemInfoLabel}" type="checkbox" id="includeSystemInfo" checked/>
101
101
  <label class="caption" for="includeSystemInfo">
102
102
  ${sendSystemInfoLabel}
103
- (<a href="#" class="showInfo">${escape(( localize(5729, "show")))}</a>)
103
+ (<a href="#" class="showInfo">${escape(( localize(5732, "show")))}</a>)
104
104
  </label>
105
105
  <div class="block-info hidden">
106
106
  <!-- To be dynamically filled -->
@@ -110,7 +110,7 @@ var BaseHtml = () => `
110
110
  <input class="sendData" aria-label="${sendProcessInfoLabel}" type="checkbox" id="includeProcessInfo" checked/>
111
111
  <label class="caption" for="includeProcessInfo">
112
112
  ${sendProcessInfoLabel}
113
- (<a href="#" class="showInfo">${escape(( localize(5729, "show")))}</a>)
113
+ (<a href="#" class="showInfo">${escape(( localize(5732, "show")))}</a>)
114
114
  </label>
115
115
  <pre class="block-info hidden">
116
116
  <code>
@@ -122,7 +122,7 @@ var BaseHtml = () => `
122
122
  <input class="sendData" aria-label="${sendWorkspaceInfoLabel}" type="checkbox" id="includeWorkspaceInfo" checked/>
123
123
  <label class="caption" for="includeWorkspaceInfo">
124
124
  ${sendWorkspaceInfoLabel}
125
- (<a href="#" class="showInfo">${escape(( localize(5729, "show")))}</a>)
125
+ (<a href="#" class="showInfo">${escape(( localize(5732, "show")))}</a>)
126
126
  </label>
127
127
  <pre id="systemInfo" class="block-info hidden">
128
128
  <code>
@@ -134,7 +134,7 @@ var BaseHtml = () => `
134
134
  <input class="sendData" aria-label="${sendExtensionsLabel}" type="checkbox" id="includeExtensions" checked/>
135
135
  <label class="caption" for="includeExtensions">
136
136
  ${sendExtensionsLabel}
137
- (<a href="#" class="showInfo">${escape(( localize(5729, "show")))}</a>)
137
+ (<a href="#" class="showInfo">${escape(( localize(5732, "show")))}</a>)
138
138
  </label>
139
139
  <div id="systemInfo" class="block-info hidden">
140
140
  <!-- To be dynamically filled -->
@@ -144,7 +144,7 @@ var BaseHtml = () => `
144
144
  <input class="sendData" aria-label="${sendExperimentsLabel}" type="checkbox" id="includeExperiments" checked/>
145
145
  <label class="caption" for="includeExperiments">
146
146
  ${sendExperimentsLabel}
147
- (<a href="#" class="showInfo">${escape(( localize(5729, "show")))}</a>)
147
+ (<a href="#" class="showInfo">${escape(( localize(5732, "show")))}</a>)
148
148
  </label>
149
149
  <pre class="block-info hidden">
150
150
  <!-- To be dynamically filled -->
@@ -51,7 +51,7 @@ let IssueWebReporter = class IssueWebReporter extends BaseIssueReporterService {
51
51
  this.issueReporterModel.update({ issueType: issueType });
52
52
  const descriptionTextArea = this.getElementById('issue-title');
53
53
  if (descriptionTextArea) {
54
- descriptionTextArea.placeholder = ( localize(5731, "Please enter a title"));
54
+ descriptionTextArea.placeholder = ( localize(5734, "Please enter a title"));
55
55
  }
56
56
  this.updatePreviewButtonState();
57
57
  this.setSourceOptions();
@@ -133,7 +133,7 @@ let IssueWebReporter = class IssueWebReporter extends BaseIssueReporterService {
133
133
  const extensionsSelector = this.getElementById('extension-selector');
134
134
  if (extensionsSelector) {
135
135
  const { selectedExtension } = this.issueReporterModel.getData();
136
- reset(extensionsSelector, this.makeOption('', ( localize(5732, "Select extension")), true), ...( (extensionOptions.map(extension => makeOption(extension, selectedExtension)))));
136
+ reset(extensionsSelector, this.makeOption('', ( localize(5735, "Select extension")), true), ...( (extensionOptions.map(extension => makeOption(extension, selectedExtension)))));
137
137
  if (!selectedExtension) {
138
138
  extensionsSelector.selectedIndex = 0;
139
139
  }
@@ -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(2528, "Troubleshoot Issue")),
89
+ message: ( localize(2466, "Troubleshoot Issue")),
90
90
  detail: ( localize(
91
- 2529,
91
+ 2467,
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(2530, "&&Troubleshoot Issue")),
95
+ primaryButton: ( localize(2468, "&&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
- 2531,
139
+ 2469,
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
- 2532,
157
+ 2470,
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
- 2533,
165
+ 2471,
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
- 2534,
171
+ 2472,
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(2535, "I Can't Reproduce")),
187
+ label: ( localize(2473, "I Can't Reproduce")),
188
188
  run: () => c('good')
189
189
  };
190
190
  const badPrompt = {
191
- label: ( localize(2536, "I Can Reproduce")),
191
+ label: ( localize(2474, "I Can Reproduce")),
192
192
  run: () => c('bad')
193
193
  };
194
194
  const stop = {
195
- label: ( localize(2537, "Stop")),
195
+ label: ( localize(2475, "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(2528, "Troubleshoot Issue")),
209
+ message: ( localize(2466, "Troubleshoot Issue")),
210
210
  detail: ( localize(
211
- 2538,
211
+ 2476,
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(2528, "Troubleshoot Issue")),
235
- primaryButton: ( localize(2539, "Download {0} Insiders", this.productService.nameLong)),
236
- cancelButton: ( localize(2540, "Report Issue Anyway")),
234
+ message: ( localize(2466, "Troubleshoot Issue")),
235
+ primaryButton: ( localize(2477, "Download {0} Insiders", this.productService.nameLong)),
236
+ cancelButton: ( localize(2478, "Report Issue Anyway")),
237
237
  detail: ( localize(
238
- 2541,
238
+ 2479,
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(2528, "Troubleshoot Issue")),
255
+ message: ( localize(2466, "Troubleshoot Issue")),
256
256
  buttons: [{
257
- label: ( localize(2542, "I can't reproduce")),
257
+ label: ( localize(2480, "I can't reproduce")),
258
258
  run: () => 'good'
259
259
  }, {
260
- label: ( localize(2543, "I can reproduce")),
260
+ label: ( localize(2481, "I can reproduce")),
261
261
  run: () => 'bad'
262
262
  }],
263
263
  cancelButton: {
264
- label: ( localize(2544, "Stop")),
264
+ label: ( localize(2482, "Stop")),
265
265
  run: () => 'stop'
266
266
  },
267
267
  detail: ( localize(
268
- 2545,
268
+ 2483,
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(2546, 'Troubleshoot Issue...')),
343
+ title: ( localize2(2484, '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(2547, 'Stop Troubleshoot Issue')),
361
+ title: ( localize2(2485, 'Stop Troubleshoot Issue')),
362
362
  category: Categories.Help,
363
363
  f1: true,
364
364
  precondition: IssueTroubleshootUi.ctxIsTroubleshootActive
@@ -74,7 +74,7 @@ let BaseIssueContribution = class BaseIssueContribution extends Disposable {
74
74
  }));
75
75
  const reportIssue = {
76
76
  id: OpenIssueReporterActionId,
77
- title: ( localize2(5733, "Report Issue...")),
77
+ title: ( localize2(5736, "Report Issue...")),
78
78
  category: Categories.Help
79
79
  };
80
80
  this._register(MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: reportIssue }));
@@ -82,7 +82,7 @@ let BaseIssueContribution = class BaseIssueContribution extends Disposable {
82
82
  group: '3_feedback',
83
83
  command: {
84
84
  id: OpenIssueReporterActionId,
85
- title: ( localize(5734, "Report &&Issue"))
85
+ title: ( localize(5737, "Report &&Issue"))
86
86
  },
87
87
  order: 3
88
88
  }));