From 53d0c8d4a0538030c5c41dec1386722671b09769 Mon Sep 17 00:00:00 2001 From: Priyansh87 Date: Fri, 18 Jul 2025 19:15:20 +0530 Subject: [PATCH] fix: reuse TooltipIconButton and unify chat UI in shared agent screen --- app/(main)/shared-agent/page.tsx | 55 ++++++++++++++++---------------- 1 file changed, 28 insertions(+), 27 deletions(-) diff --git a/app/(main)/shared-agent/page.tsx b/app/(main)/shared-agent/page.tsx index 75c86f54..b6571881 100644 --- a/app/(main)/shared-agent/page.tsx +++ b/app/(main)/shared-agent/page.tsx @@ -13,7 +13,7 @@ import BranchAndRepositoryService from "@/services/BranchAndRepositoryService"; import AgentService from "@/services/AgentService"; import ChatService from "@/services/ChatService"; import { useAuthContext } from "@/contexts/AuthContext"; -import { Loader, Bot, Code, GitBranch, GitCommit, MessageCircle } from "lucide-react"; +import { Loader, Bot, Code, GitBranch, GitCommit, MessageCircle, SendHorizontalIcon } from "lucide-react"; import { toast } from "sonner"; import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/select"; import NodeSelector from "@/components/NodeSelectorChatForm/NodeSelector"; @@ -34,6 +34,7 @@ import { CommandItem, CommandList, } from "@/components/ui/command"; +import { TooltipIconButton } from "@/components/assistant-ui/tooltip-icon-button"; const SharedAgentPage = () => { const { user } = useAuthContext(); @@ -792,14 +793,14 @@ const SharedAgentPage = () => { )} {/* Chat Form */} -
+
{selectedRepo && selectedBranch && parsingStatus === "ready" ? ( -
+