From 7ef6fdddc6fe429df33fb0d74bfe0c311897c16e Mon Sep 17 00:00:00 2001
From: Imre Toth <imre.toth@ess.eu>
Date: Tue, 14 Jun 2022 15:07:05 +0200
Subject: [PATCH] ICSHWI-9655: Renaming title for UI

---
 Dockerfile                                             | 2 +-
 README.md                                              | 4 ++--
 src/App.js                                             | 2 +-
 src/__tests__/browse-host-test.js                      | 4 ++--
 src/components/navigation/GlobalAppBar/GlobalAppBar.js | 4 ++--
 src/views/about/AboutView.js                           | 2 +-
 6 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index bc65b333..cc7146a4 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-# build CE deployment Frontend
+# build CE deploy & monitor Frontend
 FROM node:16.14.0 as builder
 RUN mkdir /usr/src/app
 WORKDIR /usr/src/app
diff --git a/README.md b/README.md
index e9dbf4b0..a7b69b3e 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
-# CE deployment tool web UI
+# CE deploy & monitor web UI
 
-This project is meant to be the web User Interface for the CE Deployment tool. The project is written in ReactJS.
+This project is meant to be the web User Interface for the CE deploy & monitor tool. The project is written in ReactJS.
 
 ## Developing environment
 * NodeJS and npm
diff --git a/src/App.js b/src/App.js
index 6fc0d117..c9958941 100644
--- a/src/App.js
+++ b/src/App.js
@@ -33,7 +33,7 @@ import { LoginSuggester } from "./components/navigation/LoginSuggester/LoginSugg
 //setting up the application (TAB)title
 function App() {
   useEffect(() => {
-    document.title = "CE deployment" + applicationSubTitle();
+    document.title = "CE deploy & monitor" + applicationSubTitle();
   }, []);
 
   return (
diff --git a/src/__tests__/browse-host-test.js b/src/__tests__/browse-host-test.js
index 428e5bfc..7eec0563 100644
--- a/src/__tests__/browse-host-test.js
+++ b/src/__tests__/browse-host-test.js
@@ -26,11 +26,11 @@ defineFeature(feature, (test) => {
     });
 
     when('the user navigates to the hosts page', async () => {
-      await screen.findByText('CE deployment / IOC hosts');
+      await screen.findByText('CE deploy & monitor / IOC hosts');
     });
 
     then('they should be presented with a table of hosts from the iocs group in CSEntry', async () => {
-      expect(await screen.findByText('CE deployment / IOC hosts')).toBeInTheDocument()
+      expect(await screen.findByText('CE deploy & monitor / IOC hosts')).toBeInTheDocument()
       expect(await screen.findByText('Status')).toBeInTheDocument()
       expect(await screen.findByText('Host')).toBeInTheDocument()
       expect(await screen.findByText('Network')).toBeInTheDocument()
diff --git a/src/components/navigation/GlobalAppBar/GlobalAppBar.js b/src/components/navigation/GlobalAppBar/GlobalAppBar.js
index 6679a1a4..0f6ae9f7 100644
--- a/src/components/navigation/GlobalAppBar/GlobalAppBar.js
+++ b/src/components/navigation/GlobalAppBar/GlobalAppBar.js
@@ -190,7 +190,7 @@ export function ButtonAppBar({ homeUrl, homeClick, title, button }) {
   );
 }
 
-const defaultTitle = "CE deployment"
+const defaultTitle = "CE deploy & monitor"
 export const GlobalAppBarContext = createContext({
   title: defaultTitle,
   setButton: () => { console.log("default GlobalAppBarContext.setButton does nothing.") },
@@ -469,7 +469,7 @@ export function useGlobalAppBar(initTitle, initButton = defaultButton) {
   const [title, setTitle] = useState(initTitle);
   const appBar = useContext(GlobalAppBarContext);
   useEffect(() => {
-    appBar.setTitle('CE deployment ' + applicationSubTitle() + ' / ' + title );
+    appBar.setTitle('CE deploy & monitor ' + applicationSubTitle() + ' / ' + title );
     appBar.setButton(button);
   }, [appBar, title, button]);
   return { setButton, setTitle };
diff --git a/src/views/about/AboutView.js b/src/views/about/AboutView.js
index 4c549fa6..102315a1 100644
--- a/src/views/about/AboutView.js
+++ b/src/views/about/AboutView.js
@@ -25,7 +25,7 @@ export function AboutView() {
       <Paper className={classes.paper}>
 
         <Typography variant="body1">
-          This is the <Link href="https://confluence.esss.lu.se/x/CVGQFg" target="_blank" rel="noreferrer">final</Link> version of the deployment part of the CCDB ecosystem (working name CE deployment). It is a tool that manages IOCs on host machines, using Ansible to perform the necessary configuration management. This tool will set up IOC-hosts and deploy IOC(s) in a consistent manner, and will configure all necessary services towards this purpose. The tool also integrates with various other systems to enable monitoring of IOCs and hosts, and enables some limited remote execution features. Please note that this is a developmental version, and that
+          This is the <Link href="https://confluence.esss.lu.se/x/CVGQFg" target="_blank" rel="noreferrer">final</Link> version of the deployment part of the CCDB ecosystem (working name CE deploy & monitor). It is a tool that manages IOCs on host machines, using Ansible to perform the necessary configuration management. This tool will set up IOC-hosts and deploy IOC(s) in a consistent manner, and will configure all necessary services towards this purpose. The tool also integrates with various other systems to enable monitoring of IOCs and hosts, and enables some limited remote execution features. Please note that this is a developmental version, and that
           <ol>
             <li>we do not guarantee data (about deployments) to persist</li>
             <li>we offer only minimal support</li>
-- 
GitLab