From d7e5a76acefe12aeae44f63a9807642eafa61e6e Mon Sep 17 00:00:00 2001 From: sabaimran Date: Tue, 10 Dec 2024 17:49:25 -0800 Subject: [PATCH] Add an icon in the input bar for research mode --- src/interface/web/app/common/iconUtils.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/interface/web/app/common/iconUtils.tsx b/src/interface/web/app/common/iconUtils.tsx index 6f1afe81..0ef7f09a 100644 --- a/src/interface/web/app/common/iconUtils.tsx +++ b/src/interface/web/app/common/iconUtils.tsx @@ -51,6 +51,7 @@ import { FilePdf, FileMd, MicrosoftWordLogo, + Microscope, } from "@phosphor-icons/react"; import { OrgMode } from "@/app/components/logo/fileLogo"; @@ -219,6 +220,10 @@ export function getIconForSlashCommand(command: string, customClassName: string return ; } + if (command.includes("research")) { + return ; + } + return ; }