From d2be96d297c6ebde8f5a95e117e651d924f6927f Mon Sep 17 00:00:00 2001 From: Elizabet Oliveira Date: Thu, 19 Nov 2026 19:01:17 +0000 Subject: [PATCH] fix(app): use sidebar layout icons for show/hide filters Co-authored-by: Cursor --- .changeset/sidebar-expand-icons.md | 5 +++++ packages/app/src/DBSearchPage.tsx | 4 ++-- packages/app/src/components/DBSearchPageFilters.tsx | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 .changeset/sidebar-expand-icons.md diff --git a/.changeset/sidebar-expand-icons.md b/.changeset/sidebar-expand-icons.md new file mode 100644 index 000000000..3b5fce249 --- /dev/null +++ b/.changeset/sidebar-expand-icons.md @@ -0,0 +1,5 @@ +--- +'@hyperdx/app': patch +--- + +Use the sidebar layout icons for showing and hiding search filters diff --git a/packages/app/src/DBSearchPage.tsx b/packages/app/src/DBSearchPage.tsx index 0710231e5..768097c32 100644 --- a/packages/app/src/DBSearchPage.tsx +++ b/packages/app/src/DBSearchPage.tsx @@ -76,9 +76,9 @@ import { } from '@mantine/hooks'; import { notifications } from '@mantine/notifications'; import { - IconArrowBarToRight, IconBolt, IconCode, + IconLayoutSidebarLeftExpand, IconPlayerPlay, IconPlus, IconStack2, @@ -356,7 +356,7 @@ function ExpandFiltersButton({ onExpand }: { onExpand: () => void }) { onClick={onExpand} aria-label="Show filters" > - + ); diff --git a/packages/app/src/components/DBSearchPageFilters.tsx b/packages/app/src/components/DBSearchPageFilters.tsx index 9fbbb0ed9..e25a657b4 100644 --- a/packages/app/src/components/DBSearchPageFilters.tsx +++ b/packages/app/src/components/DBSearchPageFilters.tsx @@ -39,13 +39,13 @@ import { } from '@mantine/core'; import { notifications } from '@mantine/notifications'; import { - IconArrowBarToLeft, IconChartBar, IconChartBarOff, IconChevronDown, IconChevronRight, IconChevronUp, IconFilterOff, + IconLayoutSidebarLeftCollapse, IconMinus, IconPlus, IconRefresh, @@ -1818,7 +1818,7 @@ const DBSearchPageFiltersComponent = ({ onClick={onCollapse} aria-label="Hide filters" > - + )}