@codingame/monaco-vscode-walkthrough-service-override 31.0.1 → 32.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.
- package/package.json +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsBanner.d.ts +4 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsBanner.js +9 -5
- package/vscode/src/vs/workbench/contrib/welcomeAgentSessions/browser/agentSessionsWelcome.js +14 -14
- package/vscode/src/vs/workbench/contrib/welcomeAgentSessions/browser/agentSessionsWelcomeInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.js +26 -22
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.js +46 -43
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedAccessibleView.js +2 -2
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedColors.js +7 -7
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedExtensionPoint.js +37 -37
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedIcons.js +2 -2
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService._contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService.js +1 -1
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/media/gettingStarted.css +1 -0
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/startupPage.js +2 -2
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent.js +152 -152
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/notebookProfile.js +3 -3
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/theme_picker.js +5 -5
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/theme_picker_small.js +4 -4
- package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/editor/editorWalkThrough.js +3 -3
- package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThrough.contribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThroughPart.js +2 -2
- 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": "
|
|
3
|
+
"version": "32.0.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - walkthrough service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-api": "
|
|
19
|
-
"@codingame/monaco-vscode-katex-common": "
|
|
18
|
+
"@codingame/monaco-vscode-api": "32.0.0",
|
|
19
|
+
"@codingame/monaco-vscode-katex-common": "32.0.0",
|
|
20
20
|
"marked": "14.0.0"
|
|
21
21
|
},
|
|
22
22
|
"main": "index.js",
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { DisposableStore } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
2
2
|
import { ICommandService } from "@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands.service";
|
|
3
|
-
import { IProductService } from "@codingame/monaco-vscode-api/vscode/vs/platform/product/common/productService.service";
|
|
4
3
|
import { ITelemetryService } from "@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service";
|
|
4
|
+
import { IChatEntitlementService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/chat/common/chatEntitlementService.service";
|
|
5
5
|
export interface IAgentsBannerResult {
|
|
6
6
|
readonly element: HTMLElement;
|
|
7
7
|
readonly disposables: DisposableStore;
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* Returns whether the agents banner can be shown.
|
|
11
|
-
* The banner requires the
|
|
11
|
+
* The banner requires the open agents window command
|
|
12
12
|
* to be registered (desktop builds only) and is limited to Insiders quality.
|
|
13
|
+
* It is also hidden when AI features are disabled.
|
|
13
14
|
*/
|
|
14
|
-
export declare function canShowAgentsBanner(
|
|
15
|
+
export declare function canShowAgentsBanner(chatEntitlementService: IChatEntitlementService): boolean;
|
|
15
16
|
export interface IAgentsBannerOptions {
|
|
16
17
|
/** Dot-separated CSS classes for the banner container (e.g. 'my-banner' or 'foo.bar'). */
|
|
17
18
|
readonly cssClass: string;
|
|
@@ -3,14 +3,18 @@ import { $, addDisposableListener } from '@codingame/monaco-vscode-api/vscode/vs
|
|
|
3
3
|
import { DisposableStore } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
4
4
|
import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
5
5
|
import { CommandsRegistry } from '@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands';
|
|
6
|
+
import { OPEN_WORKSPACE_IN_AGENTS_WINDOW_COMMAND_ID } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/constants';
|
|
6
7
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
function canShowAgentsBanner(chatEntitlementService) {
|
|
9
|
+
const sentiment = chatEntitlementService.sentiment;
|
|
10
|
+
if (sentiment.hidden || sentiment.disabled) {
|
|
11
|
+
return false;
|
|
12
|
+
}
|
|
13
|
+
return !!CommandsRegistry.getCommand(OPEN_WORKSPACE_IN_AGENTS_WINDOW_COMMAND_ID);
|
|
10
14
|
}
|
|
11
15
|
function createAgentsBanner(options, commandService, telemetryService) {
|
|
12
16
|
const disposables = ( new DisposableStore());
|
|
13
|
-
const label = options.label ?? ( localize(
|
|
17
|
+
const label = options.label ?? ( localize(5239, "Try out the new Agents window"));
|
|
14
18
|
const button = $("button.agents-banner-button", {
|
|
15
19
|
title: label
|
|
16
20
|
}, $(".codicon.codicon-agent.icon-widget"), $("span.category-title", {}, label));
|
|
@@ -20,7 +24,7 @@ function createAgentsBanner(options, commandService, telemetryService) {
|
|
|
20
24
|
source: options.source,
|
|
21
25
|
action: "openAgentsWindow"
|
|
22
26
|
});
|
|
23
|
-
commandService.executeCommand(
|
|
27
|
+
commandService.executeCommand(OPEN_WORKSPACE_IN_AGENTS_WINDOW_COMMAND_ID, {
|
|
24
28
|
forceNewWindow: true
|
|
25
29
|
});
|
|
26
30
|
}));
|
package/vscode/src/vs/workbench/contrib/welcomeAgentSessions/browser/agentSessionsWelcome.js
CHANGED
|
@@ -152,7 +152,7 @@ let AgentSessionsWelcomePage = class AgentSessionsWelcomePage extends EditorPane
|
|
|
152
152
|
this.container = $(".agentSessionsWelcome", {
|
|
153
153
|
role: "document",
|
|
154
154
|
tabindex: 0,
|
|
155
|
-
"aria-label": ( localize(
|
|
155
|
+
"aria-label": ( localize(15660, "Overview of agent sessions and how to get started."))
|
|
156
156
|
});
|
|
157
157
|
this.contextService = this._register(contextKeyService.createScoped(this.container));
|
|
158
158
|
ChatContextKeys.inAgentSessionsWelcome.bindTo(this.contextService).set(true);
|
|
@@ -229,20 +229,20 @@ let AgentSessionsWelcomePage = class AgentSessionsWelcomePage extends EditorPane
|
|
|
229
229
|
const workspaces = await this.getRecentlyOpenedWorkspaces(false);
|
|
230
230
|
const openEntry = workspaces.length > 0 ? {
|
|
231
231
|
icon: Codicon.folderOpened,
|
|
232
|
-
label: ( localize(
|
|
232
|
+
label: ( localize(15661, "Open Recent...")),
|
|
233
233
|
command: "workbench.action.openRecent"
|
|
234
234
|
} : {
|
|
235
235
|
icon: Codicon.folderOpened,
|
|
236
|
-
label: ( localize(
|
|
236
|
+
label: ( localize(15662, "Open Folder...")),
|
|
237
237
|
command: "workbench.action.files.openFolder"
|
|
238
238
|
};
|
|
239
239
|
const entries = [openEntry, {
|
|
240
240
|
icon: Codicon.newFile,
|
|
241
|
-
label: ( localize(
|
|
241
|
+
label: ( localize(15663, "New file...")),
|
|
242
242
|
command: "welcome.showNewFileEntries"
|
|
243
243
|
}, {
|
|
244
244
|
icon: Codicon.repoClone,
|
|
245
|
-
label: ( localize(
|
|
245
|
+
label: ( localize(15664, "Clone Git Repository...")),
|
|
246
246
|
command: "git.clone"
|
|
247
247
|
}];
|
|
248
248
|
for (const entry of entries) {
|
|
@@ -491,11 +491,11 @@ let AgentSessionsWelcomePage = class AgentSessionsWelcomePage extends EditorPane
|
|
|
491
491
|
this.layoutSessionsControl();
|
|
492
492
|
})
|
|
493
493
|
);
|
|
494
|
-
if (canShowAgentsBanner(this.
|
|
494
|
+
if (canShowAgentsBanner(this.chatEntitlementService)) {
|
|
495
495
|
const agentsBanner = createAgentsBanner({
|
|
496
496
|
cssClass: "agentSessionsWelcome-agentsBanner",
|
|
497
497
|
source: "agentSessionsWelcome",
|
|
498
|
-
label: ( localize(
|
|
498
|
+
label: ( localize(15665, "View All Sessions")),
|
|
499
499
|
onButtonClick: () => {
|
|
500
500
|
this._closedBy = "viewAllSessions";
|
|
501
501
|
}
|
|
@@ -518,10 +518,10 @@ let AgentSessionsWelcomePage = class AgentSessionsWelcomePage extends EditorPane
|
|
|
518
518
|
const navContainer = append(card, $(".agentSessionsWelcome-walkthroughCard-nav"));
|
|
519
519
|
const prevButton = append(navContainer, $("button.nav-button"));
|
|
520
520
|
prevButton.appendChild(renderIcon(Codicon.chevronLeft));
|
|
521
|
-
prevButton.title = ( localize(
|
|
521
|
+
prevButton.title = ( localize(15666, "Previous"));
|
|
522
522
|
const nextButton = append(navContainer, $("button.nav-button"));
|
|
523
523
|
nextButton.appendChild(renderIcon(Codicon.chevronRight));
|
|
524
|
-
nextButton.title = ( localize(
|
|
524
|
+
nextButton.title = ( localize(15667, "Next"));
|
|
525
525
|
const updateContent = () => {
|
|
526
526
|
const walkthrough = activeWalkthroughs[currentIndex];
|
|
527
527
|
clearNode(iconContainer);
|
|
@@ -601,10 +601,10 @@ let AgentSessionsWelcomePage = class AgentSessionsWelcomePage extends EditorPane
|
|
|
601
601
|
iconContainer.appendChild(renderIcon(Codicon.chatSparkle));
|
|
602
602
|
const content = append(tosCard, $(".agentSessionsWelcome-walkthroughCard-content"));
|
|
603
603
|
const title = append(content, $(".agentSessionsWelcome-walkthroughCard-title"));
|
|
604
|
-
title.textContent = ( localize(
|
|
604
|
+
title.textContent = ( localize(15668, "Try GitHub Copilot for free, no sign-in required!"));
|
|
605
605
|
const desc = append(content, $(".agentSessionsWelcome-walkthroughCard-description"));
|
|
606
606
|
const descriptionMarkdown = ( new MarkdownString(( localize(
|
|
607
|
-
|
|
607
|
+
15669,
|
|
608
608
|
"By continuing, you agree to {0}'s [Terms]({1}) and [Privacy Statement]({2}).",
|
|
609
609
|
providers.default.name,
|
|
610
610
|
this.productService.defaultChatAgent.termsStatementUrl,
|
|
@@ -616,7 +616,7 @@ let AgentSessionsWelcomePage = class AgentSessionsWelcomePage extends EditorPane
|
|
|
616
616
|
desc.appendChild(renderedMarkdown.element);
|
|
617
617
|
const dismissButton = append(tosCard, $("button.agentSessionsWelcome-tosCard-dismiss"));
|
|
618
618
|
dismissButton.appendChild(renderIcon(Codicon.close));
|
|
619
|
-
dismissButton.title = ( localize(
|
|
619
|
+
dismissButton.title = ( localize(15670, "Dismiss"));
|
|
620
620
|
dismissButton.onclick = e => {
|
|
621
621
|
e.stopPropagation();
|
|
622
622
|
dismissNotice();
|
|
@@ -629,7 +629,7 @@ let AgentSessionsWelcomePage = class AgentSessionsWelcomePage extends EditorPane
|
|
|
629
629
|
icon: Codicon.check,
|
|
630
630
|
actionClassName: "agentSessionsWelcome-checkbox",
|
|
631
631
|
isChecked: this.configurationService.getValue(configurationKey) === "agentSessionsWelcomePage",
|
|
632
|
-
title: ( localize(
|
|
632
|
+
title: ( localize(15671, "When checked, this page will be shown on startup.")),
|
|
633
633
|
...getToggleStyles({
|
|
634
634
|
inputActiveOptionBackground: "var(--vscode-descriptionForeground)",
|
|
635
635
|
inputActiveOptionForeground: "var(--vscode-editor-background)",
|
|
@@ -639,7 +639,7 @@ let AgentSessionsWelcomePage = class AgentSessionsWelcomePage extends EditorPane
|
|
|
639
639
|
showOnStartupCheckbox.domNode.id = "showOnStartup";
|
|
640
640
|
const showOnStartupLabel = $("label.caption", {
|
|
641
641
|
for: "showOnStartup"
|
|
642
|
-
}, ( localize(
|
|
642
|
+
}, ( localize(15672, "Show welcome page on startup")));
|
|
643
643
|
const onShowOnStartupChanged = () => {
|
|
644
644
|
if (showOnStartupCheckbox.checked) {
|
|
645
645
|
this.configurationService.updateValue(configurationKey, "agentSessionsWelcomePage");
|
package/vscode/src/vs/workbench/contrib/welcomeAgentSessions/browser/agentSessionsWelcomeInput.js
CHANGED
|
@@ -46,7 +46,7 @@ class AgentSessionsWelcomeInput extends EditorInput {
|
|
|
46
46
|
this._workspaceKind = options.workspaceKind;
|
|
47
47
|
}
|
|
48
48
|
getName() {
|
|
49
|
-
return localize(
|
|
49
|
+
return localize(15673, "Welcome");
|
|
50
50
|
}
|
|
51
51
|
get showTelemetryNotice() {
|
|
52
52
|
return this._showTelemetryNotice;
|
package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.js
CHANGED
|
@@ -40,7 +40,7 @@ registerAction2(class extends Action2 {
|
|
|
40
40
|
constructor() {
|
|
41
41
|
super({
|
|
42
42
|
id: "workbench.action.openWalkthrough",
|
|
43
|
-
title: ( localize2(
|
|
43
|
+
title: ( localize2(15674, "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(
|
|
52
|
+
description: ( localize2(15675, "Opens a Walkthrough to help you get started in VS Code."))
|
|
53
53
|
}
|
|
54
54
|
});
|
|
55
55
|
}
|
|
@@ -114,15 +114,15 @@ registerAction2(class extends Action2 {
|
|
|
114
114
|
});
|
|
115
115
|
( Registry.as(EditorExtensions.EditorFactory)).registerEditorSerializer(GettingStartedInput.ID, GettingStartedInputSerializer);
|
|
116
116
|
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(
|
|
117
|
-
EditorPaneDescriptor.create(GettingStartedPage, GettingStartedPage.ID, ( localize(
|
|
117
|
+
EditorPaneDescriptor.create(GettingStartedPage, GettingStartedPage.ID, ( localize(15676, "Welcome"))),
|
|
118
118
|
[( new SyncDescriptor(GettingStartedInput))]
|
|
119
119
|
);
|
|
120
|
-
const category = ( localize2(
|
|
120
|
+
const category = ( localize2(15676, "Welcome"));
|
|
121
121
|
registerAction2(class extends Action2 {
|
|
122
122
|
constructor() {
|
|
123
123
|
super({
|
|
124
124
|
id: "welcome.goBack",
|
|
125
|
-
title: ( localize2(
|
|
125
|
+
title: ( localize2(15677, "Go Back")),
|
|
126
126
|
category,
|
|
127
127
|
keybinding: {
|
|
128
128
|
weight: KeybindingWeight.EditorContrib,
|
|
@@ -157,7 +157,7 @@ registerAction2(class extends Action2 {
|
|
|
157
157
|
constructor() {
|
|
158
158
|
super({
|
|
159
159
|
id: "welcome.markStepComplete",
|
|
160
|
-
title: ( localize(
|
|
160
|
+
title: ( localize(15678, "Mark Step Complete")),
|
|
161
161
|
category
|
|
162
162
|
});
|
|
163
163
|
}
|
|
@@ -173,7 +173,7 @@ registerAction2(class extends Action2 {
|
|
|
173
173
|
constructor() {
|
|
174
174
|
super({
|
|
175
175
|
id: "welcome.markStepIncomplete",
|
|
176
|
-
title: ( localize(
|
|
176
|
+
title: ( localize(15679, "Mark Step Incomplete")),
|
|
177
177
|
category
|
|
178
178
|
});
|
|
179
179
|
}
|
|
@@ -189,7 +189,7 @@ registerAction2(class extends Action2 {
|
|
|
189
189
|
constructor() {
|
|
190
190
|
super({
|
|
191
191
|
id: "welcome.showAllWalkthroughs",
|
|
192
|
-
title: ( localize2(
|
|
192
|
+
title: ( localize2(15680, "Open Walkthrough...")),
|
|
193
193
|
category,
|
|
194
194
|
f1: true,
|
|
195
195
|
menu: {
|
|
@@ -219,7 +219,7 @@ registerAction2(class extends Action2 {
|
|
|
219
219
|
quickPick.canSelectMany = false;
|
|
220
220
|
quickPick.matchOnDescription = true;
|
|
221
221
|
quickPick.matchOnDetail = true;
|
|
222
|
-
quickPick.placeholder = ( localize(
|
|
222
|
+
quickPick.placeholder = ( localize(15681, "Select a walkthrough to open"));
|
|
223
223
|
quickPick.items = await this.getQuickPickItems(contextService, gettingStartedService);
|
|
224
224
|
quickPick.busy = true;
|
|
225
225
|
disposables.add(quickPick.onDidAccept(() => {
|
|
@@ -250,7 +250,7 @@ CommandsRegistry.registerCommand({
|
|
|
250
250
|
}
|
|
251
251
|
});
|
|
252
252
|
const WorkspacePlatform = ( new RawContextKey("workspacePlatform", undefined, ( localize(
|
|
253
|
-
|
|
253
|
+
15682,
|
|
254
254
|
"The platform of the current workspace, which in remote or serverless contexts may be different from the platform of the UI"
|
|
255
255
|
))));
|
|
256
256
|
let WorkspacePlatformContribution = class WorkspacePlatformContribution {
|
|
@@ -292,7 +292,7 @@ configurationRegistry.registerConfiguration({
|
|
|
292
292
|
type: "boolean",
|
|
293
293
|
default: true,
|
|
294
294
|
description: ( localize(
|
|
295
|
-
|
|
295
|
+
15683,
|
|
296
296
|
"When enabled, an extension's walkthrough will open upon install of the extension."
|
|
297
297
|
))
|
|
298
298
|
},
|
|
@@ -308,42 +308,46 @@ configurationRegistry.registerConfiguration({
|
|
|
308
308
|
"terminal",
|
|
309
309
|
"agentSessionsWelcomePage"
|
|
310
310
|
],
|
|
311
|
-
"enumDescriptions": [( localize(
|
|
312
|
-
|
|
311
|
+
"enumDescriptions": [( localize(15684, "Start without an editor.")), ( localize(
|
|
312
|
+
15685,
|
|
313
313
|
"Open the Welcome page, with content to aid in getting started with VS Code and extensions."
|
|
314
314
|
)), ( localize(
|
|
315
|
-
|
|
315
|
+
15686,
|
|
316
316
|
"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."
|
|
317
317
|
)), ( localize(
|
|
318
|
-
|
|
318
|
+
15687,
|
|
319
319
|
"Open a new untitled text file (only applies when opening an empty window)."
|
|
320
|
-
)), ( localize(
|
|
321
|
-
|
|
320
|
+
)), ( localize(15688, "Open the Welcome page when opening an empty workbench.")), ( localize(15689, "Open a new terminal in the editor area.")), ( localize(
|
|
321
|
+
15690,
|
|
322
322
|
"Open the Agent Sessions Welcome page. Will override the workbench secondary side bar visibility settings."
|
|
323
323
|
))],
|
|
324
324
|
"default": "welcomePage",
|
|
325
325
|
"description": ( localize(
|
|
326
|
-
|
|
326
|
+
15691,
|
|
327
327
|
"Controls which editor is shown at startup, if none are restored from the previous session."
|
|
328
328
|
)),
|
|
329
329
|
"experiment": {
|
|
330
330
|
mode: "auto"
|
|
331
|
+
},
|
|
332
|
+
agentsWindow: {
|
|
333
|
+
default: "none",
|
|
334
|
+
readOnly: true
|
|
331
335
|
}
|
|
332
336
|
},
|
|
333
337
|
"workbench.welcomePage.preferReducedMotion": {
|
|
334
338
|
scope: ConfigurationScope.APPLICATION,
|
|
335
339
|
type: "boolean",
|
|
336
340
|
default: false,
|
|
337
|
-
deprecationMessage: ( localize(
|
|
338
|
-
description: ( localize(
|
|
341
|
+
deprecationMessage: ( localize(15692, "Deprecated, use the global `workbench.reduceMotion`.")),
|
|
342
|
+
description: ( localize(15693, "When enabled, reduce motion in welcome page."))
|
|
339
343
|
},
|
|
340
344
|
"workbench.welcomePage.experimentalOnboarding": {
|
|
341
345
|
scope: ConfigurationScope.APPLICATION,
|
|
342
346
|
type: "boolean",
|
|
343
|
-
default:
|
|
347
|
+
default: true,
|
|
344
348
|
tags: ["experimental"],
|
|
345
349
|
description: ( localize(
|
|
346
|
-
|
|
350
|
+
15694,
|
|
347
351
|
"When enabled, show the new onboarding experience instead of the classic walkthrough on first launch."
|
|
348
352
|
)),
|
|
349
353
|
experiment: {
|
|
@@ -30,6 +30,7 @@ import { IEditorGroupsService } from "@codingame/monaco-vscode-api/vscode/vs/wor
|
|
|
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
32
|
import { IWorkbenchThemeService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/themes/common/workbenchThemeService.service";
|
|
33
|
+
import { IChatEntitlementService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/chat/common/chatEntitlementService.service";
|
|
33
34
|
export declare const allWalkthroughsHiddenContext: RawContextKey<boolean>;
|
|
34
35
|
export declare const inWelcomeContext: RawContextKey<boolean>;
|
|
35
36
|
export interface IWelcomePageStartEntry {
|
|
@@ -67,6 +68,7 @@ export declare class GettingStartedPage extends EditorPane {
|
|
|
67
68
|
private readonly workspaceContextService;
|
|
68
69
|
private readonly accessibilityService;
|
|
69
70
|
private readonly markdownRendererService;
|
|
71
|
+
private readonly chatEntitlementService;
|
|
70
72
|
static readonly ID = "gettingStartedPage";
|
|
71
73
|
private inProgressScroll;
|
|
72
74
|
private readonly dispatchListeners;
|
|
@@ -96,7 +98,7 @@ export declare class GettingStartedPage extends EditorPane {
|
|
|
96
98
|
private readonly categoriesSlideDisposables;
|
|
97
99
|
private showFeaturedWalkthrough;
|
|
98
100
|
get editorInput(): GettingStartedInput | undefined;
|
|
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);
|
|
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, markdownRendererService: IMarkdownRendererService, chatEntitlementService: IChatEntitlementService);
|
|
100
102
|
private shouldAnimate;
|
|
101
103
|
private getWalkthroughCompletionStats;
|
|
102
104
|
setInput(newInput: GettingStartedInput, options: GettingStartedEditorOptions | undefined, context: IEditorOpenContext, token: CancellationToken): Promise<void>;
|