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" > - + )}