Skip to content

Commit aac16d7

Browse files
authored
Move "new to DVC" text from setup to welcome view (#4040)
1 parent ea3e963 commit aac16d7

File tree

3 files changed

+4
-11
lines changed

3 files changed

+4
-11
lines changed

extension/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1473,7 +1473,7 @@
14731473
},
14741474
{
14751475
"view": "dvc.views.welcome",
1476-
"contents": "The extension is currently unable to initialize.\n[Show Setup](command:dvc.showDvcSetup)",
1476+
"contents": "The extension is currently unable to initialize.\n[Show Setup](command:dvc.showDvcSetup)\nNew to the extension? Watch a [demo of the extension](https://youtu.be/E26IaD7bNXg?t=1177) in action or quickly try the extension yourself with our [example project](https://github.com/iterative/example-dvc-experiments.git). Dive deeper into DVC at [dvc.org](https://dvc.org/).",
14771477
"when": "true"
14781478
},
14791479
{

webview/src/setup/components/dvc/CliUnavailable.tsx

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ export const CliUnavailable: React.FC<PropsWithChildren> = ({ children }) => {
1414
const installationSentence = (
1515
<>
1616
The extension supports all{' '}
17-
<a href="https://dvc.org/doc/install">installation types</a> and can
18-
auto-install recommended packages via{' '}
17+
<a href="https://dvc.org/doc/install">installation types</a>. It can also
18+
help to install needed packages via{' '}
1919
<a href="https://packaging.python.org/en/latest/key_projects/#pip">pip</a>
2020
.
2121
</>
@@ -46,11 +46,6 @@ export const CliUnavailable: React.FC<PropsWithChildren> = ({ children }) => {
4646
<EmptyState isFullScreen={false}>
4747
<h1>DVC is currently unavailable</h1>
4848
{children}
49-
<p>
50-
New to DVC? Check out <a href="https://dvc.org/">dvc.org</a> to learn
51-
more or quickly try the extension with our{' '}
52-
<a href="https://github.com/iterative/vscode-dvc-demo">demo</a>.
53-
</p>
5449
{conditionalContents}
5550
</EmptyState>
5651
)

webview/src/setup/components/dvc/DvcUnitialized.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ export const DvcUninitialized: React.FC<PropsWithChildren> = ({ children }) => (
99
{children}
1010
<p>
1111
The current workspace does not contain a DVC project, which is needed to
12-
enable DVC-powered features. Interested in trying a demo project? Check
13-
out our{' '}
14-
<a href="https://github.com/iterative/vscode-dvc-demo">extension demo</a>.
12+
enable DVC-powered features.
1513
</p>
1614
<Button onClick={initializeDvc} text="Initialize Project"></Button>
1715
</EmptyState>

0 commit comments

Comments
 (0)