feat(k8s & topo plugins): both plugins on the same tab
This commit is contained in:
parent
c74cdad15e
commit
b9441613d2
@ -1,6 +1,16 @@
|
||||
import { EntityKubernetesContent } from '@backstage/plugin-kubernetes';
|
||||
import { TopologyPage } from '@janus-idp/backstage-plugin-topology';
|
||||
import {Grid} from "@material-ui/core";
|
||||
import React from "react";
|
||||
|
||||
export const kubernetesContent = (
|
||||
<EntityKubernetesContent refreshIntervalMs={30000} />
|
||||
<Grid container spacing={1} alignItems={'stretch'} justifyContent={'flex-start'}>
|
||||
|
||||
<Grid item xs={4} style={{ height: 'calc(100vh - 220px' }}>
|
||||
<TopologyPage />
|
||||
</Grid>
|
||||
<Grid item xs={8}>
|
||||
<EntityKubernetesContent refreshIntervalMs={5000} />
|
||||
</Grid>
|
||||
</Grid>
|
||||
);
|
||||
|
@ -5,7 +5,7 @@ import {entityWarningContent} from "./EntityWarningContent";
|
||||
import {GithubWorkflowsCard} from "@veecode-platform/backstage-plugin-github-workflows";
|
||||
import {LatestWorkflowRunCard} from "@backstage-community/plugin-github-actions";
|
||||
import {EntityGithubInsightsReadmeCard} from "@roadiehq/backstage-plugin-github-insights";
|
||||
import {EntityArgoCDOverviewCard} from "@roadiehq/backstage-plugin-argo-cd";
|
||||
import {EntityArgoCDOverviewCard, EntityArgoCDHistoryCard} from "@roadiehq/backstage-plugin-argo-cd";
|
||||
import {EntityGithubPullRequestsOverviewCard} from "@roadiehq/backstage-plugin-github-pull-requests";
|
||||
import {EntityCatalogGraphCard} from "@backstage/plugin-catalog-graph";
|
||||
import { DevspacesPluginPage } from "@internal/backstage-plugin-devspaces-plugin";
|
||||
@ -19,7 +19,7 @@ export const overviewContent = (
|
||||
<Grid item xs={4}>
|
||||
<EntityAboutCard variant={'flex'}/>
|
||||
<EntityLinksCard variant="flex"/>
|
||||
<DevspacesPluginPage/>
|
||||
{/*<DevspacesPluginPage/>*/}
|
||||
</Grid>
|
||||
<Grid item xs={8}>
|
||||
<Grid container>
|
||||
@ -28,6 +28,7 @@ export const overviewContent = (
|
||||
</Grid>
|
||||
<Grid item xs={8}>
|
||||
<EntityArgoCDOverviewCard/>
|
||||
{/*<EntityArgoCDHistoryCard/>*/}
|
||||
</Grid>
|
||||
</Grid>
|
||||
<GithubWorkflowsCard/>
|
||||
|
Loading…
Reference in New Issue
Block a user