@@ -10,7 +10,15 @@ Index: code-server/lib/vscode/src/vs/workbench/contrib/welcomeGettingStarted/bro
10
10
===================================================================
11
11
--- code-server.orig/lib/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.ts
12
12
+++ code-server/lib/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.ts
13
- @@ -62,7 +62,7 @@ import { GettingStartedIndexList } from
13
+ @@ -20,6 +20,7 @@ import { IKeybindingService } from 'vs/p
14
+ import { firstSessionDateStorageKey, ITelemetryService, TelemetryLevel } from 'vs/platform/telemetry/common/telemetry';
15
+ import { DomScrollableElement } from 'vs/base/browser/ui/scrollbar/scrollableElement';
16
+ import { gettingStartedCheckedCodicon, gettingStartedUncheckedCodicon } from 'vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedIcons';
17
+ + import { Codicon } from 'vs/base/common/codicons';
18
+ import { IOpenerService, matchesScheme } from 'vs/platform/opener/common/opener';
19
+ import { URI } from 'vs/base/common/uri';
20
+ import { EditorPane } from 'vs/workbench/browser/parts/editor/editorPane';
21
+ @@ -62,7 +63,7 @@ import { GettingStartedIndexList } from
14
22
import { StandardKeyboardEvent } from 'vs/base/browser/keyboardEvent';
15
23
import { KeyCode } from 'vs/base/common/keyCodes';
16
24
import { getTelemetryLevel } from 'vs/platform/telemetry/common/telemetryUtils';
@@ -19,7 +27,7 @@ Index: code-server/lib/vscode/src/vs/workbench/contrib/welcomeGettingStarted/bro
19
27
import { OpenFolderViaWorkspaceAction } from 'vs/workbench/browser/actions/workspaceActions';
20
28
import { OpenRecentAction } from 'vs/workbench/browser/actions/windowActions';
21
29
import { Toggle } from 'vs/base/browser/ui/toggle/toggle';
22
- @@ -758,6 +758,41 @@ export class GettingStartedPage extends
30
+ @@ -758,6 +759,65 @@ export class GettingStartedPage extends
23
31
$('p.subtitle.description', {}, localize({ key: 'gettingStarted.editingEvolved', comment: ['Shown as subtitle on the Welcome page.'] }, "Editing evolved"))
24
32
);
25
33
@@ -33,26 +41,50 @@ Index: code-server/lib/vscode/src/vs/workbench/contrib/welcomeGettingStarted/bro
33
41
+ href: 'https://cdr.co/code-server-to-coder',
34
42
+ target: '_blank',
35
43
+ },
36
- + $('button.standout ', {
44
+ + $('button', {
37
45
+ style: [
38
46
+ 'padding: 10px 16px ',
39
47
+ 'border-radius: 4px',
40
48
+ 'background: linear-gradient(94.04deg, #7934DA 0%, #4D52E0 101.2%)',
41
49
+ 'color: white',
50
+ + 'overflow: hidden',
51
+ + 'margin-right: 14px',
42
52
+ ].join(';'),
43
53
+ },
44
- + $('h3', {
45
- + style: [
46
- + 'margin: 0px 0px 6px',
47
- + 'font-weight: 500',
48
- + ].join(';'),
49
- + }, 'Deploy For Your Team'),
50
- + $('p', {
51
- + style: [
52
- + 'margin: 0',
53
- + 'font-size: 13px',
54
- + ].join(';'),
55
- + }, 'Provision remote development environments on your infrastructure with Coder.')
54
+ + $('h3', {
55
+ + style: [
56
+ + 'margin: 0px 0px 6px',
57
+ + 'font-weight: 500',
58
+ + ].join(';'),
59
+ + }, 'Deploy code-server for your team'),
60
+ + $('p', {
61
+ + style: [
62
+ + 'margin: 0',
63
+ + 'font-size: 13px',
64
+ + 'color: #B3BFD7',
65
+ + ].join(';'),
66
+ + }, 'Provision remote development environments on your infrastructure with Coder.'),
67
+ + $('p', {
68
+ + style: [
69
+ + 'margin: 0',
70
+ + 'margin-top: 8px',
71
+ + 'font-size: 13px',
72
+ + 'display: flex',
73
+ + 'align-items: center',
74
+ + ].join(';'),
75
+ + }, 'Get started ', $('span', {
76
+ + class: Codicon.arrowRight.classNames,
77
+ + style: [
78
+ + 'color: white',
79
+ + 'margin-left: 8px',
80
+ + ].join(';'),
81
+ + })),
82
+ + $('img', {
83
+ + src: './_static/src/browser/media/templates.png',
84
+ + style: [
85
+ + 'margin-bottom: -65px',
86
+ + ].join(';'),
87
+ + }),
56
88
+ ),
57
89
+ ),
58
90
+ );
@@ -61,19 +93,20 @@ Index: code-server/lib/vscode/src/vs/workbench/contrib/welcomeGettingStarted/bro
61
93
62
94
const leftColumn = $('.categories-column.categories-column-left', {},);
63
95
const rightColumn = $('.categories-column.categories-column-right', {},);
64
- @@ -775,13 +810 ,13 @@ export class GettingStartedPage extends
96
+ @@ -775,13 +835 ,13 @@ export class GettingStartedPage extends
65
97
const layoutLists = () => {
66
98
if (gettingStartedList.itemCount) {
67
99
this.container.classList.remove('noWalkthroughs');
68
100
- reset(leftColumn, startList.getDomElement(), recentList.getDomElement());
69
- + reset(leftColumn, gettingStartedCoder, startList.getDomElement(), recentList.getDomElement());
70
- reset(rightColumn, gettingStartedList.getDomElement());
101
+ - reset(rightColumn, gettingStartedList.getDomElement());
102
+ + reset(leftColumn, startList.getDomElement(), recentList.getDomElement(), gettingStartedList.getDomElement());
103
+ + reset(rightColumn, gettingStartedCoder);
71
104
recentList.setLimit(5);
72
105
}
73
106
else {
74
107
this.container.classList.add('noWalkthroughs');
75
108
- reset(leftColumn, startList.getDomElement());
76
- + reset(leftColumn, gettingStartedCoder, startList.getDomElement());
109
+ + reset(leftColumn, startList.getDomElement(), gettingStartedCoder );
77
110
reset(rightColumn, recentList.getDomElement());
78
111
recentList.setLimit(10);
79
112
}
0 commit comments