@codingame/monaco-vscode-walkthrough-service-override 23.3.0 → 24.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.
Files changed (23) hide show
  1. package/package.json +2 -9
  2. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.js +25 -24
  3. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.d.ts +2 -2
  4. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.js +81 -58
  5. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedAccessibleView.js +3 -3
  6. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedColors.js +7 -7
  7. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedDetailsRenderer.js +1 -1
  8. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedExtensionPoint.js +37 -37
  9. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedIcons.js +2 -2
  10. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedInput.js +1 -1
  11. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService._contribution.js +4 -4
  12. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService.js +3 -3
  13. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/startupPage.js +9 -11
  14. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent.js +151 -151
  15. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/notebookProfile.js +3 -3
  16. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/theme_picker.js +6 -6
  17. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/theme_picker_small.js +5 -5
  18. package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/editor/editorWalkThrough.js +3 -3
  19. package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThrough.contribution.js +3 -3
  20. package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThroughInput.js +1 -1
  21. package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThroughPart.d.ts +1 -1
  22. package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThroughPart.js +3 -3
  23. package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/common/walkThroughUtils.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-walkthrough-service-override",
3
- "version": "23.3.0",
3
+ "version": "24.1.0",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - walkthrough service-override",
6
6
  "keywords": [],
@@ -15,14 +15,7 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-08fd81c0-7fd8-5f7c-9776-f918dd532714-common": "23.3.0",
19
- "@codingame/monaco-vscode-158b9837-fc78-5d9c-86f5-9134e4358643-common": "23.3.0",
20
- "@codingame/monaco-vscode-60014c9d-b815-501d-83a9-4b08725c2ec2-common": "23.3.0",
21
- "@codingame/monaco-vscode-9d0168a3-519b-57f3-9bcc-89efc41f951a-common": "23.3.0",
22
- "@codingame/monaco-vscode-api": "23.3.0",
23
- "@codingame/monaco-vscode-b6d52a6d-8c8e-51f5-bcd2-1722295e31d9-common": "23.3.0",
24
- "@codingame/monaco-vscode-cf77987b-b1b7-5359-aaf8-a259c63d9f03-common": "23.3.0",
25
- "@codingame/monaco-vscode-f24e325c-2ce0-5bba-8236-bfc4f53180ab-common": "23.3.0",
18
+ "@codingame/monaco-vscode-api": "24.1.0",
26
19
  "marked": "14.0.0"
27
20
  },
28
21
  "main": "index.js",
@@ -11,7 +11,7 @@ import { SIDE_GROUP } from '@codingame/monaco-vscode-api/vscode/vs/workbench/ser
11
11
  import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
12
12
  import { KeybindingWeight } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybindingsRegistry';
13
13
  import { KeyCode } from '@codingame/monaco-vscode-api/vscode/vs/base/common/keyCodes';
14
- import { EditorPaneDescriptor } from '@codingame/monaco-vscode-60014c9d-b815-501d-83a9-4b08725c2ec2-common/vscode/vs/workbench/browser/editor';
14
+ import { EditorPaneDescriptor } from '@codingame/monaco-vscode-api/vscode/vs/workbench/browser/editor';
15
15
  import { SyncDescriptor } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/descriptors';
