From 2ad1bacef70eed361d6685aec20a43bb409888e9 Mon Sep 17 00:00:00 2001 From: Chris Langhout Date: Thu, 9 Nov 2023 10:25:57 +0100 Subject: [PATCH] feat: add entityRef to Entity Inspector view Signed-off-by: Chris Langhout --- .changeset/cool-bulldogs-itch.md | 5 +++++ .../InspectEntityDialog/components/OverviewPage.tsx | 7 +++++++ 2 files changed, 12 insertions(+) create mode 100644 .changeset/cool-bulldogs-itch.md diff --git a/.changeset/cool-bulldogs-itch.md b/.changeset/cool-bulldogs-itch.md new file mode 100644 index 0000000000..8f48befee2 --- /dev/null +++ b/.changeset/cool-bulldogs-itch.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-catalog-react': patch +--- + +Add EntityRef to Entity Inspector UI diff --git a/plugins/catalog-react/src/components/InspectEntityDialog/components/OverviewPage.tsx b/plugins/catalog-react/src/components/InspectEntityDialog/components/OverviewPage.tsx index d2eb6d4266..26aa69e425 100644 --- a/plugins/catalog-react/src/components/InspectEntityDialog/components/OverviewPage.tsx +++ b/plugins/catalog-react/src/components/InspectEntityDialog/components/OverviewPage.tsx @@ -36,6 +36,7 @@ import { ListSubheader, } from './common'; import { EntityKindIcon } from './EntityKindIcon'; +import { stringifyEntityRef } from '@backstage/catalog-model'; const useStyles = makeStyles({ root: { @@ -90,6 +91,12 @@ export function OverviewPage(props: { entity: AlphaEntity }) { )} + + +