Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename "Studio" to "DVC Studio" in text instances #5142

Merged
merged 3 commits into from
Dec 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. |
Expand All @@ -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
Expand Down
Binary file modified extension/resources/walkthrough/images/setup-view.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions extension/resources/walkthrough/more-resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
- Check out the [DVC GitHub repository], where you can find and report issues,
or [contribute] to the open-source project.

- Get introduced to [Studio], the collaboration platform for Machine Learning
teams.
- Get introduced to [DVC Studio], the collaboration platform for Machine
Learning teams.

[hands-on tour]: https://dvc.org/doc/start
[user guide]: https://dvc.org/doc/user-guide
Expand All @@ -34,4 +34,4 @@
[blog]: https://dvc.org/blog
[community]: https://dvc.org/community
[dvc github repository]: https://github.com/iterative/dvc
[studio]: https://studio.iterative.ai/
[dvc studio]: https://studio.iterative.ai/
4 changes: 2 additions & 2 deletions extension/resources/walkthrough/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
The extension's key features cannot be accessed until DVC is installed and a DVC
project is available in the workspace. The
[setup page](command:dvc.showDvcSetup) can assist you with setting up your DVC
project, along with configuring additional features such as connecting to Studio
and remotes.
project, along with configuring additional features such as connecting to DVC
Studio and remotes.

<p align="center">
<img src="images/setup-view.png"
Expand Down
2 changes: 1 addition & 1 deletion extension/src/experiments/commands/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down
2 changes: 1 addition & 1 deletion extension/src/test/suite/experiments/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion webview/src/experiments/components/App.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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')
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const CopyStudioLink: React.FC<{ id: string }> = ({ id }) => {

return (
<CellHintTooltip
tooltipContent={'Experiment on remote\nClick to copy Studio link'}
tooltipContent={'Experiment on remote\nClick to copy DVC Studio link'}
>
<div
className={styles.upload}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ const getSingleSelectMenuOptions = (
{
disabled: !studioLinkType,
id: MessageFromWebviewType.COPY_STUDIO_LINK,
label: 'Copy Studio Link',
label: 'Copy DVC Studio Link',
message: {
payload: { id, type: studioLinkType },
type: MessageFromWebviewType.COPY_STUDIO_LINK
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export const SectionDescriptionMainText = {
[SetupSection.STUDIO]: (
<>
{"Configure the extension's connection to "}
<a href={DEFAULT_STUDIO_URL}>Studio</a>.<br />
<a href={DEFAULT_STUDIO_URL}>DVC Studio</a>.<br />
Studio provides a collaboration platform for Machine Learning and is free
for small teams and individual contributors.
</>
Expand Down
Loading