From e3367e35982c8afb9b080ffb0fcce0dce8030128 Mon Sep 17 00:00:00 2001 From: alkinun Date: Wed, 22 Jul 2026 18:00:52 +0300 Subject: [PATCH] Studio: standardize Deep Research telescope icons --- .../frontend/src/components/assistant-ui/thread.tsx | 4 ++-- studio/frontend/src/features/chat/chat-page.tsx | 8 ++++++-- .../chat/components/research-activity-panel.tsx | 11 ++++++++--- .../src/features/chat/components/research-message.tsx | 6 ++++-- 4 files changed, 20 insertions(+), 9 deletions(-) diff --git a/studio/frontend/src/components/assistant-ui/thread.tsx b/studio/frontend/src/components/assistant-ui/thread.tsx index a7f1a50536..c7c6588905 100644 --- a/studio/frontend/src/components/assistant-ui/thread.tsx +++ b/studio/frontend/src/components/assistant-ui/thread.tsx @@ -145,6 +145,7 @@ import { Image03Icon, McpServerIcon, PencilRulerIcon, + Telescope02Icon, } from "@hugeicons/core-free-icons"; import { HugeiconsIcon } from "@hugeicons/react"; import { useNavigate } from "@tanstack/react-router"; @@ -162,7 +163,6 @@ import { PlusIcon, RefreshCwIcon, SquareIcon, - TelescopeIcon, TerminalIcon, Volume2Icon, VolumeXIcon, @@ -3148,7 +3148,7 @@ const ComposerToolsMenu: FC<{ } onSelect={() => setDeepResearchEnabled(!deepResearchEnabled)} > - + Deep research {deepResearchEnabled && !researchDisabled ? ( - + {!['completed', 'failed', 'cancelled'].includes(latestResearchRun.status) ? ( ) : null} diff --git a/studio/frontend/src/features/chat/components/research-activity-panel.tsx b/studio/frontend/src/features/chat/components/research-activity-panel.tsx index e51ea28357..6fc926dbf9 100644 --- a/studio/frontend/src/features/chat/components/research-activity-panel.tsx +++ b/studio/frontend/src/features/chat/components/research-activity-panel.tsx @@ -26,6 +26,8 @@ import { Textarea } from "@/components/ui/textarea"; import { openLink } from "@/lib/open-link"; import { toast } from "@/lib/toast"; import { cn } from "@/lib/utils"; +import { Telescope02Icon } from "@hugeicons/core-free-icons"; +import { HugeiconsIcon } from "@hugeicons/react"; import { ArrowDown, ArrowUp, @@ -41,7 +43,6 @@ import { RotateCcw, Search, Square, - Telescope, Trash2, X, } from "lucide-react"; @@ -703,7 +704,11 @@ function PlanReview({ runId }: { runId: string }): ReactElement | null { } onClick={() => void start()} > - {pending ? : } + {pending ? ( + + ) : ( + + )} {editing ? "Save and start" : "Start research"} @@ -830,7 +835,7 @@ export function ResearchActivityPanel({
- +
diff --git a/studio/frontend/src/features/chat/components/research-message.tsx b/studio/frontend/src/features/chat/components/research-message.tsx index 150aff431f..e7698cd98e 100644 --- a/studio/frontend/src/features/chat/components/research-message.tsx +++ b/studio/frontend/src/features/chat/components/research-message.tsx @@ -11,7 +11,9 @@ import { Button } from "@/components/ui/button"; import { Spinner } from "@/components/ui/spinner"; import { cn } from "@/lib/utils"; import { useAuiState } from "@assistant-ui/react"; -import { Check, Telescope, TriangleAlert } from "lucide-react"; +import { Telescope02Icon } from "@hugeicons/core-free-icons"; +import { HugeiconsIcon } from "@hugeicons/react"; +import { Check, TriangleAlert } from "lucide-react"; import { type ReactElement, useEffect } from "react"; import { ensureResearchRunFollowed, @@ -133,7 +135,7 @@ export function ResearchMessage(): ReactElement { {failed ? ( ) : cancelled ? ( - + ) : ( )}