From c0a08fd08c6734fc6553ae6977be9e45d6fdd205 Mon Sep 17 00:00:00 2001 From: Jason Nguyen Date: Sun, 21 Aug 2022 14:05:55 -0600 Subject: [PATCH] create-app: add `EntityLinksCard` to the System `EntityPage` Signed-off-by: Jason Nguyen --- .changeset/young-trees-rescue.md | 24 +++++++++++++++++++ .../app/src/components/catalog/EntityPage.tsx | 5 +++- 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 .changeset/young-trees-rescue.md diff --git a/.changeset/young-trees-rescue.md b/.changeset/young-trees-rescue.md new file mode 100644 index 0000000000..d2ea5b3aeb --- /dev/null +++ b/.changeset/young-trees-rescue.md @@ -0,0 +1,24 @@ +--- +'@backstage/create-app': patch +--- + +Added `EntityLinksCard` to the system `EntityPage`. + +For an existing installation where you want to display the links card for entity pages of kind `system` you should make the following adjustment to `packages/app/src/components/catalog/EntityPage.tsx` + +```diff +const systemPage = ( + ... + + + ++ ++ ++ +- ++ + + + ... +); +``` diff --git a/packages/create-app/templates/default-app/packages/app/src/components/catalog/EntityPage.tsx b/packages/create-app/templates/default-app/packages/app/src/components/catalog/EntityPage.tsx index 6ec4da055d..d98153f660 100644 --- a/packages/create-app/templates/default-app/packages/app/src/components/catalog/EntityPage.tsx +++ b/packages/create-app/templates/default-app/packages/app/src/components/catalog/EntityPage.tsx @@ -324,7 +324,10 @@ const systemPage = ( - + + + +