feat(search): integrate mailbox directory tree into search interface

This commit is contained in:
rustmailer
2026-03-15 03:36:02 +08:00
parent 2b10d201ee
commit af0f47c0e3
27 changed files with 374 additions and 2293 deletions
@@ -22,7 +22,7 @@ import {
IconLayoutDashboard,
IconSettings
} from '@tabler/icons-react'
import { IdCard, Inbox, Mailbox, Search, Users2 } from 'lucide-react'
import { IdCard, Inbox, Search, Users2 } from 'lucide-react'
import { type SidebarData } from '../types'
import { useTranslation } from 'react-i18next'
import { useCurrentUser } from '@/hooks/use-current-user'
@@ -52,11 +52,6 @@ export function useSidebarData(): SidebarData {
url: '/accounts',
icon: Inbox,
},
{
title: t('navigation.mailbox'),
url: '/mailboxes',
icon: Mailbox,
},
{
title: t('common.search'),
url: '/search',