@codingame/monaco-vscode-walkthrough-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 +2 -2
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.js +20 -20
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.js +30 -30
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedAccessibleView.js +3 -3
- 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/startupPage.js +2 -2
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent.js +155 -155
- 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/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": "10.0
|
|
3
|
+
"version": "10.1.0",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "CodinGame",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"vscode": "npm:@codingame/monaco-vscode-api@10.0
|
|
29
|
+
"vscode": "npm:@codingame/monaco-vscode-api@10.1.0",
|
|
30
30
|
"marked": "~14.0.0"
|
|
31
31
|
}
|
|
32
32
|
}
|
package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.js
CHANGED
|
@@ -37,7 +37,7 @@ registerAction2(class extends Action2 {
|
|
|
37
37
|
constructor() {
|
|
38
38
|
super({
|
|
39
39
|
id: 'workbench.action.openWalkthrough',
|
|
40
|
-
title: ( localize2(
|
|
40
|
+
title: ( localize2(3199, '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(
|
|
49
|
+
description: ( localize2(3200, 'Opens a Walkthrough to help you get started in VS Code.'))
|
|
50
50
|
}
|
|
51
51
|
});
|
|
52
52
|
}
|
|
@@ -124,15 +124,15 @@ registerAction2(class extends Action2 {
|
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
126
|
( (Registry.as(EditorExtensions.EditorFactory))).registerEditorSerializer(GettingStartedInput.ID, GettingStartedInputSerializer);
|
|
127
|
-
( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(GettingStartedPage, GettingStartedPage.ID, ( localize(
|
|
127
|
+
( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(GettingStartedPage, GettingStartedPage.ID, ( localize(3201, "Welcome"))), [
|
|
128
128
|
( (new SyncDescriptor(GettingStartedInput)))
|
|
129
129
|
]);
|
|
130
|
-
const category = ( localize2(
|
|
130
|
+
const category = ( localize2(3201, "Welcome"));
|
|
131
131
|
registerAction2(class extends Action2 {
|
|
132
132
|
constructor() {
|
|
133
133
|
super({
|
|
134
134
|
id: 'welcome.goBack',
|
|
135
|
-
title: ( localize2(
|
|
135
|
+
title: ( localize2(3202, 'Go Back')),
|
|
136
136
|
category,
|
|
137
137
|
keybinding: {
|
|
138
138
|
weight: 100 ,
|
|
@@ -168,7 +168,7 @@ registerAction2(class extends Action2 {
|
|
|
168
168
|
constructor() {
|
|
169
169
|
super({
|
|
170
170
|
id: 'welcome.markStepComplete',
|
|
171
|
-
title: ( localize(
|
|
171
|
+
title: ( localize(3203, "Mark Step Complete")),
|
|
172
172
|
category,
|
|
173
173
|
});
|
|
174
174
|
}
|
|
@@ -184,7 +184,7 @@ registerAction2(class extends Action2 {
|
|
|
184
184
|
constructor() {
|
|
185
185
|
super({
|
|
186
186
|
id: 'welcome.markStepIncomplete',
|
|
187
|
-
title: ( localize(
|
|
187
|
+
title: ( localize(3204, "Mark Step Incomplete")),
|
|
188
188
|
category,
|
|
189
189
|
});
|
|
190
190
|
}
|
|
@@ -200,7 +200,7 @@ registerAction2(class extends Action2 {
|
|
|
200
200
|
constructor() {
|
|
201
201
|
super({
|
|
202
202
|
id: 'welcome.showAllWalkthroughs',
|
|
203
|
-
title: ( localize2(
|
|
203
|
+
title: ( localize2(3205, 'Open Walkthrough...')),
|
|
204
204
|
category,
|
|
205
205
|
f1: true,
|
|
206
206
|
});
|
|
@@ -229,7 +229,7 @@ registerAction2(class extends Action2 {
|
|
|
229
229
|
quickPick.canSelectMany = false;
|
|
230
230
|
quickPick.matchOnDescription = true;
|
|
231
231
|
quickPick.matchOnDetail = true;
|
|
232
|
-
quickPick.placeholder = ( localize(
|
|
232
|
+
quickPick.placeholder = ( localize(3206, 'Select a walkthrough to open'));
|
|
233
233
|
quickPick.items = await this.getQuickPickItems(contextService, gettingStartedService);
|
|
234
234
|
quickPick.busy = true;
|
|
235
235
|
disposables.add(quickPick.onDidAccept(() => {
|
|
@@ -249,7 +249,7 @@ registerAction2(class extends Action2 {
|
|
|
249
249
|
}
|
|
250
250
|
});
|
|
251
251
|
const WorkspacePlatform = ( (new RawContextKey('workspacePlatform', undefined, ( localize(
|
|
252
|
-
|
|
252
|
+
3207,
|
|
253
253
|
"The platform of the current workspace, which in remote or serverless contexts may be different from the platform of the UI"
|
|
254
254
|
)))));
|
|
255
255
|
let WorkspacePlatformContribution = class WorkspacePlatformContribution {
|
|
@@ -301,7 +301,7 @@ configurationRegistry.registerConfiguration({
|
|
|
301
301
|
type: 'boolean',
|
|
302
302
|
default: true,
|
|
303
303
|
description: ( localize(
|
|
304
|
-
|
|
304
|
+
3208,
|
|
305
305
|
"When enabled, an extension's walkthrough will open upon install of the extension."
|
|
306
306
|
))
|
|
307
307
|
},
|
|
@@ -310,25 +310,25 @@ configurationRegistry.registerConfiguration({
|
|
|
310
310
|
'type': 'string',
|
|
311
311
|
'enum': ['none', 'welcomePage', 'readme', 'newUntitledFile', 'welcomePageInEmptyWorkbench', 'terminal'],
|
|
312
312
|
'enumDescriptions': [
|
|
313
|
-
( localize(
|
|
313
|
+
( localize(3209, "Start without an editor.")),
|
|
314
314
|
( localize(
|
|
315
|
-
|
|
315
|
+
3210,
|
|
316
316
|
"Open the Welcome page, with content to aid in getting started with VS Code and extensions."
|
|
317
317
|
)),
|
|
318
318
|
( localize(
|
|
319
|
-
|
|
319
|
+
3211,
|
|
320
320
|
"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."
|
|
321
321
|
)),
|
|
322
322
|
( localize(
|
|
323
|
-
|
|
323
|
+
3212,
|
|
324
324
|
"Open a new untitled text file (only applies when opening an empty window)."
|
|
325
325
|
)),
|
|
326
|
-
( localize(
|
|
327
|
-
( localize(
|
|
326
|
+
( localize(3213, "Open the Welcome page when opening an empty workbench.")),
|
|
327
|
+
( localize(3214, "Open a new terminal in the editor area.")),
|
|
328
328
|
],
|
|
329
329
|
'default': 'welcomePage',
|
|
330
330
|
'description': ( localize(
|
|
331
|
-
|
|
331
|
+
3215,
|
|
332
332
|
"Controls which editor is shown at startup, if none are restored from the previous session."
|
|
333
333
|
))
|
|
334
334
|
},
|
|
@@ -336,8 +336,8 @@ configurationRegistry.registerConfiguration({
|
|
|
336
336
|
scope: 1 ,
|
|
337
337
|
type: 'boolean',
|
|
338
338
|
default: false,
|
|
339
|
-
deprecationMessage: ( localize(
|
|
340
|
-
description: ( localize(
|
|
339
|
+
deprecationMessage: ( localize(3216, "Deprecated, use the global `workbench.reduceMotion`.")),
|
|
340
|
+
description: ( localize(3217, "When enabled, reduce motion in welcome page."))
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
343
|
});
|
|
@@ -121,7 +121,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
121
121
|
this.container = $('.gettingStartedContainer', {
|
|
122
122
|
role: 'document',
|
|
123
123
|
tabindex: 0,
|
|
124
|
-
'aria-label': ( localize(
|
|
124
|
+
'aria-label': ( localize(7565, "Overview of how to get up to speed with your editor."))
|
|
125
125
|
});
|
|
126
126
|
this.stepMediaComponent = $('.getting-started-media');
|
|
127
127
|
this.stepMediaComponent.id = generateUuid();
|
|
@@ -399,7 +399,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
399
399
|
label: x.title,
|
|
400
400
|
detail: x.description,
|
|
401
401
|
description: x.source,
|
|
402
|
-
})))), { canPickMany: false, matchOnDescription: true, matchOnDetail: true, title: ( localize(
|
|
402
|
+
})))), { canPickMany: false, matchOnDescription: true, matchOnDetail: true, title: ( localize(7566, "Open Walkthrough...")) });
|
|
403
403
|
if (selection) {
|
|
404
404
|
this.runDispatchCommand('selectCategory', selection.id);
|
|
405
405
|
}
|
|
@@ -584,8 +584,8 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
584
584
|
provideScreenReaderUpdate() {
|
|
585
585
|
if (this.configurationService.getValue("accessibility.verbosity.walkthrough" )) {
|
|
586
586
|
const kbLabel = this.keybindingService.lookupKeybinding(AccessibleViewAction.id)?.getAriaLabel();
|
|
587
|
-
return kbLabel ? ( localize(
|
|
588
|
-
|
|
587
|
+
return kbLabel ? ( localize(7567, "Inspect this in the accessible view ({0}).\n", kbLabel)) : ( localize(
|
|
588
|
+
7568,
|
|
589
589
|
"Inspect this in the accessible view via the command Open Accessible View which is currently not triggerable via keybinding.\n"
|
|
590
590
|
));
|
|
591
591
|
}
|
|
@@ -637,7 +637,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
637
637
|
this.categoriesPageScrollbar.dispose();
|
|
638
638
|
}
|
|
639
639
|
this.categoriesSlide = $('.gettingStartedSlideCategories.gettingStartedSlide');
|
|
640
|
-
const prevButton = $('button.prev-button.button-link', { 'x-dispatch': 'scrollPrev' }, $('span.scroll-button.codicon.codicon-chevron-left'), $('span.moreText', {}, ( localize(
|
|
640
|
+
const prevButton = $('button.prev-button.button-link', { 'x-dispatch': 'scrollPrev' }, $('span.scroll-button.codicon.codicon-chevron-left'), $('span.moreText', {}, ( localize(7569, "Go Back"))));
|
|
641
641
|
this.stepsSlide = $('.gettingStartedSlideDetails.gettingStartedSlide', {}, prevButton);
|
|
642
642
|
this.stepsContent = $('.gettingStartedDetailsContent', {});
|
|
643
643
|
this.detailsPageScrollbar = this._register(( (new DomScrollableElement(this.stepsContent, { className: 'full-height-scrollable' }))));
|
|
@@ -658,11 +658,11 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
658
658
|
icon: Codicon.check,
|
|
659
659
|
actionClassName: 'getting-started-checkbox',
|
|
660
660
|
isChecked: this.configurationService.getValue(configurationKey) === 'welcomePage',
|
|
661
|
-
title: ( localize(
|
|
661
|
+
title: ( localize(7570, "When checked, this page will be shown on startup.")),
|
|
662
662
|
...defaultToggleStyles
|
|
663
663
|
})));
|
|
664
664
|
showOnStartupCheckbox.domNode.id = 'showOnStartup';
|
|
665
|
-
const showOnStartupLabel = $('label.caption', { for: 'showOnStartup' }, ( localize(
|
|
665
|
+
const showOnStartupLabel = $('label.caption', { for: 'showOnStartup' }, ( localize(7571, "Show welcome page on startup")));
|
|
666
666
|
const onShowOnStartupChanged = () => {
|
|
667
667
|
if (showOnStartupCheckbox.checked) {
|
|
668
668
|
this.telemetryService.publicLog2('gettingStarted.ActionExecuted', { command: 'showOnStartupChecked', argument: undefined, walkthroughId: this.currentWalkthrough?.id });
|
|
@@ -681,7 +681,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
681
681
|
showOnStartupCheckbox.checked = !showOnStartupCheckbox.checked;
|
|
682
682
|
onShowOnStartupChanged();
|
|
683
683
|
}));
|
|
684
|
-
const header = $('.header', {}, $('h1.product-name.caption', {}, this.productService.nameLong), $('p.subtitle.description', {}, ( localize(
|
|
684
|
+
const header = $('.header', {}, $('h1.product-name.caption', {}, this.productService.nameLong), $('p.subtitle.description', {}, ( localize(7572, "Editing evolved"))));
|
|
685
685
|
const leftColumn = $('.categories-column.categories-column-left', {});
|
|
686
686
|
const rightColumn = $('.categories-column.categories-column-right', {});
|
|
687
687
|
const startList = this.buildStartList();
|
|
@@ -775,7 +775,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
775
775
|
const link = $('button.button-link');
|
|
776
776
|
link.innerText = name;
|
|
777
777
|
link.title = fullPath;
|
|
778
|
-
link.setAttribute('aria-label', ( localize(
|
|
778
|
+
link.setAttribute('aria-label', ( localize(7573, "Open folder {0} with path {1}", name, parentPath)));
|
|
779
779
|
link.addEventListener('click', e => {
|
|
780
780
|
this.telemetryService.publicLog2('gettingStarted.ActionExecuted', { command: 'openRecent', argument: undefined, walkthroughId: this.currentWalkthrough?.id });
|
|
781
781
|
this.hostService.openWindow([windowOpenable], {
|
|
@@ -798,18 +798,18 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
798
798
|
this.recentlyOpenedList.dispose();
|
|
799
799
|
}
|
|
800
800
|
const recentlyOpenedList = this.recentlyOpenedList = ( (new GettingStartedIndexList({
|
|
801
|
-
title: ( localize(
|
|
801
|
+
title: ( localize(7574, "Recent")),
|
|
802
802
|
klass: 'recently-opened',
|
|
803
803
|
limit: 5,
|
|
804
|
-
empty: $('.empty-recent', {}, ( localize(
|
|
804
|
+
empty: $('.empty-recent', {}, ( localize(7575, "You have no recent folders,")), $('button.button-link', { 'x-dispatch': 'openFolder' }, ( localize(7576, "open a folder"))), ( localize(7577, "to start."))),
|
|
805
805
|
more: $('.more', {}, $('button.button-link', {
|
|
806
806
|
'x-dispatch': 'showMoreRecents',
|
|
807
807
|
title: ( localize(
|
|
808
|
-
|
|
808
|
+
7578,
|
|
809
809
|
"Show All Recent Folders {0}",
|
|
810
810
|
this.getKeybindingLabel(OpenRecentAction.ID)
|
|
811
811
|
))
|
|
812
|
-
}, ( localize(
|
|
812
|
+
}, ( localize(7579, "More...")))),
|
|
813
813
|
renderElement: renderRecent,
|
|
814
814
|
contextService: this.contextService
|
|
815
815
|
})));
|
|
@@ -837,7 +837,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
837
837
|
this.startList.dispose();
|
|
838
838
|
}
|
|
839
839
|
const startList = this.startList = ( (new GettingStartedIndexList({
|
|
840
|
-
title: ( localize(
|
|
840
|
+
title: ( localize(7580, "Start")),
|
|
841
841
|
klass: 'start-container',
|
|
842
842
|
limit: 10,
|
|
843
843
|
renderElement: renderStartEntry,
|
|
@@ -853,10 +853,10 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
853
853
|
const renderNewBadge = (category.newItems || category.newEntry) && !category.isFeatured;
|
|
854
854
|
const newBadge = $('.new-badge', {});
|
|
855
855
|
if (category.newEntry) {
|
|
856
|
-
reset(newBadge, $('.new-category', {}, ( localize(
|
|
856
|
+
reset(newBadge, $('.new-category', {}, ( localize(7581, "New"))));
|
|
857
857
|
}
|
|
858
858
|
else if (category.newItems) {
|
|
859
|
-
reset(newBadge, $('.new-items', {}, ( localize(
|
|
859
|
+
reset(newBadge, $('.new-items', {}, ( localize(7582, "Updated"))));
|
|
860
860
|
}
|
|
861
861
|
const featuredBadge = $('.featured-badge', {});
|
|
862
862
|
const descriptionContent = $('.description-content', {});
|
|
@@ -872,9 +872,9 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
872
872
|
}, featuredBadge, $('.main-content', {}, this.iconWidgetFor(category), titleContent, renderNewBadge ? newBadge : $('.no-badge'), $('a.codicon.codicon-close.hide-category-button', {
|
|
873
873
|
'tabindex': 0,
|
|
874
874
|
'x-dispatch': 'hideCategory:' + category.id,
|
|
875
|
-
'title': ( localize(
|
|
875
|
+
'title': ( localize(7583, "Hide")),
|
|
876
876
|
'role': 'button',
|
|
877
|
-
'aria-label': ( localize(
|
|
877
|
+
'aria-label': ( localize(7584, "Hide")),
|
|
878
878
|
})), descriptionContent, $('.category-progress', { 'x-data-category-id': category.id, }, $('.progress-bar-outer', { 'role': 'progressbar' }, $('.progress-bar-inner'))));
|
|
879
879
|
};
|
|
880
880
|
if (this.gettingStartedList) {
|
|
@@ -900,10 +900,10 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
900
900
|
return rank;
|
|
901
901
|
};
|
|
902
902
|
const gettingStartedList = this.gettingStartedList = ( (new GettingStartedIndexList({
|
|
903
|
-
title: ( localize(
|
|
903
|
+
title: ( localize(7585, "Walkthroughs")),
|
|
904
904
|
klass: 'getting-started',
|
|
905
905
|
limit: 5,
|
|
906
|
-
footer: $('span.button-link.see-all-walkthroughs', { 'x-dispatch': 'seeAllWalkthroughs', 'tabindex': 0 }, ( localize(
|
|
906
|
+
footer: $('span.button-link.see-all-walkthroughs', { 'x-dispatch': 'seeAllWalkthroughs', 'tabindex': 0 }, ( localize(7579, "More..."))),
|
|
907
907
|
renderElement: renderGetttingStaredWalkthrough,
|
|
908
908
|
rankElement: rankWalkthrough,
|
|
909
909
|
contextService: this.contextService,
|
|
@@ -956,10 +956,10 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
956
956
|
bar.style.width = `${progress}%`;
|
|
957
957
|
element.parentElement.classList.toggle('no-progress', stats.stepsComplete === 0);
|
|
958
958
|
if (stats.stepsTotal === stats.stepsComplete) {
|
|
959
|
-
bar.title = ( localize(
|
|
959
|
+
bar.title = ( localize(7586, "All {0} steps complete!", stats.stepsComplete));
|
|
960
960
|
}
|
|
961
961
|
else {
|
|
962
|
-
bar.title = ( localize(
|
|
962
|
+
bar.title = ( localize(7587, "{0} of {1} steps complete", stats.stepsComplete, stats.stepsTotal));
|
|
963
963
|
}
|
|
964
964
|
});
|
|
965
965
|
}
|
|
@@ -1081,7 +1081,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
1081
1081
|
if (isCommand) {
|
|
1082
1082
|
const keybindingLabel = this.getKeybindingLabel(command);
|
|
1083
1083
|
if (keybindingLabel) {
|
|
1084
|
-
container.appendChild($('span.shortcut-message', {}, ( localize(
|
|
1084
|
+
container.appendChild($('span.shortcut-message', {}, ( localize(7588, 'Tip: Use keyboard shortcut ')), $('span.keybinding', {}, keybindingLabel)));
|
|
1085
1085
|
}
|
|
1086
1086
|
}
|
|
1087
1087
|
this.detailsPageDisposables.add(button);
|
|
@@ -1171,7 +1171,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
1171
1171
|
reset(stepTitle, ...renderLabelWithIcons(step.title));
|
|
1172
1172
|
const stepDescription = $('.step-container', {}, stepTitle, container);
|
|
1173
1173
|
if (step.media.type === 'image') {
|
|
1174
|
-
stepDescription.appendChild($('.image-description', { 'aria-label': ( localize(
|
|
1174
|
+
stepDescription.appendChild($('.image-description', { 'aria-label': ( localize(7589, "Image showing {0}", step.media.altText)) }));
|
|
1175
1175
|
}
|
|
1176
1176
|
return $('button.getting-started-step', {
|
|
1177
1177
|
'x-dispatch': 'selectTask:' + step.id,
|
|
@@ -1191,8 +1191,8 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
1191
1191
|
}
|
|
1192
1192
|
}));
|
|
1193
1193
|
const showNextCategory = this.gettingStartedCategories.find(_category => _category.id === category.next);
|
|
1194
|
-
const stepsContainer = $('.getting-started-detail-container', { 'role': 'list' }, stepListContainer, $('.done-next-container', {}, $('button.button-link.all-done', { 'x-dispatch': 'allDone' }, $('span.codicon.codicon-check-all'), ( localize(
|
|
1195
|
-
? [$('button.button-link.next', { 'x-dispatch': 'nextSection' }, ( localize(
|
|
1194
|
+
const stepsContainer = $('.getting-started-detail-container', { 'role': 'list' }, stepListContainer, $('.done-next-container', {}, $('button.button-link.all-done', { 'x-dispatch': 'allDone' }, $('span.codicon.codicon-check-all'), ( localize(7590, "Mark Done"))), ...(showNextCategory
|
|
1195
|
+
? [$('button.button-link.next', { 'x-dispatch': 'nextSection' }, ( localize(7591, "Next Section")), $('span.codicon.codicon-arrow-right'))]
|
|
1196
1196
|
: [])));
|
|
1197
1197
|
this.detailsScrollbar = this._register(( (new DomScrollableElement(stepsContainer, { className: 'steps-container' }))));
|
|
1198
1198
|
const stepListComponent = this.detailsScrollbar.getDomNode();
|
|
@@ -1209,12 +1209,12 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
1209
1209
|
}
|
|
1210
1210
|
buildTelemetryFooter(parent) {
|
|
1211
1211
|
const mdRenderer = this.instantiationService.createInstance(MarkdownRenderer, {});
|
|
1212
|
-
const privacyStatementCopy = ( localize(
|
|
1212
|
+
const privacyStatementCopy = ( localize(7592, "privacy statement"));
|
|
1213
1213
|
const privacyStatementButton = `[${privacyStatementCopy}](command:workbench.action.openPrivacyStatementUrl)`;
|
|
1214
|
-
const optOutCopy = ( localize(
|
|
1214
|
+
const optOutCopy = ( localize(7593, "opt out"));
|
|
1215
1215
|
const optOutButton = `[${optOutCopy}](command:settings.filterByTelemetry)`;
|
|
1216
1216
|
const text = ( localize(
|
|
1217
|
-
|
|
1217
|
+
7594,
|
|
1218
1218
|
"{0} collects usage data. Read our {1} and learn how to {2}.",
|
|
1219
1219
|
this.productService.nameShort,
|
|
1220
1220
|
privacyStatementButton,
|
|
@@ -1281,7 +1281,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
1281
1281
|
const prevButton = this.container.querySelector('.prev-button.button-link');
|
|
1282
1282
|
prevButton.style.display = this.editorInput.showWelcome || this.prevWalkthrough ? 'block' : 'none';
|
|
1283
1283
|
const moreTextElement = prevButton.querySelector('.moreText');
|
|
1284
|
-
moreTextElement.textContent = firstLaunch ? ( localize(
|
|
1284
|
+
moreTextElement.textContent = firstLaunch ? ( localize(7595, "Welcome")) : ( localize(7569, "Go Back"));
|
|
1285
1285
|
this.container.querySelector('.gettingStartedSlideDetails').querySelectorAll('button').forEach(button => button.disabled = false);
|
|
1286
1286
|
this.container.querySelector('.gettingStartedSlideCategories').querySelectorAll('button').forEach(button => button.disabled = true);
|
|
1287
1287
|
this.container.querySelector('.gettingStartedSlideCategories').querySelectorAll('input').forEach(button => button.disabled = true);
|
|
@@ -64,15 +64,15 @@ class GettingStartedAccessibleProvider extends Disposable {
|
|
|
64
64
|
}
|
|
65
65
|
_getContent(index, waltkrough, step) {
|
|
66
66
|
const stepsContent = ( localize(
|
|
67
|
-
|
|
67
|
+
7601,
|
|
68
68
|
'Step {0}: {1}\nDescription: {2}',
|
|
69
69
|
index,
|
|
70
70
|
step.title,
|
|
71
71
|
step.description.join(' ')
|
|
72
72
|
));
|
|
73
73
|
return [
|
|
74
|
-
( localize(
|
|
75
|
-
( localize(
|
|
74
|
+
( localize(7602, 'Title: {0}', waltkrough.title)),
|
|
75
|
+
( localize(7603, 'Description: {0}', waltkrough.description)),
|
|
76
76
|
stepsContent
|
|
77
77
|
].join('\n\n');
|
|
78
78
|
}
|
package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedColors.js
CHANGED
|
@@ -11,10 +11,10 @@ import 'vscode/vscode/vs/platform/theme/common/colors/quickpickColors';
|
|
|
11
11
|
import 'vscode/vscode/vs/platform/theme/common/colors/searchColors';
|
|
12
12
|
import { localize } from 'vscode/vscode/vs/nls';
|
|
13
13
|
|
|
14
|
-
registerColor('welcomePage.background', null, ( localize(
|
|
15
|
-
registerColor('welcomePage.tileBackground', { dark: editorWidgetBackground, light: editorWidgetBackground, hcDark: '#000', hcLight: editorWidgetBackground }, ( localize(
|
|
16
|
-
registerColor('welcomePage.tileHoverBackground', { dark: ( (lighten(editorWidgetBackground, .2))), light: ( (darken(editorWidgetBackground, .1))), hcDark: null, hcLight: null }, ( localize(
|
|
17
|
-
registerColor('welcomePage.tileBorder', { dark: '#ffffff1a', light: '#0000001a', hcDark: contrastBorder, hcLight: contrastBorder }, ( localize(
|
|
18
|
-
registerColor('welcomePage.progress.background', inputBackground, ( localize(
|
|
19
|
-
registerColor('welcomePage.progress.foreground', textLinkForeground, ( localize(
|
|
20
|
-
registerColor('walkthrough.stepTitle.foreground', { light: '#000000', dark: '#ffffff', hcDark: null, hcLight: null }, ( localize(
|
|
14
|
+
registerColor('welcomePage.background', null, ( localize(10755, 'Background color for the Welcome page.')));
|
|
15
|
+
registerColor('welcomePage.tileBackground', { dark: editorWidgetBackground, light: editorWidgetBackground, hcDark: '#000', hcLight: editorWidgetBackground }, ( localize(10756, 'Background color for the tiles on the Welcome page.')));
|
|
16
|
+
registerColor('welcomePage.tileHoverBackground', { dark: ( (lighten(editorWidgetBackground, .2))), light: ( (darken(editorWidgetBackground, .1))), hcDark: null, hcLight: null }, ( localize(10757, 'Hover background color for the tiles on the Welcome.')));
|
|
17
|
+
registerColor('welcomePage.tileBorder', { dark: '#ffffff1a', light: '#0000001a', hcDark: contrastBorder, hcLight: contrastBorder }, ( localize(10758, 'Border color for the tiles on the Welcome page.')));
|
|
18
|
+
registerColor('welcomePage.progress.background', inputBackground, ( localize(10759, 'Foreground color for the Welcome page progress bars.')));
|
|
19
|
+
registerColor('welcomePage.progress.foreground', textLinkForeground, ( localize(10760, 'Background color for the Welcome page progress bars.')));
|
|
20
|
+
registerColor('walkthrough.stepTitle.foreground', { light: '#000000', dark: '#ffffff', hcDark: null, hcLight: null }, ( localize(10761, 'Foreground color of the heading of each walkthrough step')));
|