@codingame/monaco-vscode-issue-service-override 10.0.2 → 10.1.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-issue-service-override",
3
- "version": "10.0.2",
3
+ "version": "10.1.0",
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@10.0.2"
29
+ "vscode": "npm:@codingame/monaco-vscode-api@10.1.0"
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(2482, "The --status argument is not yet supported in browsers."));
35
+ return ( localize(2485, "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
- 2477,
114
+ 2480,
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(2478, "&&Yes")),
119
+ label: ( localize(2481, "&&Yes")),
120
120
  run: () => {
121
121
  this.closeReporter();
122
122
  this.issueReporterWindow = null;
123
123
  }
124
124
  },
125
125
  {
126
- label: ( localize(2479, "Cancel")),
126
+ label: ( localize(2482, "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
- 2480,
137
+ 2483,
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(2481, "&&OK")),
142
+ label: ( localize(2484, "&&OK")),
143
143
  run: () => { result = true; }
144
144
  },
145
145
  {
146
- label: ( localize(2479, "Cancel")),
146
+ label: ( localize(2482, "Cancel")),
147
147
  run: () => { result = false; }
148
148
  }
149
149
  ]
@@ -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(5736, "Include my system information")));
5
- const sendProcessInfoLabel = escape(( localize(5737, "Include my currently running processes")));
6
- const sendWorkspaceInfoLabel = escape(( localize(5738, "Include my workspace metadata")));
7
- const sendExtensionsLabel = escape(( localize(5739, "Include my enabled extensions")));
8
- const sendExperimentsLabel = escape(( localize(5740, "Include A/B experiment info")));
9
- const sendExtensionData = escape(( localize(5741, "Include additional extension info")));
4
+ const sendSystemInfoLabel = escape(( localize(5739, "Include my system information")));
5
+ const sendProcessInfoLabel = escape(( localize(5740, "Include my currently running processes")));
6
+ const sendWorkspaceInfoLabel = escape(( localize(5741, "Include my workspace metadata")));
7
+ const sendExtensionsLabel = escape(( localize(5742, "Include my enabled extensions")));
8
+ const sendExperimentsLabel = escape(( localize(5743, "Include A/B experiment info")));
9
+ const sendExtensionData = escape(( localize(5744, "Include additional extension info")));
10
10
  const reviewGuidanceLabel = ( localize(
11
- 5742,
11
+ 5745,
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(5743, "Please complete the form in English.")))}</div>
16
+ <div id="english" class="input-group hidden">${escape(( localize(5746, "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(5744, "This is a")))}</label>
22
+ <label class="inline-label" for="issue-type">${escape(( localize(5747, "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(5745, "For")))} <span class="required-input">*</span></label>
29
+ <label class="inline-label" for="issue-source">${escape(( localize(5748, "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(5746, "An issue source is required.")))}</div>
33
+ <div id="issue-source-empty-error" class="validation-error hidden" role="alert">${escape(( localize(5749, "An issue source is required.")))}</div>
34
34
  <div id="problem-source-help-text" class="instructions hidden">${escape(( localize(
35
- 5747,
35
+ 5750,
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(5748, "disabling all extensions and reloading the window")))}</span>`)}
38
+ .replace('{0}', () => `<span tabIndex=0 role="button" id="disableExtensions" class="workbenchCommand">${escape(( localize(5751, "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(5749, "Extension")))} <span class="required-input">*</span></label>
42
+ <label class="inline-label" for="extension-selector">${escape(( localize(5752, "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
- 5750,
47
+ 5753,
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
- 5751,
53
+ 5754,
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(5752, "Title")))} <span class="required-input">*</span></label>
62
- <input id="issue-title" type="text" class="inline-form-control" placeholder="${escape(( localize(5753, "Please enter a title.")))}" required>
63
- <div id="issue-title-empty-error" class="validation-error hidden" role="alert">${escape(( localize(5754, "A title is required.")))}</div>
64
- <div id="issue-title-length-validation-error" class="validation-error hidden" role="alert">${escape(( localize(5755, "The title is too long.")))}</div>
61
+ <label class="inline-label" for="issue-title">${escape(( localize(5755, "Title")))} <span class="required-input">*</span></label>
62
+ <input id="issue-title" type="text" class="inline-form-control" placeholder="${escape(( localize(5756, "Please enter a title.")))}" required>
63
+ <div id="issue-title-empty-error" class="validation-error hidden" role="alert">${escape(( localize(5757, "A title is required.")))}</div>
64
+ <div id="issue-title-length-validation-error" class="validation-error hidden" role="alert">${escape(( localize(5758, "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(5756, "Please enter details.")))}" required></textarea>
80
+ <textarea name="description" id="description" placeholder="${escape(( localize(5759, "Please enter details.")))}" required></textarea>
81
81
  </div>
82
- <div id="description-empty-error" class="validation-error hidden" role="alert">${escape(( localize(5757, "A description is required.")))}</div>
83
- <div id="description-short-error" class="validation-error hidden" role="alert">${escape(( localize(5758, "Please provide a longer description.")))}</div>
82
+ <div id="description-empty-error" class="validation-error hidden" role="alert">${escape(( localize(5760, "A description is required.")))}</div>
83
+ <div id="description-short-error" class="validation-error hidden" role="alert">${escape(( localize(5761, "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(5759, "show")))}</a><span class="ext-parens" hidden>)</span>
92
+ <span class="ext-parens" hidden>(</span><a href="#" class="showInfo" id="extension-id">${escape(( localize(5762, "show")))}</a><span class="ext-parens" hidden>)</span>
93
93
  </label>
94
- <pre class="block-info" id="extension-data" placeholder="${escape(( localize(5760, "Extension does not have additional data to include.")))}" style="white-space: pre-wrap; user-select: text;">
94
+ <pre class="block-info" id="extension-data" placeholder="${escape(( localize(5763, "Extension does not have additional data to include.")))}" style="white-space: pre-wrap; user-select: text;">
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(5759, "show")))}</a>)
103
+ (<a href="#" class="showInfo">${escape(( localize(5762, "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(5759, "show")))}</a>)
113
+ (<a href="#" class="showInfo">${escape(( localize(5762, "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(5759, "show")))}</a>)
125
+ (<a href="#" class="showInfo">${escape(( localize(5762, "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(5759, "show")))}</a>)
137
+ (<a href="#" class="showInfo">${escape(( localize(5762, "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(5759, "show")))}</a>)
147
+ (<a href="#" class="showInfo">${escape(( localize(5762, "show")))}</a>)
148
148
  </label>
149
149
  <pre class="block-info hidden">
150
150
  <!-- To be dynamically filled -->
@@ -23,7 +23,7 @@ let IssueWebReporter = class IssueWebReporter extends BaseIssueReporterService {
23
23
  this.issueReporterModel.update({ issueType: issueType });
24
24
  const descriptionTextArea = this.getElementById('issue-title');
25
25
  if (descriptionTextArea) {
26
- descriptionTextArea.placeholder = ( localize(5761, "Please enter a title"));
26
+ descriptionTextArea.placeholder = ( localize(5764, "Please enter a title"));
27
27
  }
28
28
  this.updatePreviewButtonState();
29
29
  this.setSourceOptions();
@@ -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(2457, "Troubleshoot Issue")),
85
+ message: ( localize(2460, "Troubleshoot Issue")),
86
86
  detail: ( localize(
87
- 2458,
87
+ 2461,
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(2459, "&&Troubleshoot Issue")),
91
+ primaryButton: ( localize(2462, "&&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
- 2460,
135
+ 2463,
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
- 2461,
153
+ 2464,
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
- 2462,
161
+ 2465,
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
- 2463,
167
+ 2466,
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(2464, "I Can't Reproduce")),
183
+ label: ( localize(2467, "I Can't Reproduce")),
184
184
  run: () => c('good')
185
185
  };
186
186
  const badPrompt = {
187
- label: ( localize(2465, "I Can Reproduce")),
187
+ label: ( localize(2468, "I Can Reproduce")),
188
188
  run: () => c('bad')
189
189
  };
190
190
  const stop = {
191
- label: ( localize(2466, "Stop")),
191
+ label: ( localize(2469, "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(2457, "Troubleshoot Issue")),
205
+ message: ( localize(2460, "Troubleshoot Issue")),
206
206
  detail: ( localize(
207
- 2467,
207
+ 2470,
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(2457, "Troubleshoot Issue")),
231
- primaryButton: ( localize(2468, "Download {0} Insiders", this.productService.nameLong)),
232
- cancelButton: ( localize(2469, "Report Issue Anyway")),
230
+ message: ( localize(2460, "Troubleshoot Issue")),
231
+ primaryButton: ( localize(2471, "Download {0} Insiders", this.productService.nameLong)),
232
+ cancelButton: ( localize(2472, "Report Issue Anyway")),
233
233
  detail: ( localize(
234
- 2470,
234
+ 2473,
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(2457, "Troubleshoot Issue")),
251
+ message: ( localize(2460, "Troubleshoot Issue")),
252
252
  buttons: [{
253
- label: ( localize(2471, "I can't reproduce")),
253
+ label: ( localize(2474, "I can't reproduce")),
254
254
  run: () => 'good'
255
255
  }, {
256
- label: ( localize(2472, "I can reproduce")),
256
+ label: ( localize(2475, "I can reproduce")),
257
257
  run: () => 'bad'
258
258
  }],
259
259
  cancelButton: {
260
- label: ( localize(2473, "Stop")),
260
+ label: ( localize(2476, "Stop")),
261
261
  run: () => 'stop'
262
262
  },
263
263
  detail: ( localize(
264
- 2474,
264
+ 2477,
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(2475, 'Troubleshoot Issue...')),
339
+ title: ( localize2(2478, '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(2476, 'Stop Troubleshoot Issue')),
357
+ title: ( localize2(2479, 'Stop Troubleshoot Issue')),
358
358
  category: Categories.Help,
359
359
  f1: true,
360
360
  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(5762, "Report Issue...")),
77
+ title: ( localize2(5765, "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(5763, "Report &&Issue"))
85
+ title: ( localize(5766, "Report &&Issue"))
86
86
  },
87
87
  order: 3
88
88
  }));