@codingame/monaco-vscode-walkthrough-service-override 14.0.3 → 14.0.4
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 +11 -11
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.js +20 -20
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.js +31 -31
- 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 +156 -156
- 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": "14.0.
|
|
3
|
+
"version": "14.0.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - walkthrough service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,16 +15,16 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-2cbab29e-9393-5de6-b701-9a9555360b6b-common": "14.0.
|
|
19
|
-
"@codingame/monaco-vscode-5e324391-11e3-5ceb-93ee-938e4098e4ad-common": "14.0.
|
|
20
|
-
"@codingame/monaco-vscode-7443a901-21f6-577a-9674-42893b997ee0-common": "14.0.
|
|
21
|
-
"@codingame/monaco-vscode-7bbc9e7d-eeae-55fc-8bf9-dc2f66e0dc73-common": "14.0.
|
|
22
|
-
"@codingame/monaco-vscode-91789cdf-e3cb-5a04-aaeb-6f7df7d3d231-common": "14.0.
|
|
23
|
-
"@codingame/monaco-vscode-9d0168a3-519b-57f3-9bcc-89efc41f951a-common": "14.0.
|
|
24
|
-
"@codingame/monaco-vscode-a17f5129-e16c-5dac-857e-dcd91bfeffa2-common": "14.0.
|
|
25
|
-
"@codingame/monaco-vscode-api": "14.0.
|
|
26
|
-
"@codingame/monaco-vscode-d0fb86d3-2a47-594e-955b-9a24631a7124-common": "14.0.
|
|
27
|
-
"@codingame/monaco-vscode-eea37658-2307-56a5-8ed0-b2752c7b7a50-common": "14.0.
|
|
18
|
+
"@codingame/monaco-vscode-2cbab29e-9393-5de6-b701-9a9555360b6b-common": "14.0.4",
|
|
19
|
+
"@codingame/monaco-vscode-5e324391-11e3-5ceb-93ee-938e4098e4ad-common": "14.0.4",
|
|
20
|
+
"@codingame/monaco-vscode-7443a901-21f6-577a-9674-42893b997ee0-common": "14.0.4",
|
|
21
|
+
"@codingame/monaco-vscode-7bbc9e7d-eeae-55fc-8bf9-dc2f66e0dc73-common": "14.0.4",
|
|
22
|
+
"@codingame/monaco-vscode-91789cdf-e3cb-5a04-aaeb-6f7df7d3d231-common": "14.0.4",
|
|
23
|
+
"@codingame/monaco-vscode-9d0168a3-519b-57f3-9bcc-89efc41f951a-common": "14.0.4",
|
|
24
|
+
"@codingame/monaco-vscode-a17f5129-e16c-5dac-857e-dcd91bfeffa2-common": "14.0.4",
|
|
25
|
+
"@codingame/monaco-vscode-api": "14.0.4",
|
|
26
|
+
"@codingame/monaco-vscode-d0fb86d3-2a47-594e-955b-9a24631a7124-common": "14.0.4",
|
|
27
|
+
"@codingame/monaco-vscode-eea37658-2307-56a5-8ed0-b2752c7b7a50-common": "14.0.4",
|
|
28
28
|
"marked": "14.0.0"
|
|
29
29
|
},
|
|
30
30
|
"main": "index.js",
|
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(10933, '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(10934, 'Opens a Walkthrough to help you get started in VS Code.'))
|
|
53
53
|
}
|
|
54
54
|
});
|
|
55
55
|
}
|
|
@@ -127,15 +127,15 @@ registerAction2(class extends Action2 {
|
|
|
127
127
|
}
|
|
128
128
|
});
|
|
129
129
|
( Registry.as(EditorExtensions.EditorFactory)).registerEditorSerializer(GettingStartedInput.ID, GettingStartedInputSerializer);
|
|
130
|
-
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(GettingStartedPage, GettingStartedPage.ID, ( localize(
|
|
130
|
+
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(GettingStartedPage, GettingStartedPage.ID, ( localize(10935, "Welcome"))), [
|
|
131
131
|
( new SyncDescriptor(GettingStartedInput))
|
|
132
132
|
]);
|
|
133
|
-
const category = ( localize2(
|
|
133
|
+
const category = ( localize2(10935, "Welcome"));
|
|
134
134
|
registerAction2(class extends Action2 {
|
|
135
135
|
constructor() {
|
|
136
136
|
super({
|
|
137
137
|
id: 'welcome.goBack',
|
|
138
|
-
title: ( localize2(
|
|
138
|
+
title: ( localize2(10936, 'Go Back')),
|
|
139
139
|
category,
|
|
140
140
|
keybinding: {
|
|
141
141
|
weight: KeybindingWeight.EditorContrib,
|
|
@@ -171,7 +171,7 @@ registerAction2(class extends Action2 {
|
|
|
171
171
|
constructor() {
|
|
172
172
|
super({
|
|
173
173
|
id: 'welcome.markStepComplete',
|
|
174
|
-
title: ( localize(
|
|
174
|
+
title: ( localize(10937, "Mark Step Complete")),
|
|
175
175
|
category,
|
|
176
176
|
});
|
|
177
177
|
}
|
|
@@ -187,7 +187,7 @@ registerAction2(class extends Action2 {
|
|
|
187
187
|
constructor() {
|
|
188
188
|
super({
|
|
189
189
|
id: 'welcome.markStepIncomplete',
|
|
190
|
-
title: ( localize(
|
|
190
|
+
title: ( localize(10938, "Mark Step Incomplete")),
|
|
191
191
|
category,
|
|
192
192
|
});
|
|
193
193
|
}
|
|
@@ -203,7 +203,7 @@ registerAction2(class extends Action2 {
|
|
|
203
203
|
constructor() {
|
|
204
204
|
super({
|
|
205
205
|
id: 'welcome.showAllWalkthroughs',
|
|
206
|
-
title: ( localize2(
|
|
206
|
+
title: ( localize2(10939, 'Open Walkthrough...')),
|
|
207
207
|
category,
|
|
208
208
|
f1: true,
|
|
209
209
|
});
|
|
@@ -230,7 +230,7 @@ registerAction2(class extends Action2 {
|
|
|
230
230
|
quickPick.canSelectMany = false;
|
|
231
231
|
quickPick.matchOnDescription = true;
|
|
232
232
|
quickPick.matchOnDetail = true;
|
|
233
|
-
quickPick.placeholder = ( localize(
|
|
233
|
+
quickPick.placeholder = ( localize(10940, 'Select a walkthrough to open'));
|
|
234
234
|
quickPick.items = await this.getQuickPickItems(contextService, gettingStartedService);
|
|
235
235
|
quickPick.busy = true;
|
|
236
236
|
disposables.add(quickPick.onDidAccept(() => {
|
|
@@ -250,7 +250,7 @@ registerAction2(class extends Action2 {
|
|
|
250
250
|
}
|
|
251
251
|
});
|
|
252
252
|
const WorkspacePlatform = ( new RawContextKey('workspacePlatform', undefined, ( localize(
|
|
253
|
-
|
|
253
|
+
10941,
|
|
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 {
|
|
@@ -302,7 +302,7 @@ configurationRegistry.registerConfiguration({
|
|
|
302
302
|
type: 'boolean',
|
|
303
303
|
default: true,
|
|
304
304
|
description: ( localize(
|
|
305
|
-
|
|
305
|
+
10942,
|
|
306
306
|
"When enabled, an extension's walkthrough will open upon install of the extension."
|
|
307
307
|
))
|
|
308
308
|
},
|
|
@@ -311,25 +311,25 @@ configurationRegistry.registerConfiguration({
|
|
|
311
311
|
'type': 'string',
|
|
312
312
|
'enum': ['none', 'welcomePage', 'readme', 'newUntitledFile', 'welcomePageInEmptyWorkbench', 'terminal'],
|
|
313
313
|
'enumDescriptions': [
|
|
314
|
-
( localize(
|
|
314
|
+
( localize(10943, "Start without an editor.")),
|
|
315
315
|
( localize(
|
|
316
|
-
|
|
316
|
+
10944,
|
|
317
317
|
"Open the Welcome page, with content to aid in getting started with VS Code and extensions."
|
|
318
318
|
)),
|
|
319
319
|
( localize(
|
|
320
|
-
|
|
320
|
+
10945,
|
|
321
321
|
"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."
|
|
322
322
|
)),
|
|
323
323
|
( localize(
|
|
324
|
-
|
|
324
|
+
10946,
|
|
325
325
|
"Open a new untitled text file (only applies when opening an empty window)."
|
|
326
326
|
)),
|
|
327
|
-
( localize(
|
|
328
|
-
( localize(
|
|
327
|
+
( localize(10947, "Open the Welcome page when opening an empty workbench.")),
|
|
328
|
+
( localize(10948, "Open a new terminal in the editor area.")),
|
|
329
329
|
],
|
|
330
330
|
'default': 'welcomePage',
|
|
331
331
|
'description': ( localize(
|
|
332
|
-
|
|
332
|
+
10949,
|
|
333
333
|
"Controls which editor is shown at startup, if none are restored from the previous session."
|
|
334
334
|
))
|
|
335
335
|
},
|
|
@@ -337,8 +337,8 @@ configurationRegistry.registerConfiguration({
|
|
|
337
337
|
scope: ConfigurationScope.APPLICATION,
|
|
338
338
|
type: 'boolean',
|
|
339
339
|
default: false,
|
|
340
|
-
deprecationMessage: ( localize(
|
|
341
|
-
description: ( localize(
|
|
340
|
+
deprecationMessage: ( localize(10950, "Deprecated, use the global `workbench.reduceMotion`.")),
|
|
341
|
+
description: ( localize(10951, "When enabled, reduce motion in welcome page."))
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
344
|
});
|
|
@@ -128,7 +128,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
128
128
|
this.container = $('.gettingStartedContainer', {
|
|
129
129
|
role: 'document',
|
|
130
130
|
tabindex: 0,
|
|
131
|
-
'aria-label': ( localize(
|
|
131
|
+
'aria-label': ( localize(10952, "Overview of how to get up to speed with your editor."))
|
|
132
132
|
});
|
|
133
133
|
this.stepMediaComponent = $('.getting-started-media');
|
|
134
134
|
this.stepMediaComponent.id = generateUuid();
|
|
@@ -410,7 +410,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
410
410
|
label: x.title,
|
|
411
411
|
detail: x.description,
|
|
412
412
|
description: x.source,
|
|
413
|
-
}))), { canPickMany: false, matchOnDescription: true, matchOnDetail: true, title: ( localize(
|
|
413
|
+
}))), { canPickMany: false, matchOnDescription: true, matchOnDetail: true, title: ( localize(10953, "Open Walkthrough...")) });
|
|
414
414
|
if (selection) {
|
|
415
415
|
this.runDispatchCommand('selectCategory', selection.id);
|
|
416
416
|
}
|
|
@@ -618,8 +618,8 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
618
618
|
provideScreenReaderUpdate() {
|
|
619
619
|
if (this.configurationService.getValue(AccessibilityVerbositySettingId.Walkthrough)) {
|
|
620
620
|
const kbLabel = this.keybindingService.lookupKeybinding(AccessibleViewAction.id)?.getAriaLabel();
|
|
621
|
-
return kbLabel ? ( localize(
|
|
622
|
-
|
|
621
|
+
return kbLabel ? ( localize(10954, "Inspect this in the accessible view ({0}).\n", kbLabel)) : ( localize(
|
|
622
|
+
10955,
|
|
623
623
|
"Inspect this in the accessible view via the command Open Accessible View which is currently not triggerable via keybinding.\n"
|
|
624
624
|
));
|
|
625
625
|
}
|
|
@@ -679,7 +679,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
679
679
|
this.categoriesPageScrollbar.dispose();
|
|
680
680
|
}
|
|
681
681
|
this.categoriesSlide = $('.gettingStartedSlideCategories.gettingStartedSlide');
|
|
682
|
-
const prevButton = $('button.prev-button.button-link', { 'x-dispatch': 'scrollPrev' }, $('span.scroll-button.codicon.codicon-chevron-left'), $('span.moreText', {}, ( localize(
|
|
682
|
+
const prevButton = $('button.prev-button.button-link', { 'x-dispatch': 'scrollPrev' }, $('span.scroll-button.codicon.codicon-chevron-left'), $('span.moreText', {}, ( localize(10956, "Go Back"))));
|
|
683
683
|
this.stepsSlide = $('.gettingStartedSlideDetails.gettingStartedSlide', {}, prevButton);
|
|
684
684
|
this.stepsContent = $('.gettingStartedDetailsContent', {});
|
|
685
685
|
this.detailsPageScrollbar = this._register(( new DomScrollableElement(this.stepsContent, { className: 'full-height-scrollable' })));
|
|
@@ -700,11 +700,11 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
700
700
|
icon: Codicon.check,
|
|
701
701
|
actionClassName: 'getting-started-checkbox',
|
|
702
702
|
isChecked: this.configurationService.getValue(configurationKey) === 'welcomePage',
|
|
703
|
-
title: ( localize(
|
|
703
|
+
title: ( localize(10957, "When checked, this page will be shown on startup.")),
|
|
704
704
|
...defaultToggleStyles
|
|
705
705
|
}));
|
|
706
706
|
showOnStartupCheckbox.domNode.id = 'showOnStartup';
|
|
707
|
-
const showOnStartupLabel = $('label.caption', { for: 'showOnStartup' }, ( localize(
|
|
707
|
+
const showOnStartupLabel = $('label.caption', { for: 'showOnStartup' }, ( localize(10958, "Show welcome page on startup")));
|
|
708
708
|
const onShowOnStartupChanged = () => {
|
|
709
709
|
if (showOnStartupCheckbox.checked) {
|
|
710
710
|
this.telemetryService.publicLog2('gettingStarted.ActionExecuted', { command: 'showOnStartupChecked', argument: undefined, walkthroughId: this.currentWalkthrough?.id });
|
|
@@ -723,7 +723,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
723
723
|
showOnStartupCheckbox.checked = !showOnStartupCheckbox.checked;
|
|
724
724
|
onShowOnStartupChanged();
|
|
725
725
|
}));
|
|
726
|
-
const header = $('.header', {}, $('h1.product-name.caption', {}, this.productService.nameLong), $('p.subtitle.description', {}, ( localize(
|
|
726
|
+
const header = $('.header', {}, $('h1.product-name.caption', {}, this.productService.nameLong), $('p.subtitle.description', {}, ( localize(10959, "Editing evolved"))));
|
|
727
727
|
const leftColumn = $('.categories-column.categories-column-left', {});
|
|
728
728
|
const rightColumn = $('.categories-column.categories-column-right', {});
|
|
729
729
|
const startList = this.buildStartList();
|
|
@@ -818,7 +818,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
818
818
|
const link = $('button.button-link');
|
|
819
819
|
link.innerText = name;
|
|
820
820
|
link.title = fullPath;
|
|
821
|
-
link.setAttribute('aria-label', ( localize(
|
|
821
|
+
link.setAttribute('aria-label', ( localize(10960, "Open folder {0} with path {1}", name, parentPath)));
|
|
822
822
|
link.addEventListener('click', e => {
|
|
823
823
|
this.telemetryService.publicLog2('gettingStarted.ActionExecuted', { command: 'openRecent', argument: undefined, walkthroughId: this.currentWalkthrough?.id });
|
|
824
824
|
this.hostService.openWindow([windowOpenable], {
|
|
@@ -841,18 +841,18 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
841
841
|
this.recentlyOpenedList.dispose();
|
|
842
842
|
}
|
|
843
843
|
const recentlyOpenedList = this.recentlyOpenedList = ( new GettingStartedIndexList({
|
|
844
|
-
title: ( localize(
|
|
844
|
+
title: ( localize(10961, "Recent")),
|
|
845
845
|
klass: 'recently-opened',
|
|
846
846
|
limit: 5,
|
|
847
|
-
empty: $('.empty-recent', {}, ( localize(
|
|
847
|
+
empty: $('.empty-recent', {}, ( localize(10962, "You have no recent folders,")), $('button.button-link', { 'x-dispatch': 'openFolder' }, ( localize(10963, "open a folder"))), ( localize(10964, "to start."))),
|
|
848
848
|
more: $('.more', {}, $('button.button-link', {
|
|
849
849
|
'x-dispatch': 'showMoreRecents',
|
|
850
850
|
title: ( localize(
|
|
851
|
-
|
|
851
|
+
10965,
|
|
852
852
|
"Show All Recent Folders {0}",
|
|
853
853
|
this.getKeybindingLabel(OpenRecentAction.ID)
|
|
854
854
|
))
|
|
855
|
-
}, ( localize(
|
|
855
|
+
}, ( localize(10966, "More...")))),
|
|
856
856
|
renderElement: renderRecent,
|
|
857
857
|
contextService: this.contextService
|
|
858
858
|
}));
|
|
@@ -880,7 +880,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
880
880
|
this.startList.dispose();
|
|
881
881
|
}
|
|
882
882
|
const startList = this.startList = ( new GettingStartedIndexList({
|
|
883
|
-
title: ( localize(
|
|
883
|
+
title: ( localize(10967, "Start")),
|
|
884
884
|
klass: 'start-container',
|
|
885
885
|
limit: 10,
|
|
886
886
|
renderElement: renderStartEntry,
|
|
@@ -896,10 +896,10 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
896
896
|
const renderNewBadge = (category.newItems || category.newEntry) && !category.isFeatured;
|
|
897
897
|
const newBadge = $('.new-badge', {});
|
|
898
898
|
if (category.newEntry) {
|
|
899
|
-
reset(newBadge, $('.new-category', {}, ( localize(
|
|
899
|
+
reset(newBadge, $('.new-category', {}, ( localize(10968, "New"))));
|
|
900
900
|
}
|
|
901
901
|
else if (category.newItems) {
|
|
902
|
-
reset(newBadge, $('.new-items', {}, ( localize(
|
|
902
|
+
reset(newBadge, $('.new-items', {}, ( localize(10969, "Updated"))));
|
|
903
903
|
}
|
|
904
904
|
const featuredBadge = $('.featured-badge', {});
|
|
905
905
|
const descriptionContent = $('.description-content', {});
|
|
@@ -915,9 +915,9 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
915
915
|
}, featuredBadge, $('.main-content', {}, this.iconWidgetFor(category), titleContent, renderNewBadge ? newBadge : $('.no-badge'), $('a.codicon.codicon-close.hide-category-button', {
|
|
916
916
|
'tabindex': 0,
|
|
917
917
|
'x-dispatch': 'hideCategory:' + category.id,
|
|
918
|
-
'title': ( localize(
|
|
918
|
+
'title': ( localize(10970, "Hide")),
|
|
919
919
|
'role': 'button',
|
|
920
|
-
'aria-label': ( localize(
|
|
920
|
+
'aria-label': ( localize(10971, "Hide")),
|
|
921
921
|
})), descriptionContent, $('.category-progress', { 'x-data-category-id': category.id, }, $('.progress-bar-outer', { 'role': 'progressbar' }, $('.progress-bar-inner'))));
|
|
922
922
|
};
|
|
923
923
|
if (this.gettingStartedList) {
|
|
@@ -943,10 +943,10 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
943
943
|
return rank;
|
|
944
944
|
};
|
|
945
945
|
const gettingStartedList = this.gettingStartedList = ( new GettingStartedIndexList({
|
|
946
|
-
title: ( localize(
|
|
946
|
+
title: ( localize(10972, "Walkthroughs")),
|
|
947
947
|
klass: 'getting-started',
|
|
948
948
|
limit: 5,
|
|
949
|
-
footer: $('span.button-link.see-all-walkthroughs', { 'x-dispatch': 'seeAllWalkthroughs', 'tabindex': 0 }, ( localize(
|
|
949
|
+
footer: $('span.button-link.see-all-walkthroughs', { 'x-dispatch': 'seeAllWalkthroughs', 'tabindex': 0 }, ( localize(10966, "More..."))),
|
|
950
950
|
renderElement: renderGetttingStaredWalkthrough,
|
|
951
951
|
rankElement: rankWalkthrough,
|
|
952
952
|
contextService: this.contextService,
|
|
@@ -999,10 +999,10 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
999
999
|
bar.style.width = `${progress}%`;
|
|
1000
1000
|
element.parentElement.classList.toggle('no-progress', stats.stepsComplete === 0);
|
|
1001
1001
|
if (stats.stepsTotal === stats.stepsComplete) {
|
|
1002
|
-
bar.title = ( localize(
|
|
1002
|
+
bar.title = ( localize(10973, "All {0} steps complete!", stats.stepsComplete));
|
|
1003
1003
|
}
|
|
1004
1004
|
else {
|
|
1005
|
-
bar.title = ( localize(
|
|
1005
|
+
bar.title = ( localize(10974, "{0} of {1} steps complete", stats.stepsComplete, stats.stepsTotal));
|
|
1006
1006
|
}
|
|
1007
1007
|
});
|
|
1008
1008
|
}
|
|
@@ -1125,7 +1125,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
1125
1125
|
if (isCommand) {
|
|
1126
1126
|
const keybinding = this.getKeyBinding(command);
|
|
1127
1127
|
if (keybinding) {
|
|
1128
|
-
const shortcutMessage = $('span.shortcut-message', {}, ( localize(
|
|
1128
|
+
const shortcutMessage = $('span.shortcut-message', {}, ( localize(10975, 'Tip: Use keyboard shortcut ')));
|
|
1129
1129
|
container.appendChild(shortcutMessage);
|
|
1130
1130
|
const label = ( new KeybindingLabel(shortcutMessage, OS, { ...defaultKeybindingLabelStyles }));
|
|
1131
1131
|
label.set(keybinding);
|
|
@@ -1218,10 +1218,10 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
1218
1218
|
reset(stepTitle, ...renderLabelWithIcons(step.title));
|
|
1219
1219
|
const stepDescription = $('.step-container', {}, stepTitle, container);
|
|
1220
1220
|
if (step.media.type === 'image') {
|
|
1221
|
-
stepDescription.appendChild($('.image-description', { 'aria-label': ( localize(
|
|
1221
|
+
stepDescription.appendChild($('.image-description', { 'aria-label': ( localize(10976, "Image showing {0}", step.media.altText)) }));
|
|
1222
1222
|
}
|
|
1223
1223
|
else if (step.media.type === 'video') {
|
|
1224
|
-
stepDescription.appendChild($('.video-description', { 'aria-label': ( localize(
|
|
1224
|
+
stepDescription.appendChild($('.video-description', { 'aria-label': ( localize(10977, "Video showing {0}", step.media.altText)) }));
|
|
1225
1225
|
}
|
|
1226
1226
|
return $('button.getting-started-step', {
|
|
1227
1227
|
'x-dispatch': 'selectTask:' + step.id,
|
|
@@ -1241,8 +1241,8 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
1241
1241
|
}
|
|
1242
1242
|
}));
|
|
1243
1243
|
const showNextCategory = this.gettingStartedCategories.find(_category => _category.id === category.next);
|
|
1244
|
-
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(
|
|
1245
|
-
? [$('button.button-link.next', { 'x-dispatch': 'nextSection' }, ( localize(
|
|
1244
|
+
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(10978, "Mark Done"))), ...(showNextCategory
|
|
1245
|
+
? [$('button.button-link.next', { 'x-dispatch': 'nextSection' }, ( localize(10979, "Next Section")), $('span.codicon.codicon-arrow-right'))]
|
|
1246
1246
|
: [])));
|
|
1247
1247
|
this.detailsScrollbar = this._register(( new DomScrollableElement(stepsContainer, { className: 'steps-container' })));
|
|
1248
1248
|
const stepListComponent = this.detailsScrollbar.getDomNode();
|
|
@@ -1259,12 +1259,12 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
1259
1259
|
}
|
|
1260
1260
|
buildTelemetryFooter(parent) {
|
|
1261
1261
|
const mdRenderer = this.instantiationService.createInstance(MarkdownRenderer, {});
|
|
1262
|
-
const privacyStatementCopy = ( localize(
|
|
1262
|
+
const privacyStatementCopy = ( localize(10980, "privacy statement"));
|
|
1263
1263
|
const privacyStatementButton = `[${privacyStatementCopy}](command:workbench.action.openPrivacyStatementUrl)`;
|
|
1264
|
-
const optOutCopy = ( localize(
|
|
1264
|
+
const optOutCopy = ( localize(10981, "opt out"));
|
|
1265
1265
|
const optOutButton = `[${optOutCopy}](command:settings.filterByTelemetry)`;
|
|
1266
1266
|
const text = ( localize(
|
|
1267
|
-
|
|
1267
|
+
10982,
|
|
1268
1268
|
"{0} collects usage data. Read our {1} and learn how to {2}.",
|
|
1269
1269
|
this.productService.nameShort,
|
|
1270
1270
|
privacyStatementButton,
|
|
@@ -1335,7 +1335,7 @@ let GettingStartedPage = class GettingStartedPage extends EditorPane {
|
|
|
1335
1335
|
const prevButton = this.container.querySelector('.prev-button.button-link');
|
|
1336
1336
|
prevButton.style.display = this.editorInput.showWelcome || this.prevWalkthrough ? 'block' : 'none';
|
|
1337
1337
|
const moreTextElement = prevButton.querySelector('.moreText');
|
|
1338
|
-
moreTextElement.textContent = firstLaunch ? ( localize(
|
|
1338
|
+
moreTextElement.textContent = firstLaunch ? ( localize(10983, "Welcome")) : ( localize(10956, "Go Back"));
|
|
1339
1339
|
this.container.querySelector('.gettingStartedSlideDetails').querySelectorAll('button').forEach(button => button.disabled = false);
|
|
1340
1340
|
this.container.querySelector('.gettingStartedSlideCategories').querySelectorAll('button').forEach(button => button.disabled = true);
|
|
1341
1341
|
this.container.querySelector('.gettingStartedSlideCategories').querySelectorAll('input').forEach(button => button.disabled = true);
|
|
@@ -116,11 +116,11 @@ class GettingStartedAccessibleProvider extends Disposable {
|
|
|
116
116
|
}
|
|
117
117
|
_getContent(waltkrough, step, includeTitle) {
|
|
118
118
|
const description = ( step.description.map(lt => lt.nodes.filter(node => typeof node === 'string'))).join('\n');
|
|
119
|
-
const stepsContent = ( localize(
|
|
119
|
+
const stepsContent = ( localize(10984, '{0}\n{1}', step.title, description));
|
|
120
120
|
if (includeTitle) {
|
|
121
121
|
return [
|
|
122
|
-
( localize(
|
|
123
|
-
( localize(
|
|
122
|
+
( localize(10985, 'Title: {0}', waltkrough.title)),
|
|
123
|
+
( localize(10986, 'Description: {0}', waltkrough.description)),
|
|
124
124
|
stepsContent
|
|
125
125
|
].join('\n');
|
|
126
126
|
}
|
package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedColors.js
CHANGED
|
@@ -12,10 +12,10 @@ import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/quic
|
|
|
12
12
|
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/searchColors';
|
|
13
13
|
import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
14
14
|
|
|
15
|
-
registerColor('welcomePage.background', null, ( localize(
|
|
16
|
-
registerColor('welcomePage.tileBackground', { dark: editorWidgetBackground, light: editorWidgetBackground, hcDark: '#000', hcLight: editorWidgetBackground }, ( localize(
|
|
17
|
-
registerColor('welcomePage.tileHoverBackground', { dark: ( lighten(editorWidgetBackground, .2)), light: ( darken(editorWidgetBackground, .1)), hcDark: null, hcLight: null }, ( localize(
|
|
18
|
-
registerColor('welcomePage.tileBorder', { dark: '#ffffff1a', light: '#0000001a', hcDark: contrastBorder, hcLight: contrastBorder }, ( localize(
|
|
19
|
-
registerColor('welcomePage.progress.background', inputBackground, ( localize(
|
|
20
|
-
registerColor('welcomePage.progress.foreground', textLinkForeground, ( localize(
|
|
21
|
-
registerColor('walkthrough.stepTitle.foreground', { light: '#000000', dark: '#ffffff', hcDark: null, hcLight: null }, ( localize(
|
|
15
|
+
registerColor('welcomePage.background', null, ( localize(10987, 'Background color for the Welcome page.')));
|
|
16
|
+
registerColor('welcomePage.tileBackground', { dark: editorWidgetBackground, light: editorWidgetBackground, hcDark: '#000', hcLight: editorWidgetBackground }, ( localize(10988, 'Background color for the tiles on the Welcome page.')));
|
|
17
|
+
registerColor('welcomePage.tileHoverBackground', { dark: ( lighten(editorWidgetBackground, .2)), light: ( darken(editorWidgetBackground, .1)), hcDark: null, hcLight: null }, ( localize(10989, 'Hover background color for the tiles on the Welcome.')));
|
|
18
|
+
registerColor('welcomePage.tileBorder', { dark: '#ffffff1a', light: '#0000001a', hcDark: contrastBorder, hcLight: contrastBorder }, ( localize(10990, 'Border color for the tiles on the Welcome page.')));
|
|
19
|
+
registerColor('welcomePage.progress.background', inputBackground, ( localize(10991, 'Foreground color for the Welcome page progress bars.')));
|
|
20
|
+
registerColor('welcomePage.progress.foreground', textLinkForeground, ( localize(10992, 'Background color for the Welcome page progress bars.')));
|
|
21
|
+
registerColor('walkthrough.stepTitle.foreground', { light: '#000000', dark: '#ffffff', hcDark: null, hcLight: null }, ( localize(10993, 'Foreground color of the heading of each walkthrough step')));
|