diff --git a/web-app/src/screens/Console/Configurations/ConfigurationPanels/ConfigurationOptions.tsx b/web-app/src/screens/Console/Configurations/ConfigurationPanels/ConfigurationOptions.tsx index 1b798ba39..06370fc05 100644 --- a/web-app/src/screens/Console/Configurations/ConfigurationPanels/ConfigurationOptions.tsx +++ b/web-app/src/screens/Console/Configurations/ConfigurationPanels/ConfigurationOptions.tsx @@ -102,7 +102,7 @@ const ConfigurationOptions = () => { return ( - } /> + } /> { const [downloadDisabled, setDownloadDisabled] = useState(true); const [localMessage, setMessage] = useState(""); - const [buttonStartText, setButtonStartText] = - useState("Start Diagnostic"); - const [title, setTitle] = useState("New Diagnostic"); + const [buttonStartText, setButtonStartText] = useState( + "Start Health Report", + ); + const [title, setTitle] = useState("Health Report"); const [diagFileContent, setDiagFileContent] = useState(""); const [subnetResponse, setSubnetResponse] = useState(""); const clusterRegistered = registeredCluster(); @@ -85,24 +86,24 @@ const HealthInfo = () => { useEffect(() => { if (serverDiagnosticStatus === DiagStatInProgress) { - setTitle("Diagnostic in progress..."); + setTitle("Health Report in progress..."); setMessage( - "Diagnostic started. Please do not refresh page during diagnosis.", + "Health Report started. Please do not refresh page during diagnosis.", ); return; } if (serverDiagnosticStatus === DiagStatSuccess) { - setTitle("Diagnostic complete"); - setMessage("Diagnostic file is ready to be downloaded."); - setButtonStartText("Start New Diagnostic"); + setTitle("Health Report complete"); + setMessage("Health Report file is ready to be downloaded."); + setButtonStartText("Start Health Report"); return; } if (serverDiagnosticStatus === DiagStatError) { setTitle("Error"); - setMessage("An error occurred while getting the Diagnostic file."); - setButtonStartText("Retry Diagnostic"); + setMessage("An error occurred while getting the Health Report file."); + setButtonStartText("Retry Health Report"); return; } }, [serverDiagnosticStatus, startDiagnostic]); @@ -117,7 +118,7 @@ const HealthInfo = () => { setDownloadDisabled(false); } if (serverDiagnosticStatus === DiagStatInProgress) { - // Disable Start Diagnotic and Disable Download buttons + // Disable Start Health Report and Disable Download buttons // if a Diagnosis is in progress. setDownloadDisabled(true); } @@ -150,7 +151,7 @@ const HealthInfo = () => { c.send("ok"); }, 10 * 1000); setMessage( - "Diagnostic started. Please do not refresh page during diagnosis.", + "Health Report started. Please do not refresh page during diagnosis.", ); dispatch(setServerDiagStat(DiagStatInProgress)); }; @@ -184,12 +185,14 @@ const HealthInfo = () => { ) { // handle close with error console.log("connection closed by server with code:", event.code); - setMessage("An error occurred while getting the Diagnostic file."); + setMessage( + "An error occurred while getting the Health Report file.", + ); dispatch(setServerDiagStat(DiagStatError)); } else { console.log("connection closed by server"); - setMessage("Diagnostic file is ready to be downloaded."); + setMessage("Health Report file is ready to be downloaded."); dispatch(setServerDiagStat(DiagStatSuccess)); } }; diff --git a/web-app/src/screens/Console/valid-routes.tsx b/web-app/src/screens/Console/valid-routes.tsx index cf20897ad..1056df8c7 100644 --- a/web-app/src/screens/Console/valid-routes.tsx +++ b/web-app/src/screens/Console/valid-routes.tsx @@ -263,12 +263,12 @@ export const validRoutes = ( { group: "Administrator", path: IAM_PAGES.SETTINGS, - name: "Settings", + name: "Configuration", id: "configurations", icon: , }, { - group: "Subscription", + group: "Subnet", path: IAM_PAGES.LICENSE, name: "License", id: "license", @@ -277,35 +277,35 @@ export const validRoutes = ( forceDisplay: true, }, { - group: "Subscription", + group: "Subnet", name: "Health", id: "diagnostics", icon: , path: IAM_PAGES.TOOLS_DIAGNOSTICS, }, { - group: "Subscription", + group: "Subnet", name: "Performance", id: "performance", icon: , path: IAM_PAGES.TOOLS_SPEEDTEST, }, { - group: "Subscription", + group: "Subnet", name: "Profile", id: "profile", icon: , path: IAM_PAGES.PROFILE, }, { - group: "Subscription", + group: "Subnet", name: "Inspect", id: "inspectObjects", path: IAM_PAGES.SUPPORT_INSPECT, icon: , }, { - group: "Subscription", + group: "Subnet", name: "Call Home", id: "callhome", icon: ,