From eadaca82d7127ffb112d39dde3fdc30e21168bb5 Mon Sep 17 00:00:00 2001 From: Manisha Singhal Date: Thu, 9 Jan 2025 08:28:41 +0100 Subject: [PATCH] Change text from 'Regular CV' to CV --- webpack/scenes/ContentViews/Create/CreateContentViewForm.js | 6 +++--- .../ContentViews/Create/__tests__/createContentView.test.js | 2 +- .../scenes/ContentViews/__tests__/contentViewPage.test.js | 2 +- .../scenes/ContentViews/components/ContentViewsCounter.js | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/webpack/scenes/ContentViews/Create/CreateContentViewForm.js b/webpack/scenes/ContentViews/Create/CreateContentViewForm.js index 03e602fb435..a7deb690b8a 100644 --- a/webpack/scenes/ContentViews/Create/CreateContentViewForm.js +++ b/webpack/scenes/ContentViews/Create/CreateContentViewForm.js @@ -140,11 +140,11 @@ const CreateContentViewForm = ({ setModalOpen }) => { aria-label="component_tile" icon={} id="component" - title={__('Regular content view')} + title={__('Content view')} onClick={() => { setComponent(true); setComposite(false); setRolling(false); }} isSelected={component} > - {__('Contains a set of versioned and optionally filtered repositories')} + {__('Consists of repositories. Each version is a snapshot which must be published and may optionally be filtered.')} @@ -158,7 +158,7 @@ const CreateContentViewForm = ({ setModalOpen }) => { onClick={() => { setComposite(true); setComponent(false); setRolling(false); }} isSelected={composite} > - {__('Contains a set of regular content views')} + {__('Contains a set of content views')} diff --git a/webpack/scenes/ContentViews/Create/__tests__/createContentView.test.js b/webpack/scenes/ContentViews/Create/__tests__/createContentView.test.js index 145a717643b..e8a90655b48 100644 --- a/webpack/scenes/ContentViews/Create/__tests__/createContentView.test.js +++ b/webpack/scenes/ContentViews/Create/__tests__/createContentView.test.js @@ -75,7 +75,7 @@ test('Displays dependent fields correctly', () => { expect(getByText('Name')).toBeInTheDocument(); expect(getByText('Label')).toBeInTheDocument(); expect(getByText('Composite content view')).toBeInTheDocument(); - expect(getByText('Regular content view')).toBeInTheDocument(); + expect(getByText('Content view')).toBeInTheDocument(); expect(getByText('Rolling content view')).toBeInTheDocument(); expect(getByText('Solve dependencies')).toBeInTheDocument(); expect(queryByText('Auto publish')).not.toBeInTheDocument(); diff --git a/webpack/scenes/ContentViews/__tests__/contentViewPage.test.js b/webpack/scenes/ContentViews/__tests__/contentViewPage.test.js index 133e7b9617b..99a5e38160f 100644 --- a/webpack/scenes/ContentViews/__tests__/contentViewPage.test.js +++ b/webpack/scenes/ContentViews/__tests__/contentViewPage.test.js @@ -415,7 +415,7 @@ test('Displays Create Content View and opens modal with Form', async () => { expect(getByText('Label')).toBeInTheDocument(); expect(getByText('Composite content view')).toBeInTheDocument(); expect(getByText('Rolling content view')).toBeInTheDocument(); - expect(getByText('Regular content view')).toBeInTheDocument(); + expect(getByText('Content view')).toBeInTheDocument(); expect(getByText('Solve dependencies')).toBeInTheDocument(); expect(queryByText('Auto publish')).not.toBeInTheDocument(); }); diff --git a/webpack/scenes/ContentViews/components/ContentViewsCounter.js b/webpack/scenes/ContentViews/components/ContentViewsCounter.js index cba70f8dd47..641cd78897d 100644 --- a/webpack/scenes/ContentViews/components/ContentViewsCounter.js +++ b/webpack/scenes/ContentViews/components/ContentViewsCounter.js @@ -23,7 +23,7 @@ const ContentViewsCounter = () => { } /> @@ -31,7 +31,7 @@ const ContentViewsCounter = () => { @@ -54,7 +54,7 @@ const ContentViewsCounter = () => {