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

Commit 6321b9f

Browse files
cloudbehlrawagner
authored andcommitted
Typo changes to storage dashboard (#344)
1 parent 796c0cf commit 6321b9f

File tree

6 files changed

+13
-44
lines changed

6 files changed

+13
-44
lines changed

src/components/StorageOverview/Details/Details.js

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { getName } from '../../../selectors';
1616
export const StorageDetails = ({ LoadingComponent, cephCluster }) => (
1717
<DashboardCard>
1818
<DashboardCardHeader>
19-
<DashboardCardTitle>Details</DashboardCardTitle>
19+
<DashboardCardTitle>OCS Details</DashboardCardTitle>
2020
</DashboardCardHeader>
2121
<DashboardCardBody>
2222
<DetailsBody>
@@ -30,14 +30,7 @@ export const StorageDetails = ({ LoadingComponent, cephCluster }) => (
3030
<DetailItem
3131
key="provider"
3232
title="Provider"
33-
value="Ceph"
34-
isLoading={false}
35-
LoadingComponent={LoadingComponent}
36-
/>
37-
<DetailItem
38-
key="ocs"
39-
title="OCS version"
40-
value="4.1" // this will be hardcoded for the demo
33+
value="Bare Metal"
4134
isLoading={false}
4235
LoadingComponent={LoadingComponent}
4336
/>

src/components/StorageOverview/Details/tests/__snapshots__/Details.test.js.snap

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ exports[`<Details /> renders correctly 1`] = `
1010
<h2
1111
class="card-pf-title"
1212
>
13-
Details
13+
OCS Details
1414
</h2>
1515
</div>
1616
<div
@@ -38,19 +38,7 @@ exports[`<Details /> renders correctly 1`] = `
3838
class="kubevirt-detail__item-value"
3939
>
4040
<span>
41-
Ceph
42-
</span>
43-
</dd>
44-
<dt
45-
class="kubevirt-detail__item-title"
46-
>
47-
OCS version
48-
</dt>
49-
<dd
50-
class="kubevirt-detail__item-value"
51-
>
52-
<span>
53-
4.1
41+
Bare Metal
5442
</span>
5543
</dd>
5644
</dl>

src/components/StorageOverview/OCSHealth/HealthBody.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@ import { get } from 'lodash';
55

66
const HealthStatus = {
77
0: {
8-
message: 'OCS is Healthy',
8+
message: 'OCS is healthy',
99
iconname: 'check-circle',
1010
classname: 'ok',
1111
},
1212
1: {
13-
message: 'OCS health is Degraded',
13+
message: 'OCS is degraded',
1414
iconname: 'exclamation-circle',
1515
classname: 'warning',
1616
},
1717
2: {
18-
message: 'OCS health is in Error State',
18+
message: 'OCS health is in error state',
1919
iconname: 'exclamation-triangle',
2020
classname: 'error',
2121
},

src/components/StorageOverview/Utilization/Utilization.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export const Utilization = ({ iopsUtilization, latencyUtilization, throughputUti
3434
return (
3535
<DashboardCard>
3636
<DashboardCardHeader>
37-
<DashboardCardTitle>OCS Perfrormance</DashboardCardTitle>
37+
<DashboardCardTitle>Perfrormance</DashboardCardTitle>
3838
</DashboardCardHeader>
3939
<DashboardCardBody>
4040
<UtilizationBody>

src/components/StorageOverview/Utilization/tests/__snapshots__/Utilization.test.js.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ exports[`<Utilization /> renders correctly 1`] = `
1010
<h2
1111
class="card-pf-title"
1212
>
13-
OCS Perfrormance
13+
Perfrormance
1414
</h2>
1515
</div>
1616
<div
@@ -121,7 +121,7 @@ exports[`<Utilization /> renders correctly in Loading state 1`] = `
121121
<h2
122122
class="card-pf-title"
123123
>
124-
OCS Perfrormance
124+
Perfrormance
125125
</h2>
126126
</div>
127127
<div

src/components/StorageOverview/tests/__snapshots__/StorageOverview.test.js.snap

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ exports[`<StorageOverview /> renders correctly with Provider 1`] = `
2626
<h2
2727
class="card-pf-title"
2828
>
29-
Details
29+
OCS Details
3030
</h2>
3131
</div>
3232
<div
@@ -54,19 +54,7 @@ exports[`<StorageOverview /> renders correctly with Provider 1`] = `
5454
class="kubevirt-detail__item-value"
5555
>
5656
<span>
57-
Ceph
58-
</span>
59-
</dd>
60-
<dt
61-
class="kubevirt-detail__item-title"
62-
>
63-
OCS version
64-
</dt>
65-
<dd
66-
class="kubevirt-detail__item-value"
67-
>
68-
<span>
69-
4.1
57+
Bare Metal
7058
</span>
7159
</dd>
7260
</dl>
@@ -244,7 +232,7 @@ exports[`<StorageOverview /> renders correctly with Provider 1`] = `
244232
<h2
245233
class="card-pf-title"
246234
>
247-
OCS Perfrormance
235+
Perfrormance
248236
</h2>
249237
</div>
250238
<div

0 commit comments

Comments
 (0)