@codingame/monaco-vscode-walkthrough-service-override 17.2.1 → 18.0.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 (30) hide show
  1. package/package.json +10 -10
  2. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.js +23 -23
  3. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.d.ts +5 -3
  4. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.js +65 -49
  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 +8 -7
  13. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/media/gettingStarted.css +22 -3
  14. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/startupPage.js +2 -2
  15. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent.d.ts +1 -0
  16. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent.js +191 -184
  17. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/ai-powered-suggestions.svg +146 -44
  18. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/all.svg.js +1 -0
  19. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/customize-ai.svg +164 -0
  20. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/multi-file-edits.svg +204 -114
  21. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/notebookProfile.js +3 -3
  22. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/theme_picker.js +5 -5
  23. package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/theme_picker_small.js +4 -4
  24. package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/editor/editorWalkThrough.js +3 -3
  25. package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThrough.contribution.js +3 -3
  26. package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThroughInput.d.ts +1 -1
  27. package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThroughInput.js +2 -2
  28. package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThroughPart.d.ts +1 -1
  29. package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThroughPart.js +3 -3
  30. 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": "17.2.1",
3
+ "version": "18.0.0",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - walkthrough service-override",
6
6
  "keywords": [],
@@ -15,15 +15,15 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-158b9837-fc78-5d9c-86f5-9134e4358643-common": "17.2.1",
19
- "@codingame/monaco-vscode-25a9b730-95ad-54d3-8807-71421ad9b891-common": "17.2.1",
20
- "@codingame/monaco-vscode-5e324391-11e3-5ceb-93ee-938e4098e4ad-common": "17.2.1",
21
- "@codingame/monaco-vscode-7443a901-21f6-577a-9674-42893b997ee0-common": "17.2.1",
22
- "@codingame/monaco-vscode-7bbc9e7d-eeae-55fc-8bf9-dc2f66e0dc73-common": "17.2.1",
23
- "@codingame/monaco-vscode-97284942-b044-5fbb-b53b-3f46d2468746-common": "17.2.1",
24
- "@codingame/monaco-vscode-9d0168a3-519b-57f3-9bcc-89efc41f951a-common": "17.2.1",
25
- "@codingame/monaco-vscode-api": "17.2.1",
26
- "@codingame/monaco-vscode-d0fb86d3-2a47-594e-955b-9a24631a7124-common": "17.2.1",
18
+ "@codingame/monaco-vscode-158b9837-fc78-5d9c-86f5-9134e4358643-common": "18.0.0",
19
+ "@codingame/monaco-vscode-7bbc9e7d-eeae-55fc-8bf9-dc2f66e0dc73-common": "18.0.0",
20
+ "@codingame/monaco-vscode-924e8f00-6faf-5059-b518-e43427d29ab3-common": "18.0.0",
21
+ "@codingame/monaco-vscode-93784a59-b4cf-520c-8339-f8104d3a4f3e-common": "18.0.0",
22
+ "@codingame/monaco-vscode-97284942-b044-5fbb-b53b-3f46d2468746-common": "18.0.0",
23
+ "@codingame/monaco-vscode-9d0168a3-519b-57f3-9bcc-89efc41f951a-common": "18.0.0",
24
+ "@codingame/monaco-vscode-api": "18.0.0",
25
+ "@codingame/monaco-vscode-cf77987b-b1b7-5359-aaf8-a259c63d9f03-common": "18.0.0",
26
+ "@codingame/monaco-vscode-dcfc2191-2da1-54c7-8fb7-e92c5d11ecef-common": "18.0.0",
27
27
  "marked": "14.0.0"
28
28
  },
29
29
  "main": "index.js",
@@ -12,7 +12,7 @@ import { SIDE_GROUP } from '@codingame/monaco-vscode-api/vscode/vs/workbench/ser
12
12
  import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
13
13
  import { KeybindingWeight } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybindingsRegistry';
14
14
  import { KeyCode } from '@codingame/monaco-vscode-api/vscode/vs/base/common/keyCodes';
15
- import { EditorPaneDescriptor } from '@codingame/monaco-vscode-d0fb86d3-2a47-594e-955b-9a24631a7124-common/vscode/vs/workbench/browser/editor';
15
+ import { EditorPaneDescriptor } from '@codingame/monaco-vscode-dcfc2191-2da1-54c7-8fb7-e92c5d11ecef-common/vscode/vs/workbench/browser/editor';
16
16
  import { SyncDescriptor } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/descriptors';
