diff --git a/src/components/GlobalChatPane.tsx b/src/components/GlobalChatPane.tsx index 1e68ff45..5a248b40 100644 --- a/src/components/GlobalChatPane.tsx +++ b/src/components/GlobalChatPane.tsx @@ -1,7 +1,7 @@ import { useState, useRef, useEffect, useCallback } from 'react'; import { useTranslation } from 'react-i18next'; import { useLocation } from 'react-router-dom'; -import { X, Trash2, Copy, Check, ChevronDown, ArrowUp, Square, Loader2 } from 'lucide-react'; +import { X, Trash2, Copy, Check, ChevronDown, ArrowUp, Square, Loader2, Hammer, MessageCircle } from 'lucide-react'; import { Streamdown } from 'streamdown'; import { Button } from '@/components/ui/button'; import { Textarea } from '@/components/ui/textarea'; @@ -83,9 +83,12 @@ function ChatMessage({ message }: { message: GlobalChatMessage }) { interface GlobalChatPaneProps { /** When true, renders inline without fixed positioning (for embedding in ProjectView) */ embedded?: boolean; + /** Mobile chat mode toggle - only used in embedded mode */ + mobileChatMode?: 'building' | 'chatting'; + onMobileChatModeChange?: (mode: 'building' | 'chatting') => void; } -export function GlobalChatPane({ embedded = false }: GlobalChatPaneProps) { +export function GlobalChatPane({ embedded = false, mobileChatMode, onMobileChatModeChange }: GlobalChatPaneProps) { const { t } = useTranslation(); const { messages, @@ -272,17 +275,8 @@ export function GlobalChatPane({ embedded = false }: GlobalChatPaneProps) { )} {/* Input */} -
-
- -
-
+
+