Skip to content

Commit

Permalink
Merge pull request #2270 from anmolsachan/4.2_fix_typos
Browse files Browse the repository at this point in the history
Fixed incorrect terms in Object Dashboard
  • Loading branch information
openshift-merge-robot committed Aug 6, 2019
2 parents c4b5d4e + 965ac29 commit 6b46bdd
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
Expand Up @@ -54,7 +54,7 @@ export const DataConsumptionDropdown: React.FC<DataConsumptionDropdownProps> = (
I/O Operations
</DropdownItem>,
<DropdownItem id="usage" key="phyVslog" component="button">
Logical Usage
Logical Used Capacity
</DropdownItem>,
];

Expand Down
Expand Up @@ -39,7 +39,7 @@ const iopsChartData: GetBarChartData = (data, metricType, metric1, metric2) => {

const accountsLogicalUsageChartData: GetBarChartData = (data, metricType) => [
data.map((logicalUsage) => ({
name: 'Logical Usage',
name: 'Logical Used Capacity',
x: getMetric(logicalUsage, metricType),
y: Number(humanizeBinaryBytesWithoutB(Number(getValue(logicalUsage))).value),
})),
Expand Down Expand Up @@ -99,7 +99,7 @@ const accountsLogicalUsageChartLegendData = (data: [BarChartData[]]) => {
const { unit, value } = humanizeBinaryBytesWithoutB(
data[0].reduce((total: number, logicalUsage: BarChartData) => total + logicalUsage.y, 0),
);
return [{ name: `Logical usage ${value}${unit}` }];
return [{ name: `Logical Used Capacity ${value}${unit}` }];
};

const providersEgressChartLegendData = (data: [BarChartData[]]) => {
Expand Down
Expand Up @@ -48,7 +48,7 @@ const DataConsumersValue = {
const DataConsumersSortByValue = {
[BY_IOPS]: 'BY_IOPS',
[BY_LOGICAL_USAGE]: 'BY_LOGICAL_USAGE',
[BY_PHYSICAL_VS_LOGICAL_USAGE]: 'PHYSICAL_VS_LOGICAL_USAGE',
[BY_PHYSICAL_VS_LOGICAL_USAGE]: 'BY_PHYSICAL_VS_LOGICAL_USAGE',
[BY_EGRESS]: 'BY_EGRESS',
};

Expand Down
Expand Up @@ -75,7 +75,7 @@ export const ObjectServiceDetailsCard: React.FC<DashboardItemProps> = ({
return (
<DashboardCard>
<DashboardCardHeader>
<DashboardCardTitle>Service Details</DashboardCardTitle>
<DashboardCardTitle>Details</DashboardCardTitle>
</DashboardCardHeader>
<DashboardCardBody>
<DetailsBody>
Expand Down
Expand Up @@ -30,7 +30,7 @@ export const EfficiencyItem: React.FC<EfficiencyItemProps> = React.memo(
);
}
return (
<ItemBody title="Efficiency">
<ItemBody title="Efficiency Ratio">
<div className="nb-object-data-reduction-card__row-status-item">
{text}
<DashboardCardHelp>{infoText}</DashboardCardHelp>
Expand Down
@@ -1,6 +1,6 @@
export const ACCOUNTS = 'Accounts';
export const PROVIDERS = 'Providers';
export const BY_IOPS = 'I/O Operations';
export const BY_LOGICAL_USAGE = 'Logical Usage';
export const BY_LOGICAL_USAGE = 'Logical Used Capacity';
export const BY_PHYSICAL_VS_LOGICAL_USAGE = 'Physical Vs Logical Usage';
export const BY_EGRESS = 'Egress';

0 comments on commit 6b46bdd

Please sign in to comment.