mirror of
https://github.com/hyperdxio/hyperdx
synced 2026-04-21 13:37:15 +00:00
fix: replace sidebar collapse icons to align with ClickHouse collapse patterns (#1999)
Co-authored-by: Karl Power <85935352+karl-power@users.noreply.github.com>
This commit is contained in:
parent
af86da601e
commit
1b77eab96a
4 changed files with 12 additions and 7 deletions
5
.changeset/replace-sidebar-collapse-icons.md
Normal file
5
.changeset/replace-sidebar-collapse-icons.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"@hyperdx/app": patch
|
||||
---
|
||||
|
||||
fix: replace sidebar collapse icons to align with ClickHouse collapse patterns
|
||||
|
|
@ -63,8 +63,8 @@ import {
|
|||
} from '@mantine/hooks';
|
||||
import { notifications } from '@mantine/notifications';
|
||||
import {
|
||||
IconArrowBarToRight,
|
||||
IconBolt,
|
||||
IconLayoutSidebarLeftExpand,
|
||||
IconPlayerPlay,
|
||||
IconPlus,
|
||||
IconTags,
|
||||
|
|
@ -273,7 +273,7 @@ function ExpandFiltersButton({ onExpand }: { onExpand: () => void }) {
|
|||
onClick={onExpand}
|
||||
aria-label="Show filters"
|
||||
>
|
||||
<IconLayoutSidebarLeftExpand size={14} />
|
||||
<IconArrowBarToRight size={14} />
|
||||
</ActionIcon>
|
||||
</Tooltip>
|
||||
);
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ import {
|
|||
} from '@mantine/core';
|
||||
import { useDisclosure, useLocalStorage } from '@mantine/hooks';
|
||||
import {
|
||||
IconArrowBarToLeft,
|
||||
IconBell,
|
||||
IconBellFilled,
|
||||
IconChartDots,
|
||||
|
|
@ -34,7 +35,6 @@ import {
|
|||
IconCommand,
|
||||
IconDeviceLaptop,
|
||||
IconLayoutGrid,
|
||||
IconLayoutSidebarLeftCollapse,
|
||||
IconSearch,
|
||||
IconSettings,
|
||||
IconSitemap,
|
||||
|
|
@ -568,7 +568,7 @@ export default function AppNav({ fixed = false }: { fixed?: boolean }) {
|
|||
)}
|
||||
</Link>
|
||||
<ActionIcon
|
||||
variant="transparent"
|
||||
variant="subtle"
|
||||
size="sm"
|
||||
className={cx(styles.collapseButton, {
|
||||
[styles.collapseButtonCollapsed]: isCollapsed,
|
||||
|
|
@ -576,7 +576,7 @@ export default function AppNav({ fixed = false }: { fixed?: boolean }) {
|
|||
title="Collapse/Expand Navigation"
|
||||
onClick={() => setIsPreferCollapsed((v: boolean) => !v)}
|
||||
>
|
||||
<IconLayoutSidebarLeftCollapse size={16} />
|
||||
<IconArrowBarToLeft size={16} />
|
||||
</ActionIcon>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -30,13 +30,13 @@ import {
|
|||
} from '@mantine/core';
|
||||
import { notifications } from '@mantine/notifications';
|
||||
import {
|
||||
IconArrowBarToLeft,
|
||||
IconChartBar,
|
||||
IconChartBarOff,
|
||||
IconChevronDown,
|
||||
IconChevronRight,
|
||||
IconChevronUp,
|
||||
IconFilterOff,
|
||||
IconLayoutSidebarLeftCollapse,
|
||||
IconMinus,
|
||||
IconPin,
|
||||
IconPinFilled,
|
||||
|
|
@ -1218,7 +1218,7 @@ const DBSearchPageFiltersComponent = ({
|
|||
onClick={onCollapse}
|
||||
aria-label="Hide filters"
|
||||
>
|
||||
<IconLayoutSidebarLeftCollapse size={14} />
|
||||
<IconArrowBarToLeft size={14} />
|
||||
</ActionIcon>
|
||||
</Tooltip>
|
||||
)}
|
||||
|
|
|
|||
Loading…
Reference in a new issue