Skip to content

Commit

Permalink
Merge pull request #913 from sgratch/separates-charts-to-cards
Browse files Browse the repository at this point in the history
🐾 Create a new Metrics tab - part 6
  • Loading branch information
yaacov authored Feb 13, 2024
2 parents fede8b6 + 7d1ae91 commit 2e1c03d
Show file tree
Hide file tree
Showing 7 changed files with 494 additions and 432 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { RouteComponentProps } from 'react-router-dom';
import { V1beta1ForkliftController } from '@kubev2v/types';
import { Flex, FlexItem } from '@patternfly/react-core';

import { ChartsCard, MigrationsCard } from './cards';
import { MigrationsCard, MigrationsChartCard, VmMigrationsChartCard } from './cards';

interface ForkliftControllerMetricsTabProps extends RouteComponentProps {
obj: V1beta1ForkliftController;
Expand All @@ -30,7 +30,10 @@ export const ForkliftControllerMetricsTab: React.FC<ForkliftControllerMetricsTab
<MigrationsCard obj={obj} />
</FlexItem>
<FlexItem fullWidth={{ default: 'fullWidth' }}>
<ChartsCard obj={obj} />
<MigrationsChartCard obj={obj} />
</FlexItem>
<FlexItem fullWidth={{ default: 'fullWidth' }}>
<VmMigrationsChartCard obj={obj} />
</FlexItem>
</Flex>
</Flex>
Expand Down
Loading

0 comments on commit 2e1c03d

Please sign in to comment.