From 78a10bb0855afa4109ea11392b2e3bf928ab90ec Mon Sep 17 00:00:00 2001 From: Jordan Snow Date: Tue, 21 Nov 2023 16:17:29 -0500 Subject: [PATCH] Adding in type chip to search results Signed-off-by: Jordan Snow --- .changeset/real-bees-thank.md | 5 +++++ .../CatalogSearchResultListItem.tsx | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/real-bees-thank.md diff --git a/.changeset/real-bees-thank.md b/.changeset/real-bees-thank.md new file mode 100644 index 0000000000..0c4c5a32bb --- /dev/null +++ b/.changeset/real-bees-thank.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-catalog': patch +--- + +Adding in component type chip to search results for clarity diff --git a/plugins/catalog/src/components/CatalogSearchResultListItem/CatalogSearchResultListItem.tsx b/plugins/catalog/src/components/CatalogSearchResultListItem/CatalogSearchResultListItem.tsx index 06906aecc1..4c6b567d8a 100644 --- a/plugins/catalog/src/components/CatalogSearchResultListItem/CatalogSearchResultListItem.tsx +++ b/plugins/catalog/src/components/CatalogSearchResultListItem/CatalogSearchResultListItem.tsx @@ -107,6 +107,7 @@ export function CatalogSearchResultListItem( /> {result.kind && } + {result.type && } {result.lifecycle && ( )}