Skip to content
This repository has been archived by the owner on Apr 28, 2020. It is now read-only.

Commit

Permalink
Typo changes to storage dashboard (#344)
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudbehl authored and rawagner committed Apr 11, 2019
1 parent 796c0cf commit 6321b9f
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 44 deletions.
11 changes: 2 additions & 9 deletions src/components/StorageOverview/Details/Details.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { getName } from '../../../selectors';
export const StorageDetails = ({ LoadingComponent, cephCluster }) => (
<DashboardCard>
<DashboardCardHeader>
<DashboardCardTitle>Details</DashboardCardTitle>
<DashboardCardTitle>OCS Details</DashboardCardTitle>
</DashboardCardHeader>
<DashboardCardBody>
<DetailsBody>
Expand All @@ -30,14 +30,7 @@ export const StorageDetails = ({ LoadingComponent, cephCluster }) => (
<DetailItem
key="provider"
title="Provider"
value="Ceph"
isLoading={false}
LoadingComponent={LoadingComponent}
/>
<DetailItem
key="ocs"
title="OCS version"
value="4.1" // this will be hardcoded for the demo
value="Bare Metal"
isLoading={false}
LoadingComponent={LoadingComponent}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ exports[`<Details /> renders correctly 1`] = `
<h2
class="card-pf-title"
>
Details
OCS Details
</h2>
</div>
<div
Expand Down Expand Up @@ -38,19 +38,7 @@ exports[`<Details /> renders correctly 1`] = `
class="kubevirt-detail__item-value"
>
<span>
Ceph
</span>
</dd>
<dt
class="kubevirt-detail__item-title"
>
OCS version
</dt>
<dd
class="kubevirt-detail__item-value"
>
<span>
4.1
Bare Metal
</span>
</dd>
</dl>
Expand Down
6 changes: 3 additions & 3 deletions src/components/StorageOverview/OCSHealth/HealthBody.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
Expand Down
2 changes: 1 addition & 1 deletion src/components/StorageOverview/Utilization/Utilization.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const Utilization = ({ iopsUtilization, latencyUtilization, throughputUti
return (
<DashboardCard>
<DashboardCardHeader>
<DashboardCardTitle>OCS Perfrormance</DashboardCardTitle>
<DashboardCardTitle>Perfrormance</DashboardCardTitle>
</DashboardCardHeader>
<DashboardCardBody>
<UtilizationBody>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ exports[`<Utilization /> renders correctly 1`] = `
<h2
class="card-pf-title"
>
OCS Perfrormance
Perfrormance
</h2>
</div>
<div
Expand Down Expand Up @@ -121,7 +121,7 @@ exports[`<Utilization /> renders correctly in Loading state 1`] = `
<h2
class="card-pf-title"
>
OCS Perfrormance
Perfrormance
</h2>
</div>
<div
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ exports[`<StorageOverview /> renders correctly with Provider 1`] = `
<h2
class="card-pf-title"
>
Details
OCS Details
</h2>
</div>
<div
Expand Down Expand Up @@ -54,19 +54,7 @@ exports[`<StorageOverview /> renders correctly with Provider 1`] = `
class="kubevirt-detail__item-value"
>
<span>
Ceph
</span>
</dd>
<dt
class="kubevirt-detail__item-title"
>
OCS version
</dt>
<dd
class="kubevirt-detail__item-value"
>
<span>
4.1
Bare Metal
</span>
</dd>
</dl>
Expand Down Expand Up @@ -244,7 +232,7 @@ exports[`<StorageOverview /> renders correctly with Provider 1`] = `
<h2
class="card-pf-title"
>
OCS Perfrormance
Perfrormance
</h2>
</div>
<div
Expand Down

0 comments on commit 6321b9f

Please sign in to comment.