From 59e242eb1b220b6bc8073fe2093e15bbdc6a9654 Mon Sep 17 00:00:00 2001 From: julieg18 Date: Thu, 21 Dec 2023 11:39:45 -0600 Subject: [PATCH 1/2] Replace "Studio" to "DVC Studio" in text instances --- extension/src/experiments/commands/index.ts | 2 +- extension/src/test/suite/experiments/index.test.ts | 2 +- webview/src/experiments/components/App.test.tsx | 2 +- .../src/experiments/components/table/body/CopyStudioLink.tsx | 2 +- .../src/experiments/components/table/body/RowContextMenu.tsx | 2 +- .../shared/components/sectionContainer/SectionDescription.tsx | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/extension/src/experiments/commands/index.ts b/extension/src/experiments/commands/index.ts index 35ae3e6c5e..9f7291fb6b 100644 --- a/extension/src/experiments/commands/index.ts +++ b/extension/src/experiments/commands/index.ts @@ -68,7 +68,7 @@ const convertUrlTextToLink = (stdout: string) => { if (!(match?.[0] && match?.[1])) { return stdout } - return stdout.replace(match[0], ` in [Studio](${match[1]})`) + return stdout.replace(match[0], ` in [DVC Studio](${match[1]})`) } export const getPushExperimentCommand = diff --git a/extension/src/test/suite/experiments/index.test.ts b/extension/src/test/suite/experiments/index.test.ts index 4c6576fa55..0cd55c7676 100644 --- a/extension/src/test/suite/experiments/index.test.ts +++ b/extension/src/test/suite/experiments/index.test.ts @@ -812,7 +812,7 @@ suite('Experiments Test Suite', () => { expect(mockReport).to.be.calledWithExactly({ increment: 75, message: - "Experiment major-lamb is up to date on Git remote 'origin'.\nView your experiments in [Studio](https://studio.iterative.ai/user/mattseddon/projects/vscode-dvc-demo-ynm6t3jxdx)" + "Experiment major-lamb is up to date on Git remote 'origin'.\nView your experiments in [DVC Studio](https://studio.iterative.ai/user/mattseddon/projects/vscode-dvc-demo-ynm6t3jxdx)" }) messageSpy.restore() diff --git a/webview/src/experiments/components/App.test.tsx b/webview/src/experiments/components/App.test.tsx index fd4d535090..881a5c9e35 100644 --- a/webview/src/experiments/components/App.test.tsx +++ b/webview/src/experiments/components/App.test.tsx @@ -1664,7 +1664,7 @@ describe('App', () => { const copyLinkOption = menuitems.find( item => - item.textContent?.includes('Copy Studio Link') && + item.textContent?.includes('Copy DVC Studio Link') && !item.className.includes('disabled') ) diff --git a/webview/src/experiments/components/table/body/CopyStudioLink.tsx b/webview/src/experiments/components/table/body/CopyStudioLink.tsx index a2196d5c05..f4a2ed3c4e 100644 --- a/webview/src/experiments/components/table/body/CopyStudioLink.tsx +++ b/webview/src/experiments/components/table/body/CopyStudioLink.tsx @@ -27,7 +27,7 @@ export const CopyStudioLink: React.FC<{ id: string }> = ({ id }) => { return (
{"Configure the extension's connection to "} - Studio.
+ DVC Studio.
Studio provides a collaboration platform for Machine Learning and is free for small teams and individual contributors. From e691e9a727f4350a559fb6632dae51217921ce57 Mon Sep 17 00:00:00 2001 From: julieg18 Date: Thu, 21 Dec 2023 12:28:26 -0600 Subject: [PATCH 2/2] Update readme and walkthrough --- README.md | 9 +++++---- .../walkthrough/images/setup-view.png | Bin 66415 -> 81824 bytes .../resources/walkthrough/more-resources.md | 6 +++--- extension/resources/walkthrough/setup.md | 4 ++-- 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 9099a33b92..94c042981d 100644 --- a/README.md +++ b/README.md @@ -152,7 +152,7 @@ These are the VS Code [settings] available for the Extension: | `dvc.focusedProjects` | A subset of paths to the workspace's available DVC projects. Using this option will override project auto-discovery. | | `dvc.doNotInformMaxExperimentsPlotted` | Do not inform when plotting more experiments is blocked (maximum number selected). | | `dvc.doNotShowSetupAfterInstall` | Do not prompt to show the setup page after installing. Useful for pre-configured development environments. | -| `dvc.doNotRecommendAddStudioToken` | Do not prompt to add a [studio.token] to the global DVC config, which enables automatic sharing of experiments to [Studio]. | +| `dvc.doNotRecommendAddStudioToken` | Do not prompt to add a [studio.token] to the global DVC config, which enables automatic sharing of experiments to [DVC Studio]. | | `dvc.doNotRecommendRedHatExtension` | Do not prompt to install the Red Hat YAML extension, which helps with DVC YAML schema validation (`dvc.yaml` and `.dvc` files). | | `dvc.doNotRecommendMermaidSupportExtension` | Do not prompt to install the Markdown Preview Mermaid Support extension, which helps to visualize DVC pipeline DAGs. | | `dvc.doNotShowCliUnavailable` | Do not warn when the workspace contains a DVC project but the DVC binary is unavailable. | @@ -167,17 +167,18 @@ the Python extension's selected interpreter will be used to locate DVC. The `PYTHONPATH` environment variable identified via the [python.envFile] config setting is also respected. -### Studio +### DVC Studio [Studio] is a collaboration platform for Machine Learning teams. The extension will help you to connect to [Studio] by providing guidance and managing the -required [DVC config options]. See the Studio section of the Setup page for more -information. +required [DVC config options]. See the DVC Studio section of the Setup page for +more information. [python extension]: https://marketplace.visualstudio.com/items?itemName=ms-python.python [studio.token]: https://dvc.org/doc/user-guide/project-structure/configuration#studio +[dvc studio]: https://studio.iterative.ai [studio]: https://studio.iterative.ai [workspace level]: https://code.visualstudio.com/docs/getstarted/settings#_workspace-settings diff --git a/extension/resources/walkthrough/images/setup-view.png b/extension/resources/walkthrough/images/setup-view.png index d2da1b5dc2245c1fd552f5a7c48921fe196dd895..f56313c659dbb8e15e4ebdd16aacf4c4baedc5d0 100644 GIT binary patch literal 81824 zcmbTbWmH^E&_6gpAOwO>aQDI8Ex60z5+Jy{1$TzQ-66=}?izH0hXBDX5L|`1f0|2Q1eu$_@FEyU(Kl}jz z#8h=#M1$DJ(3kr>7?)BV%G>Lg(D*<>ke}!ND6aEIWse3Z*TA6;bCQEB`PWkgTd6*)yvAt6ciK;4Gk?UER2kdw6(P* zBqaFw_~hi|K7RbDs;cVj?99c*Ra{)GqM|}YMa9m}Zf0i2&CQ*cmzR~5B`z*bPfuT1 zSZHHola!Q{mX?-~kPsUi>+kPhP*5;FKAw}4BNI1q3s#_{qK=M^X5^6^85t4(RFjdB zAsss|9X%ou)TXAU1`<>h^(bjx z%gRqh52B={Z*6U*;}8L{a)bC~ySuyD6fEFyxS&mnphE_;h#H@1IEaaLaBz^Ck&RQs znaA%NyQ2O3&@QPcIIGMD0n3EGzCIq84t{f}xPK$F7?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