From 78a10bb0855afa4109ea11392b2e3bf928ab90ec Mon Sep 17 00:00:00 2001 From: Jordan Snow Date: Tue, 21 Nov 2023 16:17:29 -0500 Subject: [PATCH 1/2] 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 && ( )} From c59a046a1c0b41dc46e53a0229a31daa10269d24 Mon Sep 17 00:00:00 2001 From: Jordan Snow Date: Wed, 22 Nov 2023 10:34:02 -0500 Subject: [PATCH 2/2] Updating changeset for clarity Signed-off-by: Jordan Snow --- .changeset/real-bees-thank.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changeset/real-bees-thank.md b/.changeset/real-bees-thank.md index 0c4c5a32bb..e89dfc7a68 100644 --- a/.changeset/real-bees-thank.md +++ b/.changeset/real-bees-thank.md @@ -2,4 +2,4 @@ '@backstage/plugin-catalog': patch --- -Adding in component type chip to search results for clarity +Adding in spec.type chip to search results for clarity