@codingame/monaco-vscode-walkthrough-service-override 38.0.7 → 39.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentsWindowGraphic.d.ts +42 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/agentsWindowGraphic.js +438 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/media/agentsWindowGraphic.css +405 -0
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution.js +21 -32
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.js +105 -48
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedAccessibleView.js +2 -2
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedColors.js +8 -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/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 +149 -159
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/notebookProfile.js +3 -3
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/theme_picker.js +5 -5
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/media/theme_picker_small.js +4 -4
- package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/editor/editorWalkThrough.js +3 -3
- package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThrough.contribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/browser/walkThroughPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/welcomeWalkthrough/common/walkThroughUtils.js +2 -1
package/vscode/src/vs/workbench/contrib/chat/browser/agentSessions/media/agentsWindowGraphic.css
ADDED
|
@@ -0,0 +1,405 @@
|
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
|
|
6
|
+
/* Layout */
|
|
7
|
+
|
|
8
|
+
.agents-window-graphic {
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-wrap: wrap;
|
|
11
|
+
justify-content: center;
|
|
12
|
+
gap: var(--vscode-spacing-size240) var(--vscode-spacing-size320);
|
|
13
|
+
max-width: 100%;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.agents-window-graphic-figure {
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: column;
|
|
19
|
+
align-items: center;
|
|
20
|
+
gap: var(--vscode-spacing-size80);
|
|
21
|
+
min-width: 0;
|
|
22
|
+
max-width: 100%;
|
|
23
|
+
margin: 0;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/* Design 1's two windows shrink together, then stack when they don't fit side by side. */
|
|
27
|
+
.agents-window-graphic.window-comparison .agents-window-graphic-figure {
|
|
28
|
+
flex: 1 1 0;
|
|
29
|
+
min-width: min(200px, 100%);
|
|
30
|
+
max-width: 240px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/* Design 2 scales down to fit: a replaced element with a percentage max-width doesn't add to its container's min-content width. */
|
|
34
|
+
.agents-window-graphic.many-windows-to-one .agents-window-graphic-svg {
|
|
35
|
+
width: 540px;
|
|
36
|
+
max-width: 100%;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.agents-window-graphic-svg {
|
|
40
|
+
display: block;
|
|
41
|
+
width: 100%;
|
|
42
|
+
height: auto;
|
|
43
|
+
overflow: visible;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/* Compact graphics fill the width of their container, such as a hover card. */
|
|
47
|
+
.agents-window-graphic.compact {
|
|
48
|
+
flex-wrap: nowrap;
|
|
49
|
+
gap: var(--vscode-spacing-size120);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.agents-window-graphic.compact .agents-window-graphic-figure {
|
|
53
|
+
gap: var(--vscode-spacing-size60);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.agents-window-graphic.window-comparison.compact .agents-window-graphic-figure {
|
|
57
|
+
min-width: 0;
|
|
58
|
+
max-width: none;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.agents-window-graphic.many-windows-to-one.compact .agents-window-graphic-figure {
|
|
62
|
+
flex: 1 1 auto;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.agents-window-graphic.many-windows-to-one.compact .agents-window-graphic-svg {
|
|
66
|
+
width: 100%;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.agents-window-graphic.compact .agents-window-graphic-caption {
|
|
70
|
+
font-size: var(--vscode-fontSize-body2);
|
|
71
|
+
line-height: 16px;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.agents-window-graphic.compact .agents-window-graphic-title {
|
|
75
|
+
color: var(--vscode-descriptionForeground);
|
|
76
|
+
font-weight: var(--vscode-fontWeight-regular);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.agents-window-graphic-caption {
|
|
80
|
+
display: flex;
|
|
81
|
+
flex-direction: column;
|
|
82
|
+
align-items: center;
|
|
83
|
+
gap: var(--vscode-spacing-size40);
|
|
84
|
+
text-align: center;
|
|
85
|
+
font-size: var(--vscode-fontSize-body1);
|
|
86
|
+
line-height: 18px;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.agents-window-graphic-title {
|
|
90
|
+
display: flex;
|
|
91
|
+
align-items: center;
|
|
92
|
+
gap: var(--vscode-spacing-size60);
|
|
93
|
+
color: var(--vscode-foreground);
|
|
94
|
+
font-weight: var(--vscode-fontWeight-semiBold);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.agents-window-graphic.window-comparison .agents-window-graphic-description {
|
|
98
|
+
color: var(--vscode-descriptionForeground);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.agents-window-graphic.many-windows-to-one .agents-window-graphic-description {
|
|
102
|
+
color: var(--vscode-foreground);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.agents-window-graphic-badge {
|
|
106
|
+
padding: var(--vscode-spacing-size20) var(--vscode-spacing-size40);
|
|
107
|
+
border: var(--vscode-strokeThickness) solid var(--vscode-contrastBorder, transparent);
|
|
108
|
+
border-radius: var(--vscode-cornerRadius-small);
|
|
109
|
+
background-color: var(--vscode-activityBarBadge-background);
|
|
110
|
+
color: var(--vscode-activityBarBadge-foreground);
|
|
111
|
+
font-size: var(--vscode-fontSize-body2);
|
|
112
|
+
font-weight: var(--vscode-fontWeight-regular);
|
|
113
|
+
line-height: 14px;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/* Window surfaces */
|
|
117
|
+
|
|
118
|
+
.agents-window-graphic .awg-window-shape {
|
|
119
|
+
rx: var(--vscode-cornerRadius-large);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.agents-window-graphic .awg-window-frame {
|
|
123
|
+
rx: calc(var(--vscode-cornerRadius-large) - 0.5px);
|
|
124
|
+
fill: none;
|
|
125
|
+
stroke: var(--vscode-foreground);
|
|
126
|
+
stroke-opacity: 0.16;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.agents-window-graphic .awg-window-shadow {
|
|
130
|
+
filter: drop-shadow(0 2px 4px var(--vscode-widget-shadow));
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.agents-window-graphic .awg-editor {
|
|
134
|
+
fill: var(--vscode-editor-background);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.agents-window-graphic .awg-titlebar {
|
|
138
|
+
fill: var(--vscode-titleBar-activeBackground);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.agents-window-graphic .awg-sidebar {
|
|
142
|
+
fill: var(--vscode-sideBar-background);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.agents-window-graphic .awg-divider {
|
|
146
|
+
fill: var(--vscode-foreground);
|
|
147
|
+
fill-opacity: 0.07;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.agents-window-graphic .awg-command-center {
|
|
151
|
+
fill: var(--vscode-foreground);
|
|
152
|
+
fill-opacity: 0.05;
|
|
153
|
+
stroke: var(--vscode-foreground);
|
|
154
|
+
stroke-opacity: 0.12;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.agents-window-graphic .awg-radius-small {
|
|
158
|
+
rx: var(--vscode-cornerRadius-small);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.agents-window-graphic .awg-radius-medium {
|
|
162
|
+
rx: var(--vscode-cornerRadius-medium);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
/* Text and content, from faint to full emphasis */
|
|
166
|
+
|
|
167
|
+
.agents-window-graphic :is(.awg-ink-faint, .awg-ink-subtle, .awg-ink-medium, .awg-ink-strong, .awg-ink-full, .awg-row-selected, .awg-surface-subtle, .awg-surface-faint, .awg-input) {
|
|
168
|
+
fill: var(--vscode-foreground);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.agents-window-graphic .awg-ink-faint {
|
|
172
|
+
fill-opacity: 0.2;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.agents-window-graphic .awg-ink-subtle {
|
|
176
|
+
fill-opacity: 0.28;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.agents-window-graphic .awg-ink-medium {
|
|
180
|
+
fill-opacity: 0.4;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.agents-window-graphic .awg-ink-strong {
|
|
184
|
+
fill-opacity: 0.55;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.agents-window-graphic .awg-ink-full {
|
|
188
|
+
fill-opacity: 0.85;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.agents-window-graphic :is(.awg-icon, .awg-icon-active) {
|
|
192
|
+
fill: none;
|
|
193
|
+
stroke: var(--vscode-foreground);
|
|
194
|
+
stroke-opacity: 0.3;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.agents-window-graphic .awg-icon-active {
|
|
198
|
+
stroke-opacity: 0.55;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.agents-window-graphic .awg-row-selected,
|
|
202
|
+
.agents-window-graphic .awg-surface-subtle {
|
|
203
|
+
fill-opacity: 0.08;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.agents-window-graphic .awg-surface-faint {
|
|
207
|
+
fill-opacity: 0.04;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.agents-window-graphic .awg-input {
|
|
211
|
+
fill-opacity: 0.04;
|
|
212
|
+
stroke: var(--vscode-foreground);
|
|
213
|
+
stroke-opacity: 0.14;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.agents-window-graphic .awg-accent {
|
|
217
|
+
fill: var(--vscode-focusBorder);
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.agents-window-graphic .awg-button {
|
|
221
|
+
fill: var(--vscode-button-background);
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.agents-window-graphic .awg-button-icon {
|
|
225
|
+
fill: none;
|
|
226
|
+
stroke: var(--vscode-button-foreground);
|
|
227
|
+
stroke-width: 1.2;
|
|
228
|
+
stroke-linecap: round;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.agents-window-graphic .awg-button-label {
|
|
232
|
+
fill: var(--vscode-button-foreground);
|
|
233
|
+
fill-opacity: 0.9;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
/* Code and projects */
|
|
237
|
+
|
|
238
|
+
.agents-window-graphic .awg-syntax-blue {
|
|
239
|
+
fill: var(--vscode-charts-blue);
|
|
240
|
+
fill-opacity: 0.75;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.agents-window-graphic .awg-syntax-yellow {
|
|
244
|
+
fill: var(--vscode-charts-yellow);
|
|
245
|
+
fill-opacity: 0.6;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.agents-window-graphic .awg-syntax-orange {
|
|
249
|
+
fill: var(--vscode-agentsWindowGraphic-orange);
|
|
250
|
+
fill-opacity: 0.6;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.agents-window-graphic .awg-project-blue {
|
|
254
|
+
fill: var(--vscode-charts-blue);
|
|
255
|
+
fill-opacity: 0.9;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.agents-window-graphic .awg-project-purple {
|
|
259
|
+
fill: var(--vscode-charts-purple);
|
|
260
|
+
fill-opacity: 0.9;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.agents-window-graphic .awg-project-orange {
|
|
264
|
+
fill: var(--vscode-agentsWindowGraphic-orange);
|
|
265
|
+
fill-opacity: 0.9;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.agents-window-graphic .awg-avatar {
|
|
269
|
+
fill: var(--vscode-charts-blue);
|
|
270
|
+
fill-opacity: 0.85;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.agents-window-graphic .awg-diff-added {
|
|
274
|
+
fill: var(--vscode-charts-green);
|
|
275
|
+
fill-opacity: 0.9;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.agents-window-graphic .awg-diff-removed {
|
|
279
|
+
fill: var(--vscode-charts-red);
|
|
280
|
+
fill-opacity: 0.9;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
.agents-window-graphic .awg-arrow {
|
|
284
|
+
fill: none;
|
|
285
|
+
stroke: var(--vscode-foreground);
|
|
286
|
+
stroke-opacity: 0.4;
|
|
287
|
+
stroke-width: 1.5;
|
|
288
|
+
stroke-linecap: round;
|
|
289
|
+
stroke-linejoin: round;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
/* Agent states */
|
|
293
|
+
|
|
294
|
+
.agents-window-graphic :is(.awg-spinner-track, .awg-spinner-arc, .awg-done) {
|
|
295
|
+
fill: none;
|
|
296
|
+
stroke-width: 1.5;
|
|
297
|
+
stroke-linecap: round;
|
|
298
|
+
stroke-linejoin: round;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
.agents-window-graphic :is(.awg-spinner-track, .awg-spinner-arc) {
|
|
302
|
+
stroke: var(--vscode-charts-blue);
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.agents-window-graphic .awg-spinner-track {
|
|
306
|
+
stroke-opacity: 0.25;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
.agents-window-graphic .awg-done {
|
|
310
|
+
stroke: var(--vscode-charts-green);
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
.agents-window-graphic .awg-waiting {
|
|
314
|
+
fill: var(--vscode-charts-yellow);
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
.agents-window-graphic .awg-waiting-halo {
|
|
318
|
+
fill: var(--vscode-charts-yellow);
|
|
319
|
+
fill-opacity: 0.25;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
.agents-window-graphic .awg-spinner {
|
|
323
|
+
transform-box: fill-box;
|
|
324
|
+
transform-origin: center;
|
|
325
|
+
animation: agents-window-graphic-spin 2s linear infinite;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
@keyframes agents-window-graphic-spin {
|
|
329
|
+
to {
|
|
330
|
+
transform: rotate(360deg);
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
@media (prefers-reduced-motion: reduce) {
|
|
335
|
+
.agents-window-graphic .awg-spinner {
|
|
336
|
+
animation: none;
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
.monaco-reduce-motion .agents-window-graphic .awg-spinner {
|
|
341
|
+
animation: none;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
/* High contrast: outline the structure and keep low-opacity content visible. */
|
|
345
|
+
|
|
346
|
+
:is(.hc-black, .hc-light) .agents-window-graphic :is(.awg-window-frame, .awg-command-center, .awg-input, .awg-surface-subtle) {
|
|
347
|
+
fill: none;
|
|
348
|
+
stroke: var(--vscode-contrastBorder);
|
|
349
|
+
stroke-opacity: 1;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
:is(.hc-black, .hc-light) .agents-window-graphic .awg-row-selected {
|
|
353
|
+
fill: none;
|
|
354
|
+
stroke: var(--vscode-contrastActiveBorder);
|
|
355
|
+
stroke-opacity: 1;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
:is(.hc-black, .hc-light) .agents-window-graphic .awg-surface-faint {
|
|
359
|
+
fill: none;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
:is(.hc-black, .hc-light) .agents-window-graphic .awg-divider {
|
|
363
|
+
fill: var(--vscode-contrastBorder);
|
|
364
|
+
fill-opacity: 1;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
:is(.hc-black, .hc-light) .agents-window-graphic .awg-button {
|
|
368
|
+
stroke: var(--vscode-contrastBorder);
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
:is(.hc-black, .hc-light) .agents-window-graphic .awg-window-shadow {
|
|
372
|
+
filter: none;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
:is(.hc-black, .hc-light) .agents-window-graphic .awg-ink-faint {
|
|
376
|
+
fill-opacity: 0.55;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
:is(.hc-black, .hc-light) .agents-window-graphic .awg-ink-subtle {
|
|
380
|
+
fill-opacity: 0.65;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
:is(.hc-black, .hc-light) .agents-window-graphic .awg-ink-medium {
|
|
384
|
+
fill-opacity: 0.75;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
:is(.hc-black, .hc-light) .agents-window-graphic :is(.awg-ink-strong, .awg-ink-full) {
|
|
388
|
+
fill-opacity: 1;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
:is(.hc-black, .hc-light) .agents-window-graphic :is(.awg-icon, .awg-icon-active, .awg-arrow) {
|
|
392
|
+
stroke-opacity: 1;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
:is(.hc-black, .hc-light) .agents-window-graphic :is(.awg-syntax-blue, .awg-syntax-yellow, .awg-syntax-orange, .awg-project-blue, .awg-project-purple, .awg-project-orange, .awg-avatar, .awg-diff-added, .awg-diff-removed, .awg-button-label) {
|
|
396
|
+
fill-opacity: 1;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
:is(.hc-black, .hc-light) .agents-window-graphic .awg-spinner-track {
|
|
400
|
+
stroke-opacity: 0.5;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
:is(.hc-black, .hc-light) .agents-window-graphic .awg-waiting-halo {
|
|
404
|
+
fill-opacity: 0.4;
|
|
405
|
+
}
|
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(26564, "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(26565, "Opens a Walkthrough to help you get started in VS Code."))
|
|
53
53
|
}
|
|
54
54
|
});
|
|
55
55
|
}
|
|
@@ -114,15 +114,15 @@ registerAction2(class extends Action2 {
|
|
|
114
114
|
});
|
|
115
115
|
( Registry.as(EditorExtensions.EditorFactory)).registerEditorSerializer(GettingStartedInput.ID, GettingStartedInputSerializer);
|
|
116
116
|
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(
|
|
117
|
-
EditorPaneDescriptor.create(GettingStartedPage, GettingStartedPage.ID, ( localize(
|
|
117
|
+
EditorPaneDescriptor.create(GettingStartedPage, GettingStartedPage.ID, ( localize(26566, "Welcome"))),
|
|
118
118
|
[( new SyncDescriptor(GettingStartedInput))]
|
|
119
119
|
);
|
|
120
|
-
const category = ( localize2(
|
|
120
|
+
const category = ( localize2(26566, "Welcome"));
|
|
121
121
|
registerAction2(class extends Action2 {
|
|
122
122
|
constructor() {
|
|
123
123
|
super({
|
|
124
124
|
id: "welcome.goBack",
|
|
125
|
-
title: ( localize2(
|
|
125
|
+
title: ( localize2(26567, "Go Back")),
|
|
126
126
|
category,
|
|
127
127
|
keybinding: {
|
|
128
128
|
weight: KeybindingWeight.EditorContrib,
|
|
@@ -157,7 +157,7 @@ registerAction2(class extends Action2 {
|
|
|
157
157
|
constructor() {
|
|
158
158
|
super({
|
|
159
159
|
id: "welcome.markStepComplete",
|
|
160
|
-
title: ( localize(
|
|
160
|
+
title: ( localize(26568, "Mark Step Complete")),
|
|
161
161
|
category
|
|
162
162
|
});
|
|
163
163
|
}
|
|
@@ -173,7 +173,7 @@ registerAction2(class extends Action2 {
|
|
|
173
173
|
constructor() {
|
|
174
174
|
super({
|
|
175
175
|
id: "welcome.markStepIncomplete",
|
|
176
|
-
title: ( localize(
|
|
176
|
+
title: ( localize(26569, "Mark Step Incomplete")),
|
|
177
177
|
category
|
|
178
178
|
});
|
|
179
179
|
}
|
|
@@ -189,7 +189,7 @@ registerAction2(class extends Action2 {
|
|
|
189
189
|
constructor() {
|
|
190
190
|
super({
|
|
191
191
|
id: "welcome.showAllWalkthroughs",
|
|
192
|
-
title: ( localize2(
|
|
192
|
+
title: ( localize2(26570, "Open Walkthrough...")),
|
|
193
193
|
category,
|
|
194
194
|
f1: true,
|
|
195
195
|
menu: {
|
|
@@ -219,7 +219,7 @@ registerAction2(class extends Action2 {
|
|
|
219
219
|
quickPick.canSelectMany = false;
|
|
220
220
|
quickPick.matchOnDescription = true;
|
|
221
221
|
quickPick.matchOnDetail = true;
|
|
222
|
-
quickPick.placeholder = ( localize(
|
|
222
|
+
quickPick.placeholder = ( localize(26571, "Select a walkthrough to open"));
|
|
223
223
|
quickPick.items = await this.getQuickPickItems(contextService, gettingStartedService);
|
|
224
224
|
quickPick.busy = true;
|
|
225
225
|
disposables.add(quickPick.onDidAccept(() => {
|
|
@@ -238,19 +238,8 @@ registerAction2(class extends Action2 {
|
|
|
238
238
|
quickPick.busy = false;
|
|
239
239
|
}
|
|
240
240
|
});
|
|
241
|
-
CommandsRegistry.registerCommand({
|
|
242
|
-
id: "welcome.newWorkspaceChat",
|
|
243
|
-
handler: (accessor, stepID) => {
|
|
244
|
-
const commandService = accessor.get(ICommandService);
|
|
245
|
-
commandService.executeCommand("workbench.action.chat.open", {
|
|
246
|
-
mode: "agent",
|
|
247
|
-
query: "#new ",
|
|
248
|
-
isPartialQuery: true
|
|
249
|
-
});
|
|
250
|
-
}
|
|
251
|
-
});
|
|
252
241
|
const WorkspacePlatform = new RawContextKey("workspacePlatform", undefined, ( localize(
|
|
253
|
-
|
|
242
|
+
26572,
|
|
254
243
|
"The platform of the current workspace, which in remote or serverless contexts may be different from the platform of the UI"
|
|
255
244
|
)));
|
|
256
245
|
let WorkspacePlatformContribution = class WorkspacePlatformContribution {
|
|
@@ -292,7 +281,7 @@ configurationRegistry.registerConfiguration({
|
|
|
292
281
|
type: "boolean",
|
|
293
282
|
default: true,
|
|
294
283
|
description: ( localize(
|
|
295
|
-
|
|
284
|
+
26573,
|
|
296
285
|
"When enabled, an extension's walkthrough will open upon install of the extension."
|
|
297
286
|
))
|
|
298
287
|
},
|
|
@@ -308,22 +297,22 @@ configurationRegistry.registerConfiguration({
|
|
|
308
297
|
"terminal",
|
|
309
298
|
"agentSessionsWelcomePage"
|
|
310
299
|
],
|
|
311
|
-
"enumDescriptions": [( localize(
|
|
312
|
-
|
|
300
|
+
"enumDescriptions": [( localize(26574, "Start without an editor.")), ( localize(
|
|
301
|
+
26575,
|
|
313
302
|
"Open the Welcome page, with content to aid in getting started with VS Code and extensions."
|
|
314
303
|
)), ( localize(
|
|
315
|
-
|
|
304
|
+
26576,
|
|
316
305
|
"Open the README when opening a folder that contains one, fallback to 'welcomePage' otherwise. Note: This is only observed as a global configuration, it will be ignored if set in a workspace or folder configuration."
|
|
317
306
|
)), ( localize(
|
|
318
|
-
|
|
307
|
+
26577,
|
|
319
308
|
"Open a new untitled text file (only applies when opening an empty window)."
|
|
320
|
-
)), ( localize(
|
|
321
|
-
|
|
309
|
+
)), ( localize(26578, "Open the Welcome page when opening an empty workbench.")), ( localize(26579, "Open a new terminal in the editor area.")), ( localize(
|
|
310
|
+
26580,
|
|
322
311
|
"Open the Agent Sessions Welcome page. Will override the workbench secondary side bar visibility settings."
|
|
323
312
|
))],
|
|
324
313
|
"default": "welcomePage",
|
|
325
314
|
"description": ( localize(
|
|
326
|
-
|
|
315
|
+
26581,
|
|
327
316
|
"Controls which editor is shown at startup, if none are restored from the previous session."
|
|
328
317
|
)),
|
|
329
318
|
"experiment": {
|
|
@@ -338,8 +327,8 @@ configurationRegistry.registerConfiguration({
|
|
|
338
327
|
scope: ConfigurationScope.APPLICATION,
|
|
339
328
|
type: "boolean",
|
|
340
329
|
default: false,
|
|
341
|
-
deprecationMessage: ( localize(
|
|
342
|
-
description: ( localize(
|
|
330
|
+
deprecationMessage: ( localize(26582, "Deprecated, use the global `workbench.reduceMotion`.")),
|
|
331
|
+
description: ( localize(26583, "When enabled, reduce motion in welcome page."))
|
|
343
332
|
},
|
|
344
333
|
"workbench.welcomePage.experimentalOnboarding": {
|
|
345
334
|
scope: ConfigurationScope.APPLICATION,
|
|
@@ -347,7 +336,7 @@ configurationRegistry.registerConfiguration({
|
|
|
347
336
|
default: true,
|
|
348
337
|
tags: ["experimental"],
|
|
349
338
|
description: ( localize(
|
|
350
|
-
|
|
339
|
+
26584,
|
|
351
340
|
"When enabled, show the new onboarding experience instead of the classic walkthrough on first launch."
|
|
352
341
|
)),
|
|
353
342
|
experiment: {
|
|
@@ -98,6 +98,8 @@ export declare class GettingStartedPage extends EditorPane {
|
|
|
98
98
|
private layoutMarkdown;
|
|
99
99
|
private detailsRenderer;
|
|
100
100
|
private readonly categoriesSlideDisposables;
|
|
101
|
+
private readonly categoriesSlideShown;
|
|
102
|
+
private layoutAgentsWindowGraphic;
|
|
101
103
|
private showFeaturedWalkthrough;
|
|
102
104
|
get editorInput(): GettingStartedInput | undefined;
|
|
103
105
|
constructor(group: IEditorGroup, commandService: ICommandService, productService: IProductService, keybindingService: IKeybindingService, gettingStartedService: IWalkthroughsService, configurationService: IConfigurationService, telemetryService: ITelemetryService, languageService: ILanguageService, fileService: IFileService, openerService: IOpenerService, themeService: IWorkbenchThemeService, storageService: IStorageService, extensionService: IExtensionService, instantiationService: IInstantiationService, notificationService: INotificationService, groupsService: IEditorGroupsService, contextService: IContextKeyService, quickInputService: IQuickInputService, workspacesService: IWorkspacesService, labelService: ILabelService, hostService: IHostService, webviewService: IWebviewService, workspaceContextService: IWorkspaceContextService, accessibilityService: IAccessibilityService, markdownRendererService: IMarkdownRendererService, chatEntitlementService: IChatEntitlementService, defaultAccountService: IDefaultAccountService);
|
|
@@ -130,6 +132,12 @@ export declare class GettingStartedPage extends EditorPane {
|
|
|
130
132
|
private buildStartList;
|
|
131
133
|
private buildGettingStartedWalkthroughsList;
|
|
132
134
|
layout(size: Dimension): void;
|
|
135
|
+
/**
|
|
136
|
+
* Shows the Agents window graphic above the Agents window button only if the page then fits without
|
|
137
|
+
* scrolling. With room to spare, the graphic and button are set apart from the startup checkbox.
|
|
138
|
+
* Otherwise tighter spacing makes room for the graphic, and if that isn't enough only the button is shown.
|
|
139
|
+
*/
|
|
140
|
+
private fitAgentsWindowGraphic;
|
|
133
141
|
private updateCategoryProgress;
|
|
134
142
|
private scrollToCategory;
|
|
135
143
|
private iconWidgetFor;
|