17
17
  import { IWalkthroughsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService.service';
18
18
  import { GettingStartedInput } from './gettingStartedInput.js';
@@ -28,7 +28,7 @@ import { OperatingSystem, isMacintosh, isLinux, isWindows } from '@codingame/mon
28
28
  import { IExtensionManagementServerService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensionManagement/common/extensionManagement.service';
29
29
  import { IExtensionService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensions.service';
30
30
  import { StartupPageEditorResolverContribution, StartupPageRunnerContribution } from './startupPage.js';
31
- import { ExtensionsInput } from '@codingame/monaco-vscode-5e324391-11e3-5ceb-93ee-938e4098e4ad-common/vscode/vs/workbench/contrib/extensions/common/extensionsInput';
31
+ import { ExtensionsInput } from '@codingame/monaco-vscode-cf77987b-b1b7-5359-aaf8-a259c63d9f03-common/vscode/vs/workbench/contrib/extensions/common/extensionsInput';
32
32
  import { Categories } from '@codingame/monaco-vscode-api/vscode/vs/platform/action/common/actionCommonCategories';
33
33
  import { DisposableStore } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
34
34
  import { AccessibleViewRegistry } from '@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/browser/accessibleViewRegistry';
@@ -40,7 +40,7 @@ registerAction2(class extends Action2 {
40
40
  constructor() {
41
41
  super({
42
42
  id: 'workbench.action.openWalkthrough',
43
- title: ( localize2(11482, 'Welcome')),
43
+ title: ( localize2(11749, 'Welcome')),
44
44
  category: Categories.Help,
45
45
  f1: true,
46
46
  menu: {
@@ -49,7 +49,7 @@ registerAction2(class extends Action2 {
49
49
  order: 1,
50
50
  },
51
51
  metadata: {
52
- description: ( localize2(11483, 'Opens a Walkthrough to help you get started in VS Code.'))
52
+ description: ( localize2(11750, 'Opens a Walkthrough to help you get started in VS Code.'))
53
53
  }
54
54
  });
55
55
  }
@@ -132,15 +132,15 @@ registerAction2(class extends Action2 {
132
132
  }
133
133
  });
134
134
  ( Registry.as(EditorExtensions.EditorFactory)).registerEditorSerializer(GettingStartedInput.ID, GettingStartedInputSerializer);
135
- ( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(GettingStartedPage, GettingStartedPage.ID, ( localize(11484, "Welcome"))), [
135
+ ( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(GettingStartedPage, GettingStartedPage.ID, ( localize(11751, "Welcome"))), [
136
136
  ( new SyncDescriptor(GettingStartedInput))
137
137
  ]);
138
- const category = ( localize2(11484, "Welcome"));
138
+ const category = ( localize2(11751, "Welcome"));
139
139
  registerAction2(class extends Action2 {
140
140
  constructor() {
141
141
  super({
142
142
  id: 'welcome.goBack',
143
- title: ( localize2(11485, 'Go Back')),
143
+ title: ( localize2(11752, 'Go Back')),
144
144
  category,
145
145
  keybinding: {
146
146
  weight: KeybindingWeight.EditorContrib,
@@ -176,7 +176,7 @@ registerAction2(class extends Action2 {
176
176
  constructor() {
177
177
  super({
178
178
  id: 'welcome.markStepComplete',
179
- title: ( localize(11486, "Mark Step Complete")),
179
+ title: ( localize(11753, "Mark Step Complete")),
180
180
  category,
181
181
  });
182
182
  }
@@ -192,7 +192,7 @@ registerAction2(class extends Action2 {
192
192
  constructor() {
193
193
  super({
194
194
  id: 'welcome.markStepIncomplete',
195
- title: ( localize(11487, "Mark Step Incomplete")),
195
+ title: ( localize(11754, "Mark Step Incomplete")),
196
196
  category,
197
197
  });
198
198
  }
@@ -208,7 +208,7 @@ registerAction2(class extends Action2 {
208
208
  constructor() {
209
209
  super({
210
210
  id: 'welcome.showAllWalkthroughs',
211
- title: ( localize2(11488, 'Open Walkthrough...')),
211
+ title: ( localize2(11755, 'Open Walkthrough...')),
212
212
  category,
213
213
  f1: true,
214
214
  menu: {
@@ -240,7 +240,7 @@ registerAction2(class extends Action2 {
240
240
  quickPick.canSelectMany = false;
241
241
  quickPick.matchOnDescription = true;
242
242
  quickPick.matchOnDetail = true;
243
- quickPick.placeholder = ( localize(11489, 'Select a walkthrough to open'));
243
+ quickPick.placeholder = ( localize(11756, 'Select a walkthrough to open'));
244
244
  quickPick.items = await this.getQuickPickItems(contextService, gettingStartedService);
245
245
  quickPick.busy = true;
246
246
  disposables.add(quickPick.onDidAccept(() => {
@@ -263,7 +263,7 @@ registerAction2(class extends Action2 {
263
263
  constructor() {
264
264
  super({
265
265
  id: 'welcome.showNewWelcome',
266
- title: ( localize2(11490, 'Open New Welcome Experience')),
266
+ title: ( localize2(11757, 'Open New Welcome Experience')),
267
267
  f1: true,
268
268
  });
269
269
  }
@@ -284,7 +284,7 @@ CommandsRegistry.registerCommand({
284
284
  }
285
285
  });
286
286
  const WorkspacePlatform = ( new RawContextKey('workspacePlatform', undefined, ( localize(
287
- 11491,
287
+ 11758,
288
288
  "The platform of the current workspace, which in remote or serverless contexts may be different from the platform of the UI"
289
289
  ))));
290
290
  let WorkspacePlatformContribution = class WorkspacePlatformContribution {
@@ -336,7 +336,7 @@ configurationRegistry.registerConfiguration({
336
336
  type: 'boolean',
337
337
  default: true,
338
338
  description: ( localize(
339
- 11492,
339
+ 11759,
340
340
  "When enabled, an extension's walkthrough will open upon install of the extension."
341
341
  ))
342
342
  },
@@ -345,25 +345,25 @@ configurationRegistry.registerConfiguration({
345
345
  'type': 'string',
346
346
  'enum': ['none', 'welcomePage', 'readme', 'newUntitledFile', 'welcomePageInEmptyWorkbench', 'terminal'],
347
347
  'enumDescriptions': [
348
- ( localize(11493, "Start without an editor.")),
348
+ ( localize(11760, "Start without an editor.")),
349
349
  ( localize(
350
- 11494,
350
+ 11761,
351
351
  "Open the Welcome page, with content to aid in getting started with VS Code and extensions."
352
352
  )),
353
353
  ( localize(
354
- 11495,
354
+ 11762,
355
355
  "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."
356
356
  )),
357
357
  ( localize(
358
- 11496,
358
+ 11763,
359
359
  "Open a new untitled text file (only applies when opening an empty window)."
360
360
  )),
361
- ( localize(11497, "Open the Welcome page when opening an empty workbench.")),
362
- ( localize(11498, "Open a new terminal in the editor area.")),
361
+ ( localize(11764, "Open the Welcome page when opening an empty workbench.")),
362
+ ( localize(11765, "Open a new terminal in the editor area.")),
363
363
  ],
364
364
  'default': 'welcomePage',
365
365
  'description': ( localize(
366
- 11499,
366
+ 11766,
367
367
  "Controls which editor is shown at startup, if none are restored from the previous session."
368
368
  ))
369
369
  },
@@ -371,8 +371,8 @@ configurationRegistry.registerConfiguration({
371
371
  scope: ConfigurationScope.APPLICATION,
372
372
  type: 'boolean',
373
373
  default: false,
374
- deprecationMessage: ( localize(11500, "Deprecated, use the global `workbench.reduceMotion`.")),
375
- description: ( localize(11501, "When enabled, reduce motion in welcome page."))
374
+ deprecationMessage: ( localize(11767, "Deprecated, use the global `workbench.reduceMotion`.")),
375
+ description: ( localize(11768, "When enabled, reduce motion in welcome page."))
376
376
  }
377
377
  }
378
378
  });
@@ -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-d0fb86d3-2a47-594e-955b-9a24631a7124-common/vscode/vs/workbench/browser/parts/editor/editorPane";
23
+ import { EditorPane } from "@codingame/monaco-vscode-dcfc2191-2da1-54c7-8fb7-e92c5d11ecef-common/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 { GettingStartedInput } from "./gettingStartedInput.js";
@@ -29,7 +29,8 @@ import { IEditorGroup } from "@codingame/monaco-vscode-api/vscode/vs/workbench/s
29
29
  import { IEditorGroupsService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorGroupsService.service";
30
30
  import { IExtensionService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensions.service";
31
31
  import { IHostService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/host/browser/host.service";
32
- import { IWorkbenchThemeService } from "@codingame/monaco-vscode-7443a901-21f6-577a-9674-42893b997ee0-common/vscode/vs/workbench/services/themes/common/workbenchThemeService.service";
32
+ import { IWorkbenchThemeService } from "@codingame/monaco-vscode-93784a59-b4cf-520c-8339-f8104d3a4f3e-common/vscode/vs/workbench/services/themes/common/workbenchThemeService.service";
33
+ import { IGettingStartedExperimentService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedExpService.service";
33
34
  export declare const allWalkthroughsHiddenContext: RawContextKey<boolean>;
34
35
  export declare const inWelcomeContext: RawContextKey<boolean>;
35
36
  export interface IWelcomePageStartEntry {
@@ -66,6 +67,7 @@ export declare class GettingStartedPage extends EditorPane {
66
67
  private readonly webviewService;
67
68
  private readonly workspaceContextService;
68
69
  private readonly accessibilityService;
70
+ private readonly gettingStartedExperimentService;
69
71
  static readonly ID = "gettingStartedPage";
70
72
  private editorInput;
71
73
  private inProgressScroll;
@@ -96,7 +98,7 @@ export declare class GettingStartedPage extends EditorPane {
96
98
  private detailsRenderer;
97
99
  private readonly categoriesSlideDisposables;
98
100
  private showFeaturedWalkthrough;
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);
101
+ 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, gettingStartedExperimentService: IGettingStartedExperimentService);
100
102
  private shouldAnimate;
101
103
  private getWalkthroughCompletionStats;
102
104
  setInput(newInput: GettingStartedInput, options: IEditorOptions | undefined, context: IEditorOpenContext, token: CancellationToken): Promise<void>;