From df088c766f1761496189ec09146aa54c23b1c012 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sun, 9 Aug 2026 06:33:06 +0000 Subject: [PATCH 1/2] fix(dsm): drop catalogue page header and clean search ribbon filter Remove the redundant Diagnosis search page strip so /dsm/search leads with the shared results band, move Compare into band utilities, and restyle the category filter as a single inset control with a visible count. Co-authored-by: BigSimmo --- src/components/dsm/dsm-search-page.tsx | 50 +++++++++++------------ tests/dsm-search-empty-state.dom.test.tsx | 14 +++++++ 2 files changed, 37 insertions(+), 27 deletions(-) diff --git a/src/components/dsm/dsm-search-page.tsx b/src/components/dsm/dsm-search-page.tsx index 46a334a4a5..7705874add 100644 --- a/src/components/dsm/dsm-search-page.tsx +++ b/src/components/dsm/dsm-search-page.tsx @@ -21,7 +21,6 @@ import { X, } from "lucide-react"; -import { DsmPageHeader } from "@/components/dsm/dsm-page-header"; import { SearchResultsHeaderBand } from "@/components/clinical-dashboard/search-results-header-band"; import { useDismissableLayer } from "@/components/use-dismissable-layer"; import { cn, codeText, EmptyState, metadataPill, pageContainer, searchFocusRing } from "@/components/ui-primitives"; @@ -142,7 +141,7 @@ function CategoryFilterDropdown({ const activeCount = activeCategory ? activeCategory.diagnosis_count : totalCount; return ( -
+