diff --git a/client/src/pages/Chat.tsx b/client/src/pages/Chat.tsx index 1fd12ce..366233d 100644 --- a/client/src/pages/Chat.tsx +++ b/client/src/pages/Chat.tsx @@ -10,7 +10,14 @@ import { MessageSquare, Plus, Send, Reply, X, Check, Users, Link2, Paperclip, Loader2, ChevronLeft, ChevronDown, Bell, BellOff, BarChart2, + MoreVertical, } from 'lucide-react'; +import { + DropdownMenu, + DropdownMenuContent, + DropdownMenuItem, + DropdownMenuTrigger, +} from '@/components/ui/dropdown-menu'; import { PendingAttachmentList } from '@/components/chat/ChatAttachments'; import { cn } from '@/lib/utils'; import { PollCreateDialog } from '@/components/chat/PollCreateDialog'; @@ -634,26 +641,31 @@ export default function ChatPage() { minRows={1} maxRows={5} /> - - + {/* Кнопки «Прикрепить файл» и «Создать опрос» — за меню трёх + точек, как в чате задачи (единый вид композера) */} + + + + + + fileInputRef.current?.click()}> + + Прикрепить файл + + setPollDialogOpen(true)}> + + Создать опрос + + +