@codingame/monaco-vscode-welcome-service-override 37.3.2 → 37.3.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 +3 -3
- package/vscode/src/vs/workbench/contrib/onboarding/browser/onboarding.contribution.js +4 -4
- package/vscode/src/vs/workbench/contrib/onboarding/browser/spotlight/spotlightOverlay.js +6 -6
- package/vscode/src/vs/workbench/contrib/welcomeAgentSessions/browser/agentSessionsWelcome.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/welcomeAgentSessions/browser/agentSessionsWelcome.js +13 -13
- package/vscode/src/vs/workbench/contrib/welcomeOnboarding/browser/onboardingVariationA.js +52 -52
- package/vscode/src/vs/workbench/contrib/welcomeOnboarding/browser/welcomeOnboarding.contribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/welcomeViews/common/newFile.contribution.js +10 -10
- package/vscode/src/vs/workbench/contrib/welcomeViews/common/viewsWelcomeContribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/welcomeViews/common/viewsWelcomeExtensionPoint.js +8 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-welcome-service-override",
|
|
3
|
-
"version": "37.3.
|
|
3
|
+
"version": "37.3.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - welcome service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-api": "37.3.
|
|
19
|
-
"@codingame/monaco-vscode-katex-common": "37.3.
|
|
18
|
+
"@codingame/monaco-vscode-api": "37.3.4",
|
|
19
|
+
"@codingame/monaco-vscode-katex-common": "37.3.4"
|
|
20
20
|
},
|
|
21
21
|
"main": "index.js",
|
|
22
22
|
"module": "index.js",
|
|
@@ -53,7 +53,7 @@ function buildDeveloperModeConfigurationNode() {
|
|
|
53
53
|
},
|
|
54
54
|
tags: ["experimental"],
|
|
55
55
|
description: ( localize(
|
|
56
|
-
|
|
56
|
+
17126,
|
|
57
57
|
"Map of onboarding scenario/tour id to whether developer mode is enabled for it. When enabled for a scenario, that onboarding tour ignores usage-based eligibility checks (such as how many sessions you have started), previously persisted shown state, and any linked experiment (so it is shown even if the experiment is not running or you are in the control group). It does not override the {0} setting. The tour is still shown at most once per window session, so reload the window to show it again.",
|
|
58
58
|
`\`#${ONBOARDING_ENABLED_CONFIG}#\``
|
|
59
59
|
))
|
|
@@ -67,7 +67,7 @@ function buildDeveloperModeConfigurationNode() {
|
|
|
67
67
|
},
|
|
68
68
|
tags: ["experimental"],
|
|
69
69
|
description: ( localize(
|
|
70
|
-
|
|
70
|
+
17127,
|
|
71
71
|
"Map of onboarding scenario/tour id to the variation used while developer mode is enabled for that scenario. An empty value uses the experiment-selected or default variation."
|
|
72
72
|
))
|
|
73
73
|
}
|
|
@@ -82,7 +82,7 @@ configurationRegistry.registerConfiguration({
|
|
|
82
82
|
type: "boolean",
|
|
83
83
|
default: true,
|
|
84
84
|
description: ( localize(
|
|
85
|
-
|
|
85
|
+
17128,
|
|
86
86
|
"When enabled, onboarding tours and hints may appear automatically to highlight features. Disabling this does not affect tours you start manually."
|
|
87
87
|
))
|
|
88
88
|
}
|
|
@@ -126,7 +126,7 @@ registerAction2(class extends Action2 {
|
|
|
126
126
|
constructor() {
|
|
127
127
|
super({
|
|
128
128
|
id: "workbench.action.onboarding.resetShownState",
|
|
129
|
-
title: ( localize2(
|
|
129
|
+
title: ( localize2(17129, "Reset Onboarding Shown State")),
|
|
130
130
|
category: Categories.Developer,
|
|
131
131
|
f1: true
|
|
132
132
|
});
|
|
@@ -64,8 +64,8 @@ class SpotlightOverlay extends Disposable {
|
|
|
64
64
|
...defaultButtonStyles,
|
|
65
65
|
secondary: true
|
|
66
66
|
})));
|
|
67
|
-
this._skipButton.label = ( localize(
|
|
68
|
-
this._skipButton.setTitle(( localize(
|
|
67
|
+
this._skipButton.label = ( localize(17130, "End Tour"));
|
|
68
|
+
this._skipButton.setTitle(( localize(17131, "End Tour (Esc)")));
|
|
69
69
|
this._register(
|
|
70
70
|
this._skipButton.onDidClick(() => this._onDidSkip.fire(OnboardingDismissReason.SkipButton))
|
|
71
71
|
);
|
|
@@ -73,12 +73,12 @@ class SpotlightOverlay extends Disposable {
|
|
|
73
73
|
...defaultButtonStyles,
|
|
74
74
|
secondary: true
|
|
75
75
|
})));
|
|
76
|
-
this._backButton.label = ( localize(
|
|
76
|
+
this._backButton.label = ( localize(17132, "Back"));
|
|
77
77
|
this._register(this._backButton.onDidClick(() => this._onDidClickPrevious.fire()));
|
|
78
78
|
this._nextButton = this._register(( new Button(actions, {
|
|
79
79
|
...defaultButtonStyles
|
|
80
80
|
})));
|
|
81
|
-
this._nextButton.label = ( localize(
|
|
81
|
+
this._nextButton.label = ( localize(17133, "Next"));
|
|
82
82
|
this._register(this._nextButton.onDidClick(() => this._onDidClickNext.fire("button")));
|
|
83
83
|
for (const button of [this._skipButton, this._backButton, this._nextButton]) {
|
|
84
84
|
this._register(
|
|
@@ -345,10 +345,10 @@ class SpotlightOverlay extends Disposable {
|
|
|
345
345
|
} else {
|
|
346
346
|
this._description.textContent = content.description;
|
|
347
347
|
}
|
|
348
|
-
this._counter.textContent = content.stepCount > 1 ? ( localize(
|
|
348
|
+
this._counter.textContent = content.stepCount > 1 ? ( localize(17134, "{0} of {1}", content.stepIndex + 1, content.stepCount)) : "";
|
|
349
349
|
this._skipButton.element.style.display = content.isLastStep ? "none" : "";
|
|
350
350
|
this._backButton.element.style.display = content.canGoBack ? "" : "none";
|
|
351
|
-
this._nextButton.label = content.nextButtonLabel ?? (content.isLastStep ? ( localize(
|
|
351
|
+
this._nextButton.label = content.nextButtonLabel ?? (content.isLastStep ? ( localize(17135, "Done")) : ( localize(17133, "Next")));
|
|
352
352
|
}
|
|
353
353
|
_onKeyDown(e) {
|
|
354
354
|
const event = ( new StandardKeyboardEvent(e));
|
|
@@ -28,7 +28,7 @@ import { IChatEntitlementService } from '@codingame/monaco-vscode-api/vscode/vs/
|
|
|
28
28
|
const agentSessionsWelcomeInputTypeId = "workbench.editors.agentSessionsWelcomeInput";
|
|
29
29
|
( Registry.as(EditorExtensions.EditorFactory)).registerEditorSerializer(agentSessionsWelcomeInputTypeId, AgentSessionsWelcomeInputSerializer);
|
|
30
30
|
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(
|
|
31
|
-
EditorPaneDescriptor.create(AgentSessionsWelcomePage, AgentSessionsWelcomePage.ID, ( localize(
|
|
31
|
+
EditorPaneDescriptor.create(AgentSessionsWelcomePage, AgentSessionsWelcomePage.ID, ( localize(21014, "Agent Sessions Welcome"))),
|
|
32
32
|
[( new SyncDescriptor(AgentSessionsWelcomeInput))]
|
|
33
33
|
);
|
|
34
34
|
const getWorkspaceKind = workspaceContextService => {
|
|
@@ -54,7 +54,7 @@ let AgentSessionsWelcomeEditorResolverContribution = class AgentSessionsWelcomeE
|
|
|
54
54
|
`${AgentSessionsWelcomeInput.RESOURCE.scheme}:${AgentSessionsWelcomeInput.RESOURCE.authority}/**`,
|
|
55
55
|
{
|
|
56
56
|
id: AgentSessionsWelcomePage.ID,
|
|
57
|
-
label: ( localize(
|
|
57
|
+
label: ( localize(21015, "Agent Sessions Welcome")),
|
|
58
58
|
priority: RegisteredEditorPriority.builtin
|
|
59
59
|
},
|
|
60
60
|
{
|
|
@@ -78,7 +78,7 @@ registerAction2(class OpenAgentSessionsWelcomeAction extends Action2 {
|
|
|
78
78
|
constructor() {
|
|
79
79
|
super({
|
|
80
80
|
id: AgentSessionsWelcomePage.COMMAND_ID,
|
|
81
|
-
title: ( localize(
|
|
81
|
+
title: ( localize(21016, "Open Agent Sessions Welcome")),
|
|
82
82
|
precondition: ChatContextKeys.enabled
|
|
83
83
|
});
|
|
84
84
|
}
|
package/vscode/src/vs/workbench/contrib/welcomeAgentSessions/browser/agentSessionsWelcome.js
CHANGED
|
@@ -155,7 +155,7 @@ let AgentSessionsWelcomePage = class AgentSessionsWelcomePage extends EditorPane
|
|
|
155
155
|
this.container = $(".agentSessionsWelcome", {
|
|
156
156
|
role: "document",
|
|
157
157
|
tabindex: 0,
|
|
158
|
-
"aria-label": ( localize(
|
|
158
|
+
"aria-label": ( localize(21017, "Overview of agent sessions and how to get started."))
|
|
159
159
|
});
|
|
160
160
|
this.contextService = this._register(contextKeyService.createScoped(this.container));
|
|
161
161
|
ChatContextKeys.inAgentSessionsWelcome.bindTo(this.contextService).set(true);
|
|
@@ -232,20 +232,20 @@ let AgentSessionsWelcomePage = class AgentSessionsWelcomePage extends EditorPane
|
|
|
232
232
|
const workspaces = await this.getRecentlyOpenedWorkspaces(false);
|
|
233
233
|
const openEntry = workspaces.length > 0 ? {
|
|
234
234
|
icon: Codicon.folderOpened,
|
|
235
|
-
label: ( localize(
|
|
235
|
+
label: ( localize(21018, "Open Recent...")),
|
|
236
236
|
command: "workbench.action.openRecent"
|
|
237
237
|
} : {
|
|
238
238
|
icon: Codicon.folderOpened,
|
|
239
|
-
label: ( localize(
|
|
239
|
+
label: ( localize(21019, "Open Folder...")),
|
|
240
240
|
command: "workbench.action.files.openFolder"
|
|
241
241
|
};
|
|
242
242
|
const entries = [openEntry, {
|
|
243
243
|
icon: Codicon.newFile,
|
|
244
|
-
label: ( localize(
|
|
244
|
+
label: ( localize(21020, "New file...")),
|
|
245
245
|
command: "welcome.showNewFileEntries"
|
|
246
246
|
}, {
|
|
247
247
|
icon: Codicon.repoClone,
|
|
248
|
-
label: ( localize(
|
|
248
|
+
label: ( localize(21021, "Clone Git Repository...")),
|
|
249
249
|
command: "git.clone"
|
|
250
250
|
}];
|
|
251
251
|
for (const entry of entries) {
|
|
@@ -504,7 +504,7 @@ let AgentSessionsWelcomePage = class AgentSessionsWelcomePage extends EditorPane
|
|
|
504
504
|
const agentsBanner = createAgentsBanner({
|
|
505
505
|
cssClass: "agentSessionsWelcome-agentsBanner",
|
|
506
506
|
source: "agentSessionsWelcome",
|
|
507
|
-
label: ( localize(
|
|
507
|
+
label: ( localize(21022, "View All Sessions")),
|
|
508
508
|
onButtonClick: () => {
|
|
509
509
|
this._closedBy = "viewAllSessions";
|
|
510
510
|
}
|
|
@@ -527,10 +527,10 @@ let AgentSessionsWelcomePage = class AgentSessionsWelcomePage extends EditorPane
|
|
|
527
527
|
const navContainer = append(card, $(".agentSessionsWelcome-walkthroughCard-nav"));
|
|
528
528
|
const prevButton = append(navContainer, $("button.nav-button"));
|
|
529
529
|
prevButton.appendChild(renderIcon(Codicon.chevronLeft));
|
|
530
|
-
prevButton.title = ( localize(
|
|
530
|
+
prevButton.title = ( localize(21023, "Previous"));
|
|
531
531
|
const nextButton = append(navContainer, $("button.nav-button"));
|
|
532
532
|
nextButton.appendChild(renderIcon(Codicon.chevronRight));
|
|
533
|
-
nextButton.title = ( localize(
|
|
533
|
+
nextButton.title = ( localize(21024, "Next"));
|
|
534
534
|
const updateContent = () => {
|
|
535
535
|
const walkthrough = activeWalkthroughs[currentIndex];
|
|
536
536
|
clearNode(iconContainer);
|
|
@@ -610,10 +610,10 @@ let AgentSessionsWelcomePage = class AgentSessionsWelcomePage extends EditorPane
|
|
|
610
610
|
iconContainer.appendChild(renderIcon(Codicon.chatSparkle));
|
|
611
611
|
const content = append(tosCard, $(".agentSessionsWelcome-walkthroughCard-content"));
|
|
612
612
|
const title = append(content, $(".agentSessionsWelcome-walkthroughCard-title"));
|
|
613
|
-
title.textContent = ( localize(
|
|
613
|
+
title.textContent = ( localize(21025, "Try GitHub Copilot for free, no sign-in required!"));
|
|
614
614
|
const desc = append(content, $(".agentSessionsWelcome-walkthroughCard-description"));
|
|
615
615
|
const descriptionMarkdown = ( new MarkdownString(( localize(
|
|
616
|
-
|
|
616
|
+
21026,
|
|
617
617
|
"By continuing, you agree to {0}'s [Terms]({1}) and [Privacy Statement]({2}).",
|
|
618
618
|
providers.default.name,
|
|
619
619
|
this.productService.defaultChatAgent.termsStatementUrl,
|
|
@@ -625,7 +625,7 @@ let AgentSessionsWelcomePage = class AgentSessionsWelcomePage extends EditorPane
|
|
|
625
625
|
desc.appendChild(renderedMarkdown.element);
|
|
626
626
|
const dismissButton = append(tosCard, $("button.agentSessionsWelcome-tosCard-dismiss"));
|
|
627
627
|
dismissButton.appendChild(renderIcon(Codicon.close));
|
|
628
|
-
dismissButton.title = ( localize(
|
|
628
|
+
dismissButton.title = ( localize(21027, "Dismiss"));
|
|
629
629
|
dismissButton.onclick = e => {
|
|
630
630
|
e.stopPropagation();
|
|
631
631
|
dismissNotice();
|
|
@@ -638,7 +638,7 @@ let AgentSessionsWelcomePage = class AgentSessionsWelcomePage extends EditorPane
|
|
|
638
638
|
icon: Codicon.check,
|
|
639
639
|
actionClassName: "agentSessionsWelcome-checkbox",
|
|
640
640
|
isChecked: this.configurationService.getValue(configurationKey) === "agentSessionsWelcomePage",
|
|
641
|
-
title: ( localize(
|
|
641
|
+
title: ( localize(21028, "When checked, this page will be shown on startup.")),
|
|
642
642
|
...getToggleStyles({
|
|
643
643
|
inputActiveOptionBackground: "var(--vscode-descriptionForeground)",
|
|
644
644
|
inputActiveOptionForeground: "var(--vscode-editor-background)",
|
|
@@ -648,7 +648,7 @@ let AgentSessionsWelcomePage = class AgentSessionsWelcomePage extends EditorPane
|
|
|
648
648
|
showOnStartupCheckbox.domNode.id = "showOnStartup";
|
|
649
649
|
const showOnStartupLabel = $("label.caption", {
|
|
650
650
|
for: "showOnStartup"
|
|
651
|
-
}, ( localize(
|
|
651
|
+
}, ( localize(21029, "Show welcome page on startup")));
|
|
652
652
|
const onShowOnStartupChanged = () => {
|
|
653
653
|
if (showOnStartupCheckbox.checked) {
|
|
654
654
|
this.configurationService.updateValue(configurationKey, "agentSessionsWelcomePage");
|
|
@@ -116,11 +116,11 @@ let OnboardingVariationA = class OnboardingVariationA extends Disposable {
|
|
|
116
116
|
this.overlay = append(container, $(".onboarding-a-overlay"));
|
|
117
117
|
this.overlay.setAttribute("role", "dialog");
|
|
118
118
|
this.overlay.setAttribute("aria-modal", "true");
|
|
119
|
-
this.overlay.setAttribute("aria-label", ( localize(
|
|
119
|
+
this.overlay.setAttribute("aria-label", ( localize(21296, "Welcome to Visual Studio Code")));
|
|
120
120
|
this.card = append(this.overlay, $(".onboarding-a-card"));
|
|
121
121
|
this.closeButton = append(this.card, $("button.onboarding-a-close-btn"));
|
|
122
122
|
this.closeButton.type = "button";
|
|
123
|
-
this.closeButton.setAttribute("aria-label", ( localize(
|
|
123
|
+
this.closeButton.setAttribute("aria-label", ( localize(21297, "Close")));
|
|
124
124
|
this.closeButton.appendChild(renderIcon(Codicon.close));
|
|
125
125
|
const header = append(this.card, $(".onboarding-a-header"));
|
|
126
126
|
this.progressContainer = append(header, $(".onboarding-a-progress"));
|
|
@@ -136,7 +136,7 @@ let OnboardingVariationA = class OnboardingVariationA extends Disposable {
|
|
|
136
136
|
this.footerLeft = append(footer, $(".onboarding-a-footer-left"));
|
|
137
137
|
const footerRight = append(footer, $(".onboarding-a-footer-right"));
|
|
138
138
|
this.backButton = append(footerRight, $("button.onboarding-a-btn.onboarding-a-btn-secondary"));
|
|
139
|
-
this.backButton.textContent = ( localize(
|
|
139
|
+
this.backButton.textContent = ( localize(21298, "Back"));
|
|
140
140
|
this.backButton.type = "button";
|
|
141
141
|
this.footerFocusableElements.push(this.backButton);
|
|
142
142
|
this.nextButton = append(footerRight, $("button.onboarding-a-btn.onboarding-a-btn-primary"));
|
|
@@ -267,7 +267,7 @@ let OnboardingVariationA = class OnboardingVariationA extends Disposable {
|
|
|
267
267
|
}
|
|
268
268
|
}
|
|
269
269
|
this.progressContainer.appendChild(this.stepLabelEl);
|
|
270
|
-
this.stepLabelEl.textContent = ( localize(
|
|
270
|
+
this.stepLabelEl.textContent = ( localize(21299, "{0} of {1}", this.currentStepIndex + 1, this.steps.length));
|
|
271
271
|
}
|
|
272
272
|
_renderStep() {
|
|
273
273
|
if (!this.titleEl || !this.subtitleEl || !this.contentEl) {
|
|
@@ -298,7 +298,7 @@ let OnboardingVariationA = class OnboardingVariationA extends Disposable {
|
|
|
298
298
|
break;
|
|
299
299
|
}
|
|
300
300
|
this.bodyEl?.setAttribute("aria-label", ( localize(
|
|
301
|
-
|
|
301
|
+
21300,
|
|
302
302
|
"Step {0} of {1}: {2}",
|
|
303
303
|
this.currentStepIndex + 1,
|
|
304
304
|
this.steps.length,
|
|
@@ -314,17 +314,17 @@ let OnboardingVariationA = class OnboardingVariationA extends Disposable {
|
|
|
314
314
|
if (this.currentStepIndex === 0) {
|
|
315
315
|
if (this._userSignedIn) {
|
|
316
316
|
this.nextButton.className = "onboarding-a-btn onboarding-a-btn-primary";
|
|
317
|
-
this.nextButton.textContent = ( localize(
|
|
317
|
+
this.nextButton.textContent = ( localize(21301, "Continue"));
|
|
318
318
|
} else {
|
|
319
319
|
this.nextButton.className = "onboarding-a-btn onboarding-a-btn-secondary";
|
|
320
|
-
this.nextButton.textContent = ( localize(
|
|
320
|
+
this.nextButton.textContent = ( localize(21302, "Continue without Signing In"));
|
|
321
321
|
}
|
|
322
322
|
} else if (this._isLastStep()) {
|
|
323
323
|
this.nextButton.className = "onboarding-a-btn onboarding-a-btn-primary";
|
|
324
|
-
this.nextButton.textContent = ( localize(
|
|
324
|
+
this.nextButton.textContent = ( localize(21303, "Get Started"));
|
|
325
325
|
} else {
|
|
326
326
|
this.nextButton.className = "onboarding-a-btn onboarding-a-btn-primary";
|
|
327
|
-
this.nextButton.textContent = ( localize(
|
|
327
|
+
this.nextButton.textContent = ( localize(21304, "Continue"));
|
|
328
328
|
}
|
|
329
329
|
}
|
|
330
330
|
if (this.footerLeft) {
|
|
@@ -332,7 +332,7 @@ let OnboardingVariationA = class OnboardingVariationA extends Disposable {
|
|
|
332
332
|
if (!this._footerSignInBtn && !this._userSignedIn) {
|
|
333
333
|
this._footerSignInBtn = append(this.footerLeft, $("button.onboarding-a-signin-nudge-btn"));
|
|
334
334
|
this._footerSignInBtn.type = "button";
|
|
335
|
-
this._footerSignInBtn.textContent = ( localize(
|
|
335
|
+
this._footerSignInBtn.textContent = ( localize(21305, "Sign in to use GitHub Copilot"));
|
|
336
336
|
this.stepDisposables.add(
|
|
337
337
|
addDisposableListener(this._footerSignInBtn, EventType.CLICK, async () => {
|
|
338
338
|
this._logAction("signInNudge");
|
|
@@ -360,9 +360,9 @@ let OnboardingVariationA = class OnboardingVariationA extends Disposable {
|
|
|
360
360
|
const content = append(wrapper, $(".onboarding-a-signin-content"));
|
|
361
361
|
const contentMain = append(content, $(".onboarding-a-signin-content-main"));
|
|
362
362
|
const title = append(contentMain, $("h2.onboarding-a-signin-title"));
|
|
363
|
-
title.textContent = ( localize(
|
|
363
|
+
title.textContent = ( localize(21306, "Welcome to VS Code"));
|
|
364
364
|
const subtitle = append(contentMain, $("p.onboarding-a-signin-subtitle"));
|
|
365
|
-
subtitle.textContent = ( localize(
|
|
365
|
+
subtitle.textContent = ( localize(21307, "Sign in to use GitHub Copilot."));
|
|
366
366
|
const actions = append(contentMain, $(".onboarding-a-signin-actions"));
|
|
367
367
|
if (this._userSignedIn) {
|
|
368
368
|
const signedIn = append(actions, $(".onboarding-a-signin-confirmation"));
|
|
@@ -370,7 +370,7 @@ let OnboardingVariationA = class OnboardingVariationA extends Disposable {
|
|
|
370
370
|
icon.classList.add(...ThemeIcon.asClassNameArray(Codicon.check));
|
|
371
371
|
icon.setAttribute("aria-hidden", "true");
|
|
372
372
|
const text = append(signedIn, $("span"));
|
|
373
|
-
text.textContent = ( localize(
|
|
373
|
+
text.textContent = ( localize(21308, "You're signed in. You can continue to the next step."));
|
|
374
374
|
} else {
|
|
375
375
|
switch (this.enterpriseSignInUiState) {
|
|
376
376
|
case "instance":
|
|
@@ -388,49 +388,49 @@ let OnboardingVariationA = class OnboardingVariationA extends Disposable {
|
|
|
388
388
|
const disclaimerCol = append(footer, $(".onboarding-a-signin-disclaimer-col"));
|
|
389
389
|
const copilotDisclaimer = append(disclaimerCol, $(".onboarding-a-signin-disclaimer"));
|
|
390
390
|
copilotDisclaimer.append(( localize(
|
|
391
|
-
|
|
391
|
+
21309,
|
|
392
392
|
"By signing in, you agree to {0}'s ",
|
|
393
393
|
defaultChat.provider.default.name
|
|
394
394
|
)));
|
|
395
|
-
this._createInlineLink(copilotDisclaimer, ( localize(
|
|
396
|
-
copilotDisclaimer.append(( localize(
|
|
397
|
-
this._createInlineLink(copilotDisclaimer, ( localize(
|
|
398
|
-
copilotDisclaimer.append(( localize(
|
|
399
|
-
this._createInlineLink(copilotDisclaimer, ( localize(
|
|
400
|
-
copilotDisclaimer.append(( localize(
|
|
395
|
+
this._createInlineLink(copilotDisclaimer, ( localize(21310, "Terms")), defaultChat.termsStatementUrl);
|
|
396
|
+
copilotDisclaimer.append(( localize(21311, " and ")));
|
|
397
|
+
this._createInlineLink(copilotDisclaimer, ( localize(21312, "Privacy Statement")), defaultChat.privacyStatementUrl);
|
|
398
|
+
copilotDisclaimer.append(( localize(21313, ". {0} Copilot may show ", defaultChat.provider.default.name)));
|
|
399
|
+
this._createInlineLink(copilotDisclaimer, ( localize(21314, "public code")), defaultChat.publicCodeMatchesUrl);
|
|
400
|
+
copilotDisclaimer.append(( localize(21315, " suggestions and use your data to improve the product.")));
|
|
401
401
|
copilotDisclaimer.append(" ");
|
|
402
|
-
copilotDisclaimer.append(( localize(
|
|
403
|
-
this._createInlineLink(copilotDisclaimer, ( localize(
|
|
404
|
-
copilotDisclaimer.append(( localize(
|
|
402
|
+
copilotDisclaimer.append(( localize(21316, "You can change these ")));
|
|
403
|
+
this._createInlineLink(copilotDisclaimer, ( localize(21317, "settings")), this.defaultAccountService.resolveGitHubUrl(GitHubPaths.copilotSettings));
|
|
404
|
+
copilotDisclaimer.append(( localize(21318, " anytime.")));
|
|
405
405
|
}
|
|
406
406
|
_renderDefaultSignInActions(actions) {
|
|
407
|
-
const githubBtn = this._registerStepFocusable(this._createSignInButton(actions, "github", ( localize(
|
|
407
|
+
const githubBtn = this._registerStepFocusable(this._createSignInButton(actions, "github", ( localize(21319, "Continue with GitHub")), {
|
|
408
408
|
emphasized: true,
|
|
409
|
-
label: ( localize(
|
|
409
|
+
label: ( localize(21320, "Continue with GitHub"))
|
|
410
410
|
}));
|
|
411
411
|
this.stepDisposables.add(addDisposableListener(githubBtn, EventType.CLICK, () => {
|
|
412
412
|
this._logAction("signIn", undefined, "github");
|
|
413
413
|
this._handleSignIn();
|
|
414
414
|
}));
|
|
415
|
-
const googleBtn = this._registerStepFocusable(this._createSignInButton(actions, "google", ( localize(
|
|
415
|
+
const googleBtn = this._registerStepFocusable(this._createSignInButton(actions, "google", ( localize(21321, "Continue with Google")), {
|
|
416
416
|
iconOnly: true,
|
|
417
|
-
label: ( localize(
|
|
417
|
+
label: ( localize(21321, "Continue with Google"))
|
|
418
418
|
}));
|
|
419
419
|
this.stepDisposables.add(addDisposableListener(googleBtn, EventType.CLICK, () => {
|
|
420
420
|
this._logAction("signIn", undefined, "google");
|
|
421
421
|
this._handleSignIn("google");
|
|
422
422
|
}));
|
|
423
|
-
const appleBtn = this._registerStepFocusable(this._createSignInButton(actions, "apple", ( localize(
|
|
423
|
+
const appleBtn = this._registerStepFocusable(this._createSignInButton(actions, "apple", ( localize(21322, "Continue with Apple")), {
|
|
424
424
|
iconOnly: true,
|
|
425
|
-
label: ( localize(
|
|
425
|
+
label: ( localize(21322, "Continue with Apple"))
|
|
426
426
|
}));
|
|
427
427
|
this.stepDisposables.add(addDisposableListener(appleBtn, EventType.CLICK, () => {
|
|
428
428
|
this._logAction("signIn", undefined, "apple");
|
|
429
429
|
this._handleSignIn("apple");
|
|
430
430
|
}));
|
|
431
|
-
const gheBtn = this._registerStepFocusable(this._createSignInButton(actions, "github-enterprise", ( localize(
|
|
431
|
+
const gheBtn = this._registerStepFocusable(this._createSignInButton(actions, "github-enterprise", ( localize(21323, "GHE")), {
|
|
432
432
|
textOnly: true,
|
|
433
|
-
label: ( localize(
|
|
433
|
+
label: ( localize(21324, "Continue with GitHub Enterprise"))
|
|
434
434
|
}));
|
|
435
435
|
this.stepDisposables.add(addDisposableListener(gheBtn, EventType.CLICK, () => {
|
|
436
436
|
this._logAction("signIn", undefined, "github-enterprise");
|
|
@@ -443,9 +443,9 @@ let OnboardingVariationA = class OnboardingVariationA extends Disposable {
|
|
|
443
443
|
_renderEnterpriseInstanceForm(actions) {
|
|
444
444
|
const enterprisePromptLabel = this._getEnterpriseInstancePromptLabel();
|
|
445
445
|
const container = append(actions, $(".onboarding-a-signin-ghe-input"));
|
|
446
|
-
const submitAction = this.stepDisposables.add(( new Action("onboarding.signIn.enterprise.submit", ( localize(
|
|
446
|
+
const submitAction = this.stepDisposables.add(( new Action("onboarding.signIn.enterprise.submit", ( localize(21325, "Continue")), ThemeIcon.asClassName(Codicon.arrowRight), false)));
|
|
447
447
|
const inputBox = this.stepDisposables.add(( new InputBox(container, undefined, {
|
|
448
|
-
placeholder: ( localize(
|
|
448
|
+
placeholder: ( localize(21326, "i.e. \"octocat\" or \"https://octocat.ghe.com\"...")),
|
|
449
449
|
ariaLabel: enterprisePromptLabel,
|
|
450
450
|
actions: [submitAction],
|
|
451
451
|
inputBoxStyles: defaultInputBoxStyles
|
|
@@ -475,7 +475,7 @@ let OnboardingVariationA = class OnboardingVariationA extends Disposable {
|
|
|
475
475
|
return false;
|
|
476
476
|
case GheParseResultKind.SingleWord:
|
|
477
477
|
message.classList.add("info");
|
|
478
|
-
message.textContent = ( localize(
|
|
478
|
+
message.textContent = ( localize(21327, "Will resolve to {0}", result.resolvedUri));
|
|
479
479
|
submitAction.enabled = true;
|
|
480
480
|
return true;
|
|
481
481
|
case GheParseResultKind.FullUri:
|
|
@@ -486,7 +486,7 @@ let OnboardingVariationA = class OnboardingVariationA extends Disposable {
|
|
|
486
486
|
inputBox.element.classList.add("error");
|
|
487
487
|
message.classList.add("error");
|
|
488
488
|
message.textContent = ( localize(
|
|
489
|
-
|
|
489
|
+
21328,
|
|
490
490
|
"You must enter a valid {0} instance (i.e. \"octocat\" or \"https://octocat.ghe.com\")",
|
|
491
491
|
defaultChat.provider.enterprise.name
|
|
492
492
|
));
|
|
@@ -522,13 +522,13 @@ let OnboardingVariationA = class OnboardingVariationA extends Disposable {
|
|
|
522
522
|
spinner.setAttribute("aria-hidden", "true");
|
|
523
523
|
const message = append(container, $(".onboarding-a-signin-ghe-progress-message"));
|
|
524
524
|
message.textContent = ( localize(
|
|
525
|
-
|
|
525
|
+
21329,
|
|
526
526
|
"Waiting for {0} sign-in to complete...",
|
|
527
527
|
defaultChat.provider.enterprise.name
|
|
528
528
|
));
|
|
529
529
|
}
|
|
530
530
|
_getEnterpriseInstancePromptLabel() {
|
|
531
|
-
return localize(
|
|
531
|
+
return localize(21330, "What is your {0} instance?", defaultChat.provider.enterprise.name);
|
|
532
532
|
}
|
|
533
533
|
_setEnterpriseSignInUiState(state) {
|
|
534
534
|
this.enterpriseSignInUiState = state;
|
|
@@ -605,7 +605,7 @@ let OnboardingVariationA = class OnboardingVariationA extends Disposable {
|
|
|
605
605
|
});
|
|
606
606
|
this.notificationService.notify({
|
|
607
607
|
severity: Severity.Error,
|
|
608
|
-
message: ( localize(
|
|
608
|
+
message: ( localize(21331, "Sign-in failed. You can try again later from the Accounts menu."))
|
|
609
609
|
});
|
|
610
610
|
}
|
|
611
611
|
}
|
|
@@ -679,7 +679,7 @@ let OnboardingVariationA = class OnboardingVariationA extends Disposable {
|
|
|
679
679
|
this.notificationService.notify({
|
|
680
680
|
severity: Severity.Error,
|
|
681
681
|
message: ( localize(
|
|
682
|
-
|
|
682
|
+
21332,
|
|
683
683
|
"GitHub Enterprise sign-in failed. Check your instance URL and try again."
|
|
684
684
|
))
|
|
685
685
|
});
|
|
@@ -687,15 +687,15 @@ let OnboardingVariationA = class OnboardingVariationA extends Disposable {
|
|
|
687
687
|
_renderPersonalizeStep(container) {
|
|
688
688
|
const wrapper = append(container, $(".onboarding-a-personalize"));
|
|
689
689
|
const themeLabel = append(wrapper, $("div.onboarding-a-section-label"));
|
|
690
|
-
themeLabel.textContent = ( localize(
|
|
690
|
+
themeLabel.textContent = ( localize(21333, "Color Theme"));
|
|
691
691
|
const themeHint = append(wrapper, $("div.onboarding-a-theme-hint"));
|
|
692
692
|
themeHint.textContent = ( localize(
|
|
693
|
-
|
|
693
|
+
21334,
|
|
694
694
|
"You can browse and install more themes later from the Extensions view."
|
|
695
695
|
));
|
|
696
696
|
const themeGrid = append(wrapper, $(".onboarding-a-theme-grid"));
|
|
697
697
|
themeGrid.setAttribute("role", "radiogroup");
|
|
698
|
-
themeGrid.setAttribute("aria-label", ( localize(
|
|
698
|
+
themeGrid.setAttribute("aria-label", ( localize(21335, "Choose a color theme")));
|
|
699
699
|
const hasOtherEditors = this._hasOtherEditors();
|
|
700
700
|
const allThemes = product.onboardingThemes ?? [];
|
|
701
701
|
const themes = hasOtherEditors ? allThemes.filter(t => !t.id.startsWith("solarized")) : allThemes;
|
|
@@ -715,15 +715,15 @@ let OnboardingVariationA = class OnboardingVariationA extends Disposable {
|
|
|
715
715
|
wrapper,
|
|
716
716
|
$("div.onboarding-a-section-label.onboarding-a-section-label-keymap")
|
|
717
717
|
);
|
|
718
|
-
keymapLabel.textContent = ( localize(
|
|
718
|
+
keymapLabel.textContent = ( localize(21336, "Keyboard Mapping"));
|
|
719
719
|
const keymapHint = append(wrapper, $("div.onboarding-a-theme-hint"));
|
|
720
720
|
keymapHint.textContent = ( localize(
|
|
721
|
-
|
|
721
|
+
21337,
|
|
722
722
|
"Coming from another editor? Import your keyboard mapping to feel right at home."
|
|
723
723
|
));
|
|
724
724
|
const keymapList = append(wrapper, $(".onboarding-a-keymap-list"));
|
|
725
725
|
keymapList.setAttribute("role", "radiogroup");
|
|
726
|
-
keymapList.setAttribute("aria-label", ( localize(
|
|
726
|
+
keymapList.setAttribute("aria-label", ( localize(21338, "Choose a keyboard mapping")));
|
|
727
727
|
const keymapPills = [];
|
|
728
728
|
for (const keymap of keymapOptions) {
|
|
729
729
|
const pill = this._registerStepFocusable(append(keymapList, $("button.onboarding-a-keymap-pill")));
|
|
@@ -746,7 +746,7 @@ let OnboardingVariationA = class OnboardingVariationA extends Disposable {
|
|
|
746
746
|
}
|
|
747
747
|
pill.classList.add("selected");
|
|
748
748
|
pill.setAttribute("aria-checked", "true");
|
|
749
|
-
this.accessibilityService.alert(( localize(
|
|
749
|
+
this.accessibilityService.alert(( localize(21339, "{0} keyboard mapping selected", keymap.label)));
|
|
750
750
|
}));
|
|
751
751
|
}
|
|
752
752
|
const selectedKeymapIndex = keymapOptions.findIndex(k => k.id === this.selectedKeymapId);
|
|
@@ -756,7 +756,7 @@ let OnboardingVariationA = class OnboardingVariationA extends Disposable {
|
|
|
756
756
|
_renderPersonalizeSubtitle(container) {
|
|
757
757
|
clearNode(container);
|
|
758
758
|
const modifier = isMacintosh ? "Cmd" : "Ctrl";
|
|
759
|
-
container.append(( localize(
|
|
759
|
+
container.append(( localize(21340, "Tip: Press ")), this._createKbd(( localize(21341, "{0}", modifier))), "+", this._createKbd(( localize(21342, "Shift"))), "+", this._createKbd(( localize(21343, "P"))), ( localize(21344, " to access all VS Code commands.")));
|
|
760
760
|
}
|
|
761
761
|
_createThemeCard(parent, theme, allCards) {
|
|
762
762
|
const card = this._registerStepFocusable(append(parent, $("div.onboarding-a-theme-card")));
|
|
@@ -784,7 +784,7 @@ let OnboardingVariationA = class OnboardingVariationA extends Disposable {
|
|
|
784
784
|
}
|
|
785
785
|
card.classList.add("selected");
|
|
786
786
|
card.setAttribute("aria-checked", "true");
|
|
787
|
-
this.accessibilityService.alert(( localize(
|
|
787
|
+
this.accessibilityService.alert(( localize(21345, "{0} theme selected", theme.label)));
|
|
788
788
|
}));
|
|
789
789
|
this.stepDisposables.add(addDisposableListener(card, EventType.KEY_DOWN, e => {
|
|
790
790
|
if (e.key === "Enter" || e.key === " ") {
|
|
@@ -821,7 +821,7 @@ let OnboardingVariationA = class OnboardingVariationA extends Disposable {
|
|
|
821
821
|
this.notificationService.notify({
|
|
822
822
|
severity: Severity.Warning,
|
|
823
823
|
message: ( localize(
|
|
824
|
-
|
|
824
|
+
21346,
|
|
825
825
|
"Could not install {0} keymap. You can install it later from Extensions.",
|
|
826
826
|
keymap.label
|
|
827
827
|
))
|
|
@@ -944,7 +944,7 @@ let OnboardingVariationA = class OnboardingVariationA extends Disposable {
|
|
|
944
944
|
const wrapper = append(container, $(".onboarding-a-ai-pref"));
|
|
945
945
|
const cards = append(wrapper, $(".onboarding-a-ai-pref-cards"));
|
|
946
946
|
cards.setAttribute("role", "radiogroup");
|
|
947
|
-
cards.setAttribute("aria-label", ( localize(
|
|
947
|
+
cards.setAttribute("aria-label", ( localize(21347, "Choose your AI collaboration style")));
|
|
948
948
|
const allCards = [];
|
|
949
949
|
for (const option of ONBOARDING_AI_PREFERENCE_OPTIONS) {
|
|
950
950
|
const card = this._registerStepFocusable(append(cards, $("button.onboarding-a-ai-pref-card")));
|
|
@@ -972,13 +972,13 @@ let OnboardingVariationA = class OnboardingVariationA extends Disposable {
|
|
|
972
972
|
c.setAttribute("aria-checked", c.dataset.id === option.id ? "true" : "false");
|
|
973
973
|
}
|
|
974
974
|
this._applyAiPreference(option.id);
|
|
975
|
-
this.accessibilityService.alert(( localize(
|
|
975
|
+
this.accessibilityService.alert(( localize(21348, "{0} selected", option.label)));
|
|
976
976
|
}));
|
|
977
977
|
}
|
|
978
978
|
const selectedAiIndex = ONBOARDING_AI_PREFERENCE_OPTIONS.findIndex(o => o.id === this.selectedAiMode);
|
|
979
979
|
this._setupRadioGroupNavigation(allCards, Math.max(0, selectedAiIndex));
|
|
980
980
|
const hint = append(wrapper, $("div.onboarding-a-ai-pref-hint"));
|
|
981
|
-
hint.textContent = ( localize(
|
|
981
|
+
hint.textContent = ( localize(21349, "You can change this anytime in Settings."));
|
|
982
982
|
}
|
|
983
983
|
_applyAiPreference(mode) {
|
|
984
984
|
switch (mode) {
|
package/vscode/src/vs/workbench/contrib/welcomeOnboarding/browser/welcomeOnboarding.contribution.js
CHANGED
|
@@ -13,7 +13,7 @@ registerAction2(class extends Action2 {
|
|
|
13
13
|
constructor() {
|
|
14
14
|
super({
|
|
15
15
|
id: "workbench.action.welcomeOnboarding2026",
|
|
16
|
-
title: ( localize2(
|
|
16
|
+
title: ( localize2(21350, "Welcome Onboarding 2026")),
|
|
17
17
|
category: Categories.Developer,
|
|
18
18
|
f1: true
|
|
19
19
|
});
|
|
@@ -18,13 +18,13 @@ import { Extensions } from '@codingame/monaco-vscode-api/vscode/vs/workbench/com
|
|
|
18
18
|
import { LifecyclePhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle';
|
|
19
19
|
|
|
20
20
|
var NewFileTemplatesManager_1;
|
|
21
|
-
const builtInSource = ( localize(
|
|
22
|
-
const category = ( localize2(
|
|
21
|
+
const builtInSource = ( localize(21363, "Built-In"));
|
|
22
|
+
const category = ( localize2(21364, "Create"));
|
|
23
23
|
registerAction2(class extends Action2 {
|
|
24
24
|
constructor() {
|
|
25
25
|
super({
|
|
26
26
|
id: "welcome.showNewFileEntries",
|
|
27
|
-
title: ( localize2(
|
|
27
|
+
title: ( localize2(21365, "New File...")),
|
|
28
28
|
category,
|
|
29
29
|
f1: true,
|
|
30
30
|
precondition: ( IsSessionsWindowContext.negate()),
|
|
@@ -108,8 +108,8 @@ let NewFileTemplatesManager = class NewFileTemplatesManager extends Disposable {
|
|
|
108
108
|
const qp = this.quickInputService.createQuickPick({
|
|
109
109
|
useSeparators: true
|
|
110
110
|
});
|
|
111
|
-
qp.title = ( localize(
|
|
112
|
-
qp.placeholder = ( localize(
|
|
111
|
+
qp.title = ( localize(21366, "New File..."));
|
|
112
|
+
qp.placeholder = ( localize(21367, "Select File Type or Enter File Name..."));
|
|
113
113
|
qp.sortByLabel = false;
|
|
114
114
|
qp.matchOnDetail = true;
|
|
115
115
|
qp.matchOnDescription = true;
|
|
@@ -136,8 +136,8 @@ let NewFileTemplatesManager = class NewFileTemplatesManager extends Disposable {
|
|
|
136
136
|
return a.from.localeCompare(b.from);
|
|
137
137
|
};
|
|
138
138
|
const displayCategory = {
|
|
139
|
-
"file": ( localize(
|
|
140
|
-
"notebook": ( localize(
|
|
139
|
+
"file": ( localize(21368, "File")),
|
|
140
|
+
"notebook": ( localize(21369, "Notebook"))
|
|
141
141
|
};
|
|
142
142
|
const refreshQp = entries => {
|
|
143
143
|
const items = [];
|
|
@@ -159,7 +159,7 @@ let NewFileTemplatesManager = class NewFileTemplatesManager extends Disposable {
|
|
|
159
159
|
keybinding,
|
|
160
160
|
buttons: command ? [{
|
|
161
161
|
iconClass: "codicon codicon-gear",
|
|
162
|
-
tooltip: ( localize(
|
|
162
|
+
tooltip: ( localize(21370, "Configure Keybinding"))
|
|
163
163
|
}] : [],
|
|
164
164
|
detail: "",
|
|
165
165
|
description: entry.from
|
|
@@ -181,7 +181,7 @@ let NewFileTemplatesManager = class NewFileTemplatesManager extends Disposable {
|
|
|
181
181
|
viewType: undefined,
|
|
182
182
|
fileName: val
|
|
183
183
|
},
|
|
184
|
-
title: ( localize(
|
|
184
|
+
title: ( localize(21371, "Create New File ({0})", val)),
|
|
185
185
|
group: "file",
|
|
186
186
|
from: builtInSource
|
|
187
187
|
};
|
|
@@ -215,7 +215,7 @@ MenuRegistry.appendMenuItem(MenuId.NewFile, {
|
|
|
215
215
|
group: "file",
|
|
216
216
|
command: {
|
|
217
217
|
id: "workbench.action.files.newUntitledFile",
|
|
218
|
-
title: ( localize(
|
|
218
|
+
title: ( localize(21372, "Text File"))
|
|
219
219
|
},
|
|
220
220
|
order: 1
|
|
221
221
|
});
|
|
@@ -63,7 +63,7 @@ function parseGroupAndOrder(welcome, contribution) {
|
|
|
63
63
|
if (welcome.group) {
|
|
64
64
|
if (!isProposedApiEnabled(contribution.description, "contribViewsWelcome")) {
|
|
65
65
|
contribution.collector.warn(( localize(
|
|
66
|
-
|
|
66
|
+
21373,
|
|
67
67
|
"The viewsWelcome contribution in '{0}' requires 'enabledApiProposals: [\"contribViewsWelcome\"]' in order to use the 'group' proposed property.",
|
|
68
68
|
contribution.description.identifier.value
|
|
69
69
|
)));
|
|
@@ -20,12 +20,12 @@ const ViewIdentifierMap = {
|
|
|
20
20
|
const viewsWelcomeExtensionPointSchema = ( Object.freeze({
|
|
21
21
|
type: "array",
|
|
22
22
|
description: ( localize(
|
|
23
|
-
|
|
23
|
+
21374,
|
|
24
24
|
"Contributed views welcome content. Welcome content will be rendered in tree based views whenever they have no meaningful content to display, ie. the File Explorer when no folder is open. Such content is useful as in-product documentation to drive users to use certain features before they are available. A good example would be a `Clone Repository` button in the File Explorer welcome view."
|
|
25
25
|
)),
|
|
26
26
|
items: {
|
|
27
27
|
type: "object",
|
|
28
|
-
description: ( localize(
|
|
28
|
+
description: ( localize(21375, "Contributed welcome content for a specific view.")),
|
|
29
29
|
required: [
|
|
30
30
|
ViewsWelcomeExtensionPointFields.view,
|
|
31
31
|
ViewsWelcomeExtensionPointFields.contents
|
|
@@ -35,13 +35,13 @@ const viewsWelcomeExtensionPointSchema = ( Object.freeze({
|
|
|
35
35
|
anyOf: [{
|
|
36
36
|
type: "string",
|
|
37
37
|
description: ( localize(
|
|
38
|
-
|
|
38
|
+
21376,
|
|
39
39
|
"Target view identifier for this welcome content. Only tree based views are supported."
|
|
40
40
|
))
|
|
41
41
|
}, {
|
|
42
42
|
type: "string",
|
|
43
43
|
description: ( localize(
|
|
44
|
-
|
|
44
|
+
21376,
|
|
45
45
|
"Target view identifier for this welcome content. Only tree based views are supported."
|
|
46
46
|
)),
|
|
47
47
|
enum: ( Object.keys(ViewIdentifierMap))
|
|
@@ -50,22 +50,22 @@ const viewsWelcomeExtensionPointSchema = ( Object.freeze({
|
|
|
50
50
|
[ViewsWelcomeExtensionPointFields.contents]: {
|
|
51
51
|
type: "string",
|
|
52
52
|
description: ( localize(
|
|
53
|
-
|
|
53
|
+
21377,
|
|
54
54
|
"Welcome content to be displayed. The format of the contents is a subset of Markdown, with support for links only."
|
|
55
55
|
))
|
|
56
56
|
},
|
|
57
57
|
[ViewsWelcomeExtensionPointFields.when]: {
|
|
58
58
|
type: "string",
|
|
59
|
-
description: ( localize(
|
|
59
|
+
description: ( localize(21378, "Condition when the welcome content should be displayed."))
|
|
60
60
|
},
|
|
61
61
|
[ViewsWelcomeExtensionPointFields.group]: {
|
|
62
62
|
type: "string",
|
|
63
|
-
description: ( localize(
|
|
63
|
+
description: ( localize(21379, "Group to which this welcome content belongs. Proposed API."))
|
|
64
64
|
},
|
|
65
65
|
[ViewsWelcomeExtensionPointFields.enablement]: {
|
|
66
66
|
type: "string",
|
|
67
67
|
description: ( localize(
|
|
68
|
-
|
|
68
|
+
21380,
|
|
69
69
|
"Condition when the welcome content buttons and command links should be enabled."
|
|
70
70
|
))
|
|
71
71
|
}
|