From 9171f5769b18ffb114eddc871ef5252a1b98b17e Mon Sep 17 00:00:00 2001 From: Ankush Behl Date: Thu, 11 Apr 2019 04:25:40 +0530 Subject: [PATCH] Typo changes to storage dashboard --- .../StorageOverview/Details/Details.js | 11 ++--------- .../tests/__snapshots__/Details.test.js.snap | 16 ++-------------- .../StorageOverview/OCSHealth/HealthBody.js | 6 +++--- .../StorageOverview/Utilization/Utilization.js | 2 +- .../__snapshots__/Utilization.test.js.snap | 4 ++-- .../__snapshots__/StorageOverview.test.js.snap | 18 +++--------------- 6 files changed, 13 insertions(+), 44 deletions(-) diff --git a/src/components/StorageOverview/Details/Details.js b/src/components/StorageOverview/Details/Details.js index 09b59bfe6..81664fcb7 100644 --- a/src/components/StorageOverview/Details/Details.js +++ b/src/components/StorageOverview/Details/Details.js @@ -16,7 +16,7 @@ import { getName } from '../../../selectors'; export const StorageDetails = ({ LoadingComponent, cephCluster }) => ( - Details + OCS Details @@ -30,14 +30,7 @@ export const StorageDetails = ({ LoadingComponent, cephCluster }) => ( - diff --git a/src/components/StorageOverview/Details/tests/__snapshots__/Details.test.js.snap b/src/components/StorageOverview/Details/tests/__snapshots__/Details.test.js.snap index 3e27685c2..d313cccc3 100644 --- a/src/components/StorageOverview/Details/tests/__snapshots__/Details.test.js.snap +++ b/src/components/StorageOverview/Details/tests/__snapshots__/Details.test.js.snap @@ -10,7 +10,7 @@ exports[`
renders correctly 1`] = `

- Details + OCS Details

renders correctly 1`] = ` class="kubevirt-detail__item-value" > - Ceph - - -
- OCS version -
-
- - 4.1 + Bare Metal
diff --git a/src/components/StorageOverview/OCSHealth/HealthBody.js b/src/components/StorageOverview/OCSHealth/HealthBody.js index 9934074d7..f08ffee0f 100644 --- a/src/components/StorageOverview/OCSHealth/HealthBody.js +++ b/src/components/StorageOverview/OCSHealth/HealthBody.js @@ -5,17 +5,17 @@ import { get } from 'lodash'; const HealthStatus = { 0: { - message: 'OCS is Healthy', + message: 'OCS is healthy', iconname: 'check-circle', classname: 'ok', }, 1: { - message: 'OCS health is Degraded', + message: 'OCS is degraded', iconname: 'exclamation-circle', classname: 'warning', }, 2: { - message: 'OCS health is in Error State', + message: 'OCS health is in error state', iconname: 'exclamation-triangle', classname: 'error', }, diff --git a/src/components/StorageOverview/Utilization/Utilization.js b/src/components/StorageOverview/Utilization/Utilization.js index b702db118..ef3394d1a 100644 --- a/src/components/StorageOverview/Utilization/Utilization.js +++ b/src/components/StorageOverview/Utilization/Utilization.js @@ -34,7 +34,7 @@ export const Utilization = ({ iopsUtilization, latencyUtilization, throughputUti return ( - OCS Perfrormance + Perfrormance diff --git a/src/components/StorageOverview/Utilization/tests/__snapshots__/Utilization.test.js.snap b/src/components/StorageOverview/Utilization/tests/__snapshots__/Utilization.test.js.snap index dd0d948fc..4f9e649a5 100644 --- a/src/components/StorageOverview/Utilization/tests/__snapshots__/Utilization.test.js.snap +++ b/src/components/StorageOverview/Utilization/tests/__snapshots__/Utilization.test.js.snap @@ -10,7 +10,7 @@ exports[` renders correctly 1`] = `

- OCS Perfrormance + Perfrormance

renders correctly in Loading state 1`] = `

- OCS Perfrormance + Perfrormance

renders correctly with Provider 1`] = `

- Details + OCS Details

renders correctly with Provider 1`] = ` class="kubevirt-detail__item-value" > - Ceph - - -
- OCS version -
-
- - 4.1 + Bare Metal
@@ -244,7 +232,7 @@ exports[` renders correctly with Provider 1`] = `

- OCS Perfrormance + Perfrormance