16
16
  import { IWalkthroughsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService.service';
17
17
  import { GettingStartedInput } from './gettingStartedInput.js';
@@ -37,7 +37,7 @@ registerAction2(class extends Action2 {
37
37
  constructor() {
38
38
  super({
39
39
  id: 'workbench.action.openWalkthrough',
40
- title: ( localize2(12973, 'Welcome')),
40
+ title: ( localize2(13113, 'Welcome')),
41
41
  category: Categories.Help,
42
42
  f1: true,
43
43
  menu: {
@@ -46,7 +46,7 @@ registerAction2(class extends Action2 {
46
46
  order: 1,
47
47
  },
48
48
  metadata: {
49
- description: ( localize2(12974, 'Opens a Walkthrough to help you get started in VS Code.'))
49
+ description: ( localize2(13114, 'Opens a Walkthrough to help you get started in VS Code.'))
50
50
  }
51
51
  });
52
52
  }
@@ -54,6 +54,7 @@ registerAction2(class extends Action2 {
54
54
  const editorService = accessor.get(IEditorService);
55
55
  const commandService = accessor.get(ICommandService);
56
56
  const toSide = typeof optionsOrToSide === 'object' ? optionsOrToSide.toSide : optionsOrToSide;
57
+ const inactive = typeof optionsOrToSide === 'object' ? optionsOrToSide.inactive : false;
57
58
  const activeEditor = editorService.activeEditor;
58
59
  if (walkthroughID) {
59
60
  const selectedCategory = typeof walkthroughID === 'string' ? walkthroughID : walkthroughID.category;
@@ -71,10 +72,10 @@ registerAction2(class extends Action2 {
71
72
  }
72
73
  let options;
73
74
  if (selectedCategory) {
74
- options = { selectedCategory, selectedStep, showWelcome: false, preserveFocus: toSide ?? false };
75
+ options = { selectedCategory, selectedStep, showWelcome: false, preserveFocus: toSide ?? false, inactive };
75
76
  }
76
77
  else {
77
- options = { selectedCategory, selectedStep, showWelcome: true, preserveFocus: toSide ?? false };
78
+ options = { selectedCategory, selectedStep, showWelcome: true, preserveFocus: toSide ?? false, inactive };
78
79
  }
79
80
  editorService.openEditor({
80
81
  resource: GettingStartedInput.RESOURCE,
@@ -84,21 +85,21 @@ registerAction2(class extends Action2 {
84
85
  else {
85
86
  editorService.openEditor({
86
87
  resource: GettingStartedInput.RESOURCE,
87
- options: { preserveFocus: toSide ?? false }
88
+ options: { preserveFocus: toSide ?? false, inactive }
88
89
  }, toSide ? SIDE_GROUP : undefined);
89
90
  }
90
91
  }
91
92
  });
92
93
  ( Registry.as(EditorExtensions.EditorFactory)).registerEditorSerializer(GettingStartedInput.ID, GettingStartedInputSerializer);
93
- ( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(GettingStartedPage, GettingStartedPage.ID, ( localize(12975, "Welcome"))), [
94
+ ( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(GettingStartedPage, GettingStartedPage.ID, ( localize(13115, "Welcome"))), [
94
95
  ( new SyncDescriptor(GettingStartedInput))
95
96
  ]);
96
- const category = ( localize2(12975, "Welcome"));
97
+ const category = ( localize2(13115, "Welcome"));
97
98
  registerAction2(class extends Action2 {
98
99
  constructor() {
99
100
  super({
100
101
  id: 'welcome.goBack',
101
- title: ( localize2(12976, 'Go Back')),
102
+ title: ( localize2(13116, 'Go Back')),
102
103
  category,
103
104
  keybinding: {
104
105
  weight: KeybindingWeight.EditorContrib,
@@ -134,7 +135,7 @@ registerAction2(class extends Action2 {
134
135
  constructor() {
135
136
  super({
136
137
  id: 'welcome.markStepComplete',
137
- title: ( localize(12977, "Mark Step Complete")),
138
+ title: ( localize(13117, "Mark Step Complete")),
138
139
  category,
139
140
  });
140
141
  }
@@ -150,7 +151,7 @@ registerAction2(class extends Action2 {
150
151
  constructor() {
151
152
  super({
152
153
  id: 'welcome.markStepIncomplete',
153
- title: ( localize(12978, "Mark Step Incomplete")),
154
+ title: ( localize(13118, "Mark Step Incomplete")),
154
155
  category,
155
156
  });
156
157
  }
@@ -166,7 +167,7 @@ registerAction2(class extends Action2 {
166
167
  constructor() {
167
168
  super({
168
169
  id: 'welcome.showAllWalkthroughs',
169
- title: ( localize2(12979, 'Open Walkthrough...')),
170
+ title: ( localize2(13119, 'Open Walkthrough...')),
170
171
  category,
171
172
  f1: true,
172
173
  menu: {
@@ -198,7 +199,7 @@ registerAction2(class extends Action2 {
198
199
  quickPick.canSelectMany = false;
199
200
  quickPick.matchOnDescription = true;
200
201
  quickPick.matchOnDetail = true;
201
- quickPick.placeholder = ( localize(12980, 'Select a walkthrough to open'));
202
+ quickPick.placeholder = ( localize(13120, 'Select a walkthrough to open'));
202
203
  quickPick.items = await this.getQuickPickItems(contextService, gettingStartedService);
203
204
  quickPick.busy = true;
204
205
  disposables.add(quickPick.onDidAccept(() => {
@@ -225,7 +226,7 @@ CommandsRegistry.registerCommand({
225
226
  }
226
227
  });
227
228
  const WorkspacePlatform = ( new RawContextKey('workspacePlatform', undefined, ( localize(
228
- 12981,
229
+ 13121,
229
230
  "The platform of the current workspace, which in remote or serverless contexts may be different from the platform of the UI"
230
231
  ))));
231
232
  let WorkspacePlatformContribution = class WorkspacePlatformContribution {
@@ -277,7 +278,7 @@ configurationRegistry.registerConfiguration({
277
278
  type: 'boolean',
278
279
  default: true,
279
280
  description: ( localize(
280
- 12982,
281
+ 13122,
281
282
  "When enabled, an extension's walkthrough will open upon install of the extension."
282
283
  ))
283
284
  },
@@ -286,25 +287,25 @@ configurationRegistry.registerConfiguration({
286
287
  'type': 'string',
287
288
  'enum': ['none', 'welcomePage', 'readme', 'newUntitledFile', 'welcomePageInEmptyWorkbench', 'terminal'],
288
289
  'enumDescriptions': [
289
- ( localize(12983, "Start without an editor.")),
290
+ ( localize(13123, "Start without an editor.")),
290
291
  ( localize(
291
- 12984,
292
+ 13124,
292
293
  "Open the Welcome page, with content to aid in getting started with VS Code and extensions."
293
294
  )),
294
295
  ( localize(
295
- 12985,
296
+ 13125,
296
297
  "Open the README when opening a folder that contains one, fallback to 'welcomePage' otherwise. Note: This is only observed as a global configuration, it will be ignored if set in a workspace or folder configuration."
297
298
  )),
298
299
  ( localize(
299
- 12986,
300
+ 13126,
300
301
  "Open a new untitled text file (only applies when opening an empty window)."
301
302
  )),
302
- ( localize(12987, "Open the Welcome page when opening an empty workbench.")),
303
- ( localize(12988, "Open a new terminal in the editor area.")),
303
+ ( localize(13127, "Open the Welcome page when opening an empty workbench.")),
304
+ ( localize(13128, "Open a new terminal in the editor area.")),
304
305
  ],
305
306
  'default': 'welcomePage',
306
307
  'description': ( localize(
307
- 12989,
308
+ 13129,
308
309
  "Controls which editor is shown at startup, if none are restored from the previous session."
309
310
  ))
310
311
  },
@@ -312,8 +313,8 @@ configurationRegistry.registerConfiguration({
312
313
  scope: ConfigurationScope.APPLICATION,
313
314
  type: 'boolean',
314
315
  default: false,
315
- deprecationMessage: ( localize(12990, "Deprecated, use the global `workbench.reduceMotion`.")),
316
- description: ( localize(12991, "When enabled, reduce motion in welcome page."))
316
+ deprecationMessage: ( localize(13130, "Deprecated, use the global `workbench.reduceMotion`.")),
317
+ description: ( localize(13131, "When enabled, reduce motion in welcome page."))
317
318
  }
318
319
  }
319
320
  });
@@ -20,7 +20,7 @@ import { IStorageService } from "@codingame/monaco-vscode-api/vscode/vs/platform
20
20
  import { ITelemetryService } from "@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service";
21
21
  import { IWorkspaceContextService } from "@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace.service";
22
22
  import { IWorkspacesService } from "@codingame/monaco-vscode-api/vscode/vs/platform/workspaces/common/workspaces.service";
23
- import { EditorPane } from "@codingame/monaco-vscode-60014c9d-b815-501d-83a9-4b08725c2ec2-common/vscode/vs/workbench/browser/parts/editor/editorPane";
23
+ import { EditorPane } from "@codingame/monaco-vscode-api/vscode/vs/workbench/browser/parts/editor/editorPane";
24
24
  import { IEditorOpenContext, IEditorSerializer } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor";
25
25
  import { IWebviewService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/webview/browser/webview.service";
26
26
  import { GettingStartedEditorOptions, GettingStartedInput } from "./gettingStartedInput.js";
@@ -95,7 +95,7 @@ export declare class GettingStartedPage extends EditorPane {
95
95
  private detailsRenderer;
96
96
  private readonly categoriesSlideDisposables;
97
97
  private showFeaturedWalkthrough;
98
- get editorInput(): GettingStartedInput;
98
+ get editorInput(): GettingStartedInput | undefined;
99
99
  constructor(group: IEditorGroup, commandService: ICommandService, productService: IProductService, keybindingService: IKeybindingService, gettingStartedService: IWalkthroughsService, configurationService: IConfigurationService, telemetryService: ITelemetryService, languageService: ILanguageService, fileService: IFileService, openerService: IOpenerService, themeService: IWorkbenchThemeService, storageService: IStorageService, extensionService: IExtensionService, instantiationService: IInstantiationService, notificationService: INotificationService, groupsService: IEditorGroupsService, contextService: IContextKeyService, quickInputService: IQuickInputService, workspacesService: IWorkspacesService, labelService: ILabelService, hostService: IHostService, webviewService: IWebviewService, workspaceContextService: IWorkspaceContextService, accessibilityService: IAccessibilityService, markdownRendererService: IMarkdownRendererService);
100
100
  private shouldAnimate;
101
101
  private getWalkthroughCompletionStats;