From 7e0364f9fee4c7e4ca7fa1b8c35ca6b9ae505efd Mon Sep 17 00:00:00 2001 From: CREDO23 Date: Tue, 23 Jun 2026 15:18:08 +0200 Subject: [PATCH] refactor: unify artifacts icon --- surfsense_web/features/chat-artifacts/ui/artifacts-panel.tsx | 4 ++-- .../features/chat-artifacts/ui/artifacts-toggle-button.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/surfsense_web/features/chat-artifacts/ui/artifacts-panel.tsx b/surfsense_web/features/chat-artifacts/ui/artifacts-panel.tsx index c22d412f2..7b3567d73 100644 --- a/surfsense_web/features/chat-artifacts/ui/artifacts-panel.tsx +++ b/surfsense_web/features/chat-artifacts/ui/artifacts-panel.tsx @@ -1,7 +1,7 @@ "use client"; import { useAtomValue, useSetAtom } from "jotai"; -import { LayersIcon, XIcon } from "lucide-react"; +import { Boxes, XIcon } from "lucide-react"; import { useMemo } from "react"; import { Button } from "@/components/ui/button"; import { Drawer, DrawerContent, DrawerHandle, DrawerTitle } from "@/components/ui/drawer"; @@ -32,7 +32,7 @@ function groupByKind(artifacts: ChatArtifact[]): { label: string; items: ChatArt function EmptyState() { return (
- +

No artifacts yet

Reports, podcasts, presentations, and images you generate will appear here. diff --git a/surfsense_web/features/chat-artifacts/ui/artifacts-toggle-button.tsx b/surfsense_web/features/chat-artifacts/ui/artifacts-toggle-button.tsx index a99836d30..be02c6956 100644 --- a/surfsense_web/features/chat-artifacts/ui/artifacts-toggle-button.tsx +++ b/surfsense_web/features/chat-artifacts/ui/artifacts-toggle-button.tsx @@ -1,7 +1,7 @@ "use client"; import { useAtomValue, useSetAtom } from "jotai"; -import { LayersIcon } from "lucide-react"; +import { Boxes } from "lucide-react"; import { Button } from "@/components/ui/button"; import { Tooltip, TooltipContent, TooltipTrigger } from "@/components/ui/tooltip"; import { cn } from "@/lib/utils"; @@ -34,7 +34,7 @@ export function ArtifactsToggleButton() { isOpen && "bg-accent text-accent-foreground" )} > - + {artifacts.length}