Refactor: Move New Chat button

This commit is contained in:
gpt-engineer-app[bot]
2025-10-16 19:09:47 +00:00
parent 107e5ff043
commit 873cc533aa
2 changed files with 8 additions and 18 deletions
+6 -1
View File
@@ -1,5 +1,5 @@
import { useState } from "react";
import { Search, Folder, FolderPlus, MessageSquare, MoreVertical, Trash2, Edit, FolderInput, ChevronLeft, ChevronRight } from "lucide-react";
import { Search, Folder, FolderPlus, MessageSquare, MoreVertical, Trash2, Edit, FolderInput, ChevronLeft, ChevronRight, Plus } from "lucide-react";
import { Input } from "@/components/ui/input";
import { Button } from "@/components/ui/button";
import { ScrollArea } from "@/components/ui/scroll-area";
@@ -218,6 +218,11 @@ export const ChatSidebar = ({ isCollapsed, onToggleCollapse }: ChatSidebarProps)
/>
</div>
<Button className="w-full gap-2 cyber-glow" variant="default">
<Plus className="w-4 h-4" />
Novo Chat
</Button>
<Dialog open={isCreateFolderOpen} onOpenChange={setIsCreateFolderOpen}>
<DialogTrigger asChild>
<Button variant="outline" className="w-full gap-2" size="sm">