From 7258674c9f8d2e5f5daf831fbc66cd9b3d667364 Mon Sep 17 00:00:00 2001 From: Julie G <43496356+julieg18@users.noreply.github.com> Date: Wed, 20 Dec 2023 10:35:35 -0600 Subject: [PATCH] Update "Studio" to "DVC Studio" in titles (#5131) --- extension/package.json | 2 +- webview/src/setup/components/App.test.tsx | 6 +++--- webview/src/setup/components/App.tsx | 2 +- webview/src/setup/components/studio/Connect.tsx | 2 +- webview/src/setup/components/studio/Settings.tsx | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/extension/package.json b/extension/package.json index 67b41164d0..38549df178 100644 --- a/extension/package.json +++ b/extension/package.json @@ -1509,7 +1509,7 @@ }, { "id": "dvc.views.studio", - "name": "Studio", + "name": "DVC Studio", "when": "dvc.commands.available && dvc.project.available" }, { diff --git a/webview/src/setup/components/App.test.tsx b/webview/src/setup/components/App.test.tsx index c21777ab89..cd2ab8855f 100644 --- a/webview/src/setup/components/App.test.tsx +++ b/webview/src/setup/components/App.test.tsx @@ -820,7 +820,7 @@ describe('App', () => { const experiments = screen.getByText('Experiments') expect(experiments).toBeInTheDocument() expect(screen.queryByText(experimentsText)).not.toBeInTheDocument() - const studio = screen.getByText('Studio') + const studio = screen.getByText('DVC Studio') expect(studio).toBeInTheDocument() expect(screen.queryByText(studioButtonText)).not.toBeInTheDocument() }) @@ -836,7 +836,7 @@ describe('App', () => { } }) mockPostMessage.mockClear() - const studio = screen.getByText('Studio') + const studio = screen.getByText('DVC Studio') expect(studio).toBeInTheDocument() expect(screen.queryByText(studioButtonText)).not.toBeInTheDocument() const dvc = screen.getByText('DVC') @@ -858,7 +858,7 @@ describe('App', () => { } }) mockPostMessage.mockClear() - const studio = screen.getByText('Studio') + const studio = screen.getByText('DVC Studio') expect(studio).toBeInTheDocument() expect(screen.getByText(studioButtonText)).toBeInTheDocument() const dvc = screen.getByText('DVC') diff --git a/webview/src/setup/components/App.tsx b/webview/src/setup/components/App.tsx index fe3e0c99e8..6df301ecba 100644 --- a/webview/src/setup/components/App.tsx +++ b/webview/src/setup/components/App.tsx @@ -206,7 +206,7 @@ export const App: React.FC = () => { = ({ children }) => {

- Connect to Studio + Connect to DVC Studio

{children}

diff --git a/webview/src/setup/components/studio/Settings.tsx b/webview/src/setup/components/studio/Settings.tsx index 5392f27df9..71ef1cebce 100644 --- a/webview/src/setup/components/studio/Settings.tsx +++ b/webview/src/setup/components/studio/Settings.tsx @@ -19,7 +19,7 @@ export const Settings: React.FC< return (

-

Studio Settings

+

DVC Studio Settings

{children}