Getting Started -> Walkthroughs

Close #128580
上级 2f2e10be
......@@ -222,8 +222,8 @@ registerAction2(class extends Action2 {
registerAction2(class extends Action2 {
constructor() {
super({
id: 'welcome.showAllGettingStarted',
title: localize('welcome.showAllGettingStarted', "Open Getting Started Page..."),
id: 'welcome.showAllWalkthroughs',
title: localize('welcome.showAllWalkthroughs', "Open Walkthrough..."),
category,
f1: true,
});
......@@ -238,7 +238,7 @@ registerAction2(class extends Action2 {
id: x.id,
label: x.title,
detail: x.description,
})), { canPickMany: false, title: localize('pickWalkthroughs', "Open Getting Started Page...") });
})), { canPickMany: false, title: localize('pickWalkthroughs', "Open Walkthrough...") });
if (selection) {
commandService.executeCommand('workbench.action.openWalkthrough', selection.id);
}
......@@ -266,7 +266,7 @@ configurationRegistry.registerConfiguration({
scope: ConfigurationScope.APPLICATION,
type: 'boolean',
default: true,
description: localize('workbench.welcomePage.walkthroughs.openOnInstall', "When enabled, an extension's walkthrough will open upon install the extension. Walkthroughs are the items contributed the the 'Getting Started' section of the welcome page")
description: localize('workbench.welcomePage.walkthroughs.openOnInstall', "When enabled, an extension's walkthrough will open upon install the extension.")
}
}
});
......@@ -385,7 +385,7 @@ export class GettingStartedPage extends EditorPane {
id: x.id,
label: x.title,
detail: x.description,
})), { canPickMany: false, title: localize('pickWalkthroughs', "Open Getting Started Page...") });
})), { canPickMany: false, title: localize('pickWalkthroughs', "Open Walkthrough...") });
if (selection) {
this.runDispatchCommand('selectCategory', selection.id);
}
......@@ -842,7 +842,7 @@ export class GettingStartedPage extends EditorPane {
reset(leftColumn, startList.getDomElement());
reset(rightColumn, recentList.getDomElement());
reset(footer, $('p.showOnStartup', {}, showOnStartupCheckbox, $('label.caption', { for: 'showOnStartup' }, localize('welcomePage.showOnStartup', "Show welcome page on startup"))),
$('p.openAWalkthrough', {}, $('button.button-link', { 'x-dispatch': 'seeAllWalkthroughs' }, localize('openAWalkthrough', "Open Getting Started Page..."))));
$('p.openAWalkthrough', {}, $('button.button-link', { 'x-dispatch': 'seeAllWalkthroughs' }, localize('openAWalkthrough', "Open Walkthrough..."))));
recentList.setLimit(10);
}
setTimeout(() => this.categoriesPageScrollbar?.scanDomNode(), 50);
......@@ -1041,12 +1041,12 @@ export class GettingStartedPage extends EditorPane {
if (this.gettingStartedList) { this.gettingStartedList.dispose(); }
const gettingStartedList = this.gettingStartedList = new GettingStartedIndexList(
localize('gettingStarted', "Getting Started"),
localize('walkthroughs', "Walkthroughs"),
'getting-started',
5,
undefined,
undefined,
$('button.button-link.see-all-walkthroughs', { 'tabindex': '0', 'x-dispatch': 'seeAllWalkthroughs' }, localize('showAll', "Show All...")),
$('button.button-link.see-all-walkthroughs', { 'tabindex': '0', 'x-dispatch': 'seeAllWalkthroughs' }, localize('showAll', "More...")),
renderGetttingStaredWalkthrough);
gettingStartedList.onDidChange(() => {
......
......@@ -815,7 +815,7 @@ registerAction2(class extends Action2 {
super({
id: 'resetGettingStartedProgress',
category: 'Developer',
title: 'Reset Welcome Page Getting Started Progress',
title: 'Reset Welcome Page Walkthrough Progress',
f1: true
});
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册