From 45a72eaa84d90983597a467a922e677e72e5a5f1 Mon Sep 17 00:00:00 2001 From: Adam Harvey Date: Thu, 11 Feb 2021 16:15:20 -0500 Subject: [PATCH] Create new system page with diagram card Signed-off-by: Adam Harvey --- packages/app/src/components/catalog/EntityPage.tsx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/packages/app/src/components/catalog/EntityPage.tsx b/packages/app/src/components/catalog/EntityPage.tsx index fb56b40e68..1f0749bfbc 100644 --- a/packages/app/src/components/catalog/EntityPage.tsx +++ b/packages/app/src/components/catalog/EntityPage.tsx @@ -38,6 +38,7 @@ import { EntityHasSystemsCard, EntityLinksCard, EntityPageLayout, + SystemDiagram, } from '@backstage/plugin-catalog'; import { EntityProvider, useEntity } from '@backstage/plugin-catalog-react'; import { @@ -441,6 +442,9 @@ const SystemOverviewContent = ({ entity }: { entity: SystemEntity }) => ( + + + @@ -457,6 +461,11 @@ const SystemEntityPage = ({ entity }: { entity: Entity }) => ( title="Overview" element={} /> + } + /> ); @@ -478,6 +487,11 @@ const DomainEntityPage = ({ entity }: { entity: Entity }) => ( title="Overview" element={} /> + } + /> );