Skip to content

Commit e759950

Browse files
committed
Update diff
1 parent a502c9c commit e759950

File tree

2 files changed

+52
-19
lines changed

2 files changed

+52
-19
lines changed

patches/getting-started.diff

+52-19
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,15 @@ Index: code-server/lib/vscode/src/vs/workbench/contrib/welcomeGettingStarted/bro
1010
===================================================================
1111
--- code-server.orig/lib/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.ts
1212
+++ 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
1422
import { StandardKeyboardEvent } from 'vs/base/browser/keyboardEvent';
1523
import { KeyCode } from 'vs/base/common/keyCodes';
1624
import { getTelemetryLevel } from 'vs/platform/telemetry/common/telemetryUtils';
@@ -19,7 +27,7 @@ Index: code-server/lib/vscode/src/vs/workbench/contrib/welcomeGettingStarted/bro
1927
import { OpenFolderViaWorkspaceAction } from 'vs/workbench/browser/actions/workspaceActions';
2028
import { OpenRecentAction } from 'vs/workbench/browser/actions/windowActions';
2129
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
2331
$('p.subtitle.description', {}, localize({ key: 'gettingStarted.editingEvolved', comment: ['Shown as subtitle on the Welcome page.'] }, "Editing evolved"))
2432
);
2533

@@ -33,26 +41,50 @@ Index: code-server/lib/vscode/src/vs/workbench/contrib/welcomeGettingStarted/bro
3341
+ href: 'https://cdr.co/code-server-to-coder',
3442
+ target: '_blank',
3543
+ },
36-
+ $('button.standout', {
44+
+ $('button', {
3745
+ style: [
3846
+ 'padding: 10px 16px ',
3947
+ 'border-radius: 4px',
4048
+ 'background: linear-gradient(94.04deg, #7934DA 0%, #4D52E0 101.2%)',
4149
+ 'color: white',
50+
+ 'overflow: hidden',
51+
+ 'margin-right: 14px',
4252
+ ].join(';'),
4353
+ },
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+
+ }),
5688
+ ),
5789
+ ),
5890
+ );
@@ -61,19 +93,20 @@ Index: code-server/lib/vscode/src/vs/workbench/contrib/welcomeGettingStarted/bro
6193

6294
const leftColumn = $('.categories-column.categories-column-left', {},);
6395
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
6597
const layoutLists = () => {
6698
if (gettingStartedList.itemCount) {
6799
this.container.classList.remove('noWalkthroughs');
68100
- 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);
71104
recentList.setLimit(5);
72105
}
73106
else {
74107
this.container.classList.add('noWalkthroughs');
75108
- reset(leftColumn, startList.getDomElement());
76-
+ reset(leftColumn, gettingStartedCoder, startList.getDomElement());
109+
+ reset(leftColumn, startList.getDomElement(), gettingStartedCoder);
77110
reset(rightColumn, recentList.getDomElement());
78111
recentList.setLimit(10);
79112
}

src/browser/media/templates.png

45.7 KB
Loading

0 commit comments

Comments
 (0)