From fac753a808185bfd47ecda031cef7e4f14440274 Mon Sep 17 00:00:00 2001 From: Anso Date: Wed, 6 May 2026 21:59:05 -0400 Subject: [PATCH] chore(frontend): remove featured-blueprint banner from catalog (#958) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The "Featured · most-deployed" banner duplicated information already present on the blueprint tile grid below it and added vertical clutter to the Deployments tab. Drop the callout and the useMemo that picked its target. --- .../blueprints/BlueprintCatalog.tsx | 39 ------------------- 1 file changed, 39 deletions(-) diff --git a/frontend/src/components/blueprints/BlueprintCatalog.tsx b/frontend/src/components/blueprints/BlueprintCatalog.tsx index e0670b61..a19a7832 100644 --- a/frontend/src/components/blueprints/BlueprintCatalog.tsx +++ b/frontend/src/components/blueprints/BlueprintCatalog.tsx @@ -61,17 +61,6 @@ export function BlueprintCatalog({ blueprints, onSelect, onCreate }: BlueprintCa } }, [blueprints, filter]); - const featured = useMemo(() => { - if (blueprints.length === 0) return null; - const sorted = [...blueprints].sort((a, b) => { - const aActive = a.deploymentCounts.active ?? 0; - const bActive = b.deploymentCounts.active ?? 0; - if (aActive !== bActive) return bActive - aActive; - return b.updated_at - a.updated_at; - }); - return sorted[0]; - }, [blueprints]); - return (
@@ -86,34 +75,6 @@ export function BlueprintCatalog({ blueprints, onSelect, onCreate }: BlueprintCa
- {featured && ( -
-
-
-
- ★ Featured · most-deployed -
-

- {featured.name} -

- {featured.description && ( -

{featured.description}

- )} -
- - · - {featured.deploymentCounts.active ?? 0}/{featured.deploymentTotal} active - · - drift {featured.drift_mode} -
-
-
- -
-
-
- )} -
setFilter('all')} /> setFilter('drifted')} tone="warning" />