diff --git a/packages/webui/components/breadcrumb-nav.tsx b/packages/webui/components/breadcrumb-nav.tsx
index e47f33f7..0bb35539 100644
--- a/packages/webui/components/breadcrumb-nav.tsx
+++ b/packages/webui/components/breadcrumb-nav.tsx
@@ -1,28 +1,29 @@
import { client } from '@/ui/api/client'
import { Badge } from '@/ui/components/ui/badge'
import {
- DropdownMenu,
- DropdownMenuContent,
- DropdownMenuItem,
- DropdownMenuLabel,
- DropdownMenuPortal,
- DropdownMenuSeparator,
- DropdownMenuSub,
- DropdownMenuSubContent,
- DropdownMenuSubTrigger,
- DropdownMenuTrigger,
+ DropdownMenu,
+ DropdownMenuContent,
+ DropdownMenuItem,
+ DropdownMenuLabel,
+ DropdownMenuPortal,
+ DropdownMenuSeparator,
+ DropdownMenuSub,
+ DropdownMenuSubContent,
+ DropdownMenuSubTrigger,
+ DropdownMenuTrigger,
} from '@/ui/components/ui/dropdown-menu'
import {
- DockToLeft,
- DockToLeftFilled,
- DockToRight,
- DockToRightFilled,
+ BotFilled,
+ DockToLeft,
+ DockToLeftFilled,
+ DockToRight,
+ DockToRightFilled,
} from '@/ui/components/ui/icons'
import {
- Tooltip,
- TooltipContent,
- TooltipProvider,
- TooltipTrigger,
+ Tooltip,
+ TooltipContent,
+ TooltipProvider,
+ TooltipTrigger,
} from '@/ui/components/ui/tooltip'
import { usePermissions } from '@/ui/hooks/use-permissions'
import { cn } from '@/ui/lib/utils'
@@ -31,14 +32,14 @@ import type { AncestorFolder } from '@shumai/dtos'
import { useQuery } from '@tanstack/react-query'
import { Link, useNavigate } from '@tanstack/react-router'
import {
- Bot,
- Check,
- ChevronDown,
- Columns2,
- FileIcon,
- History,
- LayoutGrid,
- List,
+ Bot,
+ Check,
+ ChevronDown,
+ Columns2,
+ FileIcon,
+ History,
+ LayoutGrid,
+ List,
} from 'lucide-react'
interface BreadcrumbNavProps {
@@ -481,12 +482,11 @@ export function BreadcrumbNav({
isChatbotDisabled && 'opacity-50 cursor-not-allowed',
)}
>
-
+ {isChatbotOpen ? (
+
+ ) : (
+
+ )}
diff --git a/packages/webui/components/ui/icons.tsx b/packages/webui/components/ui/icons.tsx
index 464eb822..eeee6236 100644
--- a/packages/webui/components/ui/icons.tsx
+++ b/packages/webui/components/ui/icons.tsx
@@ -55,6 +55,34 @@ export const DockToRightFilled: React.FC = (props) => (
)
+/**
+ * Icon: Bot (Filled)
+ * A filled version of the Bot icon, useful when the chatbot sidebar is active.
+ */
+export const BotFilled: React.FC = (props) => (
+
+)
+
export const NotificationFillIcon: React.FC> = (props) => (