Skip to content

Commit

Permalink
fix(build): ent-3654 change app display name (#609)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdcabrera committed Apr 26, 2021
1 parent 03b78ca commit 6e1d5cb
Show file tree
Hide file tree
Showing 11 changed files with 53 additions and 53 deletions.
6 changes: 3 additions & 3 deletions .env
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
REACT_APP_UI_VERSION=$npm_package_version
REACT_APP_UI_NAME=subscriptions
REACT_APP_UI_DISPLAY_NAME=Subscription Watch
REACT_APP_UI_DISPLAY_CONFIG_NAME=Subscription Watch
REACT_APP_UI_DISPLAY_START_NAME=Subscription Watch
REACT_APP_UI_DISPLAY_NAME=Subscriptions
REACT_APP_UI_DISPLAY_CONFIG_NAME=Subscriptions
REACT_APP_UI_DISPLAY_START_NAME=Subscriptions
REACT_APP_UI_DEPLOY_PATH_PREFIX=${UI_DEPLOY_PATH_PREFIX}
PUBLIC_URL=${UI_DEPLOY_PATH_PREFIX}/apps/subscriptions/

Expand Down
18 changes: 9 additions & 9 deletions src/common/__tests__/__snapshots__/helpers.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ Object {
"UI_DISABLED_TABLE_HOSTS": false,
"UI_DISABLED_TABLE_SUBSCRIPTIONS": false,
"UI_DISABLED_TOOLBAR": false,
"UI_DISPLAY_CONFIG_NAME": "Subscription Watch",
"UI_DISPLAY_NAME": "Subscription Watch",
"UI_DISPLAY_START_NAME": "Subscription Watch",
"UI_DISPLAY_CONFIG_NAME": "Subscriptions",
"UI_DISPLAY_NAME": "Subscriptions",
"UI_DISPLAY_START_NAME": "Subscriptions",
"UI_LINK_CONTACT_US": "https://access.redhat.com/account-team",
"UI_LINK_LEARN_MORE": "https://access.redhat.com/documentation/en-us/subscription_central/2020-10/html/getting_started_with_subscription_watch/con-how-does-subscriptionwatch-show-data_assembly-opening-subscriptionwatch-ctxt/",
"UI_LINK_REPORT_ACCURACY_RECOMMENDATIONS": "https://access.redhat.com/solutions/subscription-watch-mismatch",
Expand Down Expand Up @@ -51,9 +51,9 @@ Object {
"UI_DISABLED_TABLE_HOSTS": false,
"UI_DISABLED_TABLE_SUBSCRIPTIONS": false,
"UI_DISABLED_TOOLBAR": false,
"UI_DISPLAY_CONFIG_NAME": "Subscription Watch",
"UI_DISPLAY_NAME": "Subscription Watch",
"UI_DISPLAY_START_NAME": "Subscription Watch",
"UI_DISPLAY_CONFIG_NAME": "Subscriptions",
"UI_DISPLAY_NAME": "Subscriptions",
"UI_DISPLAY_START_NAME": "Subscriptions",
"UI_LINK_CONTACT_US": "https://access.redhat.com/account-team",
"UI_LINK_LEARN_MORE": "https://access.redhat.com/documentation/en-us/subscription_central/2020-10/html/getting_started_with_subscription_watch/con-how-does-subscriptionwatch-show-data_assembly-opening-subscriptionwatch-ctxt/",
"UI_LINK_REPORT_ACCURACY_RECOMMENDATIONS": "https://access.redhat.com/solutions/subscription-watch-mismatch",
Expand Down Expand Up @@ -89,9 +89,9 @@ Object {
"UI_DISABLED_TABLE_HOSTS": false,
"UI_DISABLED_TABLE_SUBSCRIPTIONS": false,
"UI_DISABLED_TOOLBAR": false,
"UI_DISPLAY_CONFIG_NAME": "Subscription Watch",
"UI_DISPLAY_NAME": "Subscription Watch",
"UI_DISPLAY_START_NAME": "Subscription Watch",
"UI_DISPLAY_CONFIG_NAME": "Subscriptions",
"UI_DISPLAY_NAME": "Subscriptions",
"UI_DISPLAY_START_NAME": "Subscriptions",
"UI_LINK_CONTACT_US": "https://access.redhat.com/account-team",
"UI_LINK_LEARN_MORE": "https://access.redhat.com/documentation/en-us/subscription_central/2020-10/html/getting_started_with_subscription_watch/con-how-does-subscriptionwatch-show-data_assembly-opening-subscriptionwatch-ctxt/",
"UI_LINK_REPORT_ACCURACY_RECOMMENDATIONS": "https://access.redhat.com/solutions/subscription-watch-mismatch",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ exports[`Authentication Component should render a non-connected component error:
>
<PageHeaderTitle
className="pf-u-mb-sm"
title="Subscription Watch"
title="Subscriptions"
>
<Title
className="pf-u-mb-sm"
Expand All @@ -107,7 +107,7 @@ exports[`Authentication Component should render a non-connected component error:
widget-type="InsightsPageHeaderTitle"
>
Subscription Watch
Subscriptions
</h1>
</Title>
Expand Down Expand Up @@ -151,7 +151,7 @@ exports[`Authentication Component should render a non-connected component error:
description={<ContactBody />}
icon={[Function]}
prevPageButtonText="Return to previous page"
serviceName="Subscription Watch"
serviceName="Subscriptions"
showReturnButton={true}
toLandingPageText="Go to landing page"
>
Expand Down Expand Up @@ -203,7 +203,7 @@ exports[`Authentication Component should render a non-connected component error:
<h5
className="pf-c-title pf-m-lg"
>
You do not have access to Subscription Watch
You do not have access to Subscriptions
</h5>
</Title>
<EmptyStateBody>
Expand Down Expand Up @@ -277,7 +277,7 @@ exports[`Authentication Component should return a message on 401 error: 401 erro
description={<ContactBody />}
icon={[Function]}
prevPageButtonText="Return to previous page"
serviceName="Subscription Watch"
serviceName="Subscriptions"
showReturnButton={true}
toLandingPageText="Go to landing page"
/>
Expand All @@ -298,7 +298,7 @@ exports[`Authentication Component should return a redirect on a specific 403 err
description={<ContactBody />}
icon={[Function]}
prevPageButtonText="Return to previous page"
serviceName="Subscription Watch"
serviceName="Subscriptions"
showReturnButton={true}
toLandingPageText="Go to landing page"
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ exports[`MessageView Component should have fallback conditions for all props: fa
productLabel={null}
t={[Function]}
>
Subscription Watch
Subscriptions
</PageHeader>
<PageSection
className=""
Expand All @@ -27,7 +27,7 @@ exports[`MessageView Component should render a non-connected component: non-conn
productLabel={null}
t={[Function]}
>
Subscription Watch
Subscriptions
</PageHeader>
<PageSection
className=""
Expand Down Expand Up @@ -60,7 +60,7 @@ exports[`MessageView Component should render children when provided: children di
productLabel={null}
t={[Function]}
>
Subscription Watch
Subscriptions
</PageHeader>
<PageSection
className=""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ exports[`OpenshiftView Component should display an alternate graph on query-stri
productLabel="OpenShift"
t={[Function]}
>
t(curiosity-view.title, {"appName":"Subscription Watch","context":"OpenShift"})
t(curiosity-view.title, {"appName":"Subscriptions","context":"OpenShift"})
</PageHeader>
<PageMessages
className=""
Expand Down Expand Up @@ -220,7 +220,7 @@ exports[`OpenshiftView Component should have a fallback title: title 1`] = `
productLabel="OpenShift"
t={[Function]}
>
t(curiosity-view.title, {"appName":"Subscription Watch","context":"OpenShift"})
t(curiosity-view.title, {"appName":"Subscriptions","context":"OpenShift"})
</PageHeader>
<PageMessages
className=""
Expand Down Expand Up @@ -847,7 +847,7 @@ exports[`OpenshiftView Component should render a non-connected component: non-co
productLabel="OpenShift"
t={[Function]}
>
t(curiosity-view.title, {"appName":"Subscription Watch","context":"OpenShift"})
t(curiosity-view.title, {"appName":"Subscriptions","context":"OpenShift"})
</PageHeader>
<PageMessages
className=""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ exports[`OptinView Component should render a non-connected component: non-connec
headingLevel="h1"
size="2xl"
>
t(curiosity-optin.cardTitle, {"appName":"Subscription Watch"})
t(curiosity-optin.cardTitle, {"appName":"Subscriptions"})
</Title>
</CardTitle>
<CardBody
key="heading1Desc"
>
t(curiosity-optin.cardDescription, {"appName":"Subscription Watch"})
t(curiosity-optin.cardDescription, {"appName":"Subscriptions"})
</CardBody>
<CardTitle
key="heading2Title"
Expand Down Expand Up @@ -79,7 +79,7 @@ exports[`OptinView Component should render a non-connected component: non-connec
isDisabled={true}
variant="primary"
>
t(curiosity-optin.buttonIsActive, {"appName":"Subscription Watch"})
t(curiosity-optin.buttonIsActive, {"appName":"Subscriptions"})
</Button>
</ActionGroup>
</Form>
Expand Down Expand Up @@ -150,7 +150,7 @@ exports[`OptinView Component should render an API state driven view: 4XX view 1`
isDisabled={true}
variant="primary"
>
t(curiosity-optin.buttonIsActive, {"appName":"Subscription Watch"})
t(curiosity-optin.buttonIsActive, {"appName":"Subscriptions"})
</Button>
</ActionGroup>
</Form>
Expand All @@ -165,7 +165,7 @@ exports[`OptinView Component should render an API state driven view: 200 view 1`
isDisabled={true}
variant="primary"
>
t(curiosity-optin.buttonIsActive, {"appName":"Subscription Watch"})
t(curiosity-optin.buttonIsActive, {"appName":"Subscriptions"})
</Button>
</ActionGroup>
</Form>
Expand All @@ -180,7 +180,7 @@ exports[`OptinView Component should render an API state driven view: 401 view 1`
isDisabled={true}
variant="primary"
>
t(curiosity-optin.buttonIsActive, {"appName":"Subscription Watch"})
t(curiosity-optin.buttonIsActive, {"appName":"Subscriptions"})
</Button>
</ActionGroup>
</Form>
Expand All @@ -195,7 +195,7 @@ exports[`OptinView Component should render an API state driven view: 403 view 1`
onClick={[Function]}
variant="primary"
>
t(curiosity-optin.buttonActivate, {"appName":"Subscription Watch"})
t(curiosity-optin.buttonActivate, {"appName":"Subscriptions"})
</Button>
</ActionGroup>
</Form>
Expand All @@ -210,7 +210,7 @@ exports[`OptinView Component should render an API state driven view: 500 view 1`
isDisabled={true}
variant="primary"
>
t(curiosity-optin.buttonIsActive, {"appName":"Subscription Watch"})
t(curiosity-optin.buttonIsActive, {"appName":"Subscriptions"})
</Button>
</ActionGroup>
</Form>
Expand All @@ -220,7 +220,7 @@ exports[`OptinView Component should render an API state driven view: 500 view 1`
exports[`OptinView Component should render an API state driven view: error view 1`] = `
<CardFooter>
<p>
t(curiosity-optin.cardIsErrorDescription, {"appName":"Subscription Watch"}, [object Object])
t(curiosity-optin.cardIsErrorDescription, {"appName":"Subscriptions"}, [object Object])
</p>
</CardFooter>
`;
Expand All @@ -233,7 +233,7 @@ exports[`OptinView Component should render an API state driven view: fulfilled v
isDisabled={true}
variant="primary"
>
t(curiosity-optin.buttonIsActive, {"appName":"Subscription Watch"})
t(curiosity-optin.buttonIsActive, {"appName":"Subscriptions"})
</Button>
</ActionGroup>
<p>
Expand Down Expand Up @@ -262,13 +262,13 @@ exports[`OptinView Component should render an API state driven view: initial vie
headingLevel="h1"
size="2xl"
>
t(curiosity-optin.cardTitle, {"appName":"Subscription Watch"})
t(curiosity-optin.cardTitle, {"appName":"Subscriptions"})
</Title>
</CardTitle>
<CardBody
key="heading1Desc"
>
t(curiosity-optin.cardDescription, {"appName":"Subscription Watch"})
t(curiosity-optin.cardDescription, {"appName":"Subscriptions"})
</CardBody>
<CardTitle
key="heading2Title"
Expand Down Expand Up @@ -322,7 +322,7 @@ exports[`OptinView Component should render an API state driven view: initial vie
isDisabled={true}
variant="primary"
>
t(curiosity-optin.buttonIsActive, {"appName":"Subscription Watch"})
t(curiosity-optin.buttonIsActive, {"appName":"Subscriptions"})
</Button>
</ActionGroup>
</Form>
Expand Down Expand Up @@ -393,7 +393,7 @@ exports[`OptinView Component should render an API state driven view: null or und
isDisabled={true}
variant="primary"
>
t(curiosity-optin.buttonIsActive, {"appName":"Subscription Watch"})
t(curiosity-optin.buttonIsActive, {"appName":"Subscriptions"})
</Button>
</ActionGroup>
</Form>
Expand All @@ -412,7 +412,7 @@ exports[`OptinView Component should render an API state driven view: pending vie
size="sm"
/>
t(curiosity-optin.buttonActivate, {"appName":"Subscription Watch"})
t(curiosity-optin.buttonActivate, {"appName":"Subscriptions"})
</Button>
</ActionGroup>
</Form>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ exports[`PageHeader Component should render the subtitle when viewId is provided
</div>
</Flex>
<p>
t(curiosity-view.subtitle, {"appName":"Subscription Watch","context":"RHEL"}, [object Object])
t(curiosity-view.subtitle, {"appName":"Subscriptions","context":"RHEL"}, [object Object])
</p>
</section>
</PageHeader>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ exports[`ProductView Component should render a non-connected component: non-conn
productLabel="lorem ipsum product label"
t={[Function]}
>
t(curiosity-view.title, {"appName":"Subscription Watch","context":"lorem ipsum product label"})
t(curiosity-view.title, {"appName":"Subscriptions","context":"lorem ipsum product label"})
</PageHeader>
<PageMessages
className=""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ exports[`RhelView Component should display an alternate graph on query-string up
productLabel="RHEL"
t={[Function]}
>
t(curiosity-view.title, {"appName":"Subscription Watch","context":"RHEL"})
t(curiosity-view.title, {"appName":"Subscriptions","context":"RHEL"})
</PageHeader>
<PageMessages
className=""
Expand Down Expand Up @@ -203,7 +203,7 @@ exports[`RhelView Component should have a fallback title: title 1`] = `
productLabel="RHEL"
t={[Function]}
>
t(curiosity-view.title, {"appName":"Subscription Watch","context":"RHEL"})
t(curiosity-view.title, {"appName":"Subscriptions","context":"RHEL"})
</PageHeader>
<PageMessages
className=""
Expand Down Expand Up @@ -784,7 +784,7 @@ exports[`RhelView Component should render a non-connected component: non-connect
productLabel="RHEL"
t={[Function]}
>
t(curiosity-view.title, {"appName":"Subscription Watch","context":"RHEL"})
t(curiosity-view.title, {"appName":"Subscriptions","context":"RHEL"})
</PageHeader>
<PageMessages
className=""
Expand Down
Loading

0 comments on commit 6e1d5cb

Please sign in to comment.