From 3b2a02d82503246ae3fc4197530e66b5595dfb84 Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Mon, 31 Mar 2025 00:28:28 +0200 Subject: [PATCH] catalog: add info card types Signed-off-by: Patrik Oldsberg --- plugins/catalog/src/alpha/entityCards.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/catalog/src/alpha/entityCards.tsx b/plugins/catalog/src/alpha/entityCards.tsx index 98921958ad..8662518d30 100644 --- a/plugins/catalog/src/alpha/entityCards.tsx +++ b/plugins/catalog/src/alpha/entityCards.tsx @@ -20,6 +20,7 @@ import { compatWrapper } from '@backstage/core-compat-api'; export const catalogAboutEntityCard = EntityCardBlueprint.make({ name: 'about', params: { + type: 'info', loader: async () => import('../components/AboutCard').then(m => compatWrapper(), @@ -30,6 +31,7 @@ export const catalogAboutEntityCard = EntityCardBlueprint.make({ export const catalogLinksEntityCard = EntityCardBlueprint.make({ name: 'links', params: { + type: 'info', filter: 'has:links', loader: async () => import('../components/EntityLinksCard').then(m => @@ -41,6 +43,7 @@ export const catalogLinksEntityCard = EntityCardBlueprint.make({ export const catalogLabelsEntityCard = EntityCardBlueprint.make({ name: 'labels', params: { + type: 'info', filter: 'has:labels', loader: async () => import('../components/EntityLabelsCard').then(m =>