diff --git a/apps/renderer/src/components/ChatView.tsx b/apps/renderer/src/components/ChatView.tsx index b5d9eff735..0b240cf7d7 100644 --- a/apps/renderer/src/components/ChatView.tsx +++ b/apps/renderer/src/components/ChatView.tsx @@ -82,18 +82,15 @@ export default function ChatView() { // Auto-scroll on new messages const messageCount = activeThread?.messages.length ?? 0; const workLogCount = workLogEntries.length; - // biome-ignore lint/correctness/useExhaustiveDependencies: trigger on message count change useEffect(() => { messagesEndRef.current?.scrollIntoView({ behavior: "smooth" }); }, [messageCount]); - // biome-ignore lint/correctness/useExhaustiveDependencies: auto-scroll while active work-log events stream in useEffect(() => { if (phase !== "running") return; messagesEndRef.current?.scrollIntoView({ behavior: "smooth" }); }, [phase, workLogCount]); // Auto-resize textarea - // biome-ignore lint/correctness/useExhaustiveDependencies: trigger on prompt change useEffect(() => { const ta = textareaRef.current; if (!ta) return; @@ -251,11 +248,11 @@ export default function ChatView() { return (
{/* Top bar */} -
+

{activeThread.title}

{activeProject && ( - + {activeProject.name} )} @@ -265,12 +262,12 @@ export default function ChatView() {
@@ -327,7 +324,7 @@ export default function ChatView() {
{timelineEntries.map((timelineEntry) => timelineEntry.kind === "work" ? ( -
+

@@ -347,8 +344,8 @@ export default function ChatView() {

{timelineEntry.message.role === "user" ? (
-
-
+                      
+
                           {timelineEntry.message.text}
                         

@@ -357,7 +354,7 @@ export default function ChatView() {

) : ( -
+
{timelineEntry.message.streaming && (
- + @@ -393,7 +390,7 @@ export default function ChatView() { ), )} {isWorking && ( -
+
@@ -411,7 +408,7 @@ export default function ChatView() { {/* Input bar */}
-
+
{/* Textarea area */}