feat: ekip paneli ve yonlendirme davranisini iyilestir

This commit is contained in:
2026-03-17 00:02:17 +03:00
parent 89e715cf1c
commit 3641190a77
7 changed files with 85 additions and 72 deletions

View File

@@ -1,7 +1,7 @@
import { useEffect, useRef } from "react";
import PanelFrame from "./PanelFrame.jsx";
export default function ChatStream({ chat, session }) {
export default function ChatStream({ chat, session, headerExtra = null }) {
const scrollerRef = useRef(null);
useEffect(() => {
@@ -16,7 +16,12 @@ export default function ChatStream({ chat, session }) {
const isEmpty = !chat.trim();
return (
<PanelFrame title="Claude Live Feed" eyebrow="PRIMARY STREAM" className="chat-panel">
<PanelFrame
title="Claude Live Feed"
eyebrow="PRIMARY STREAM"
className="chat-panel"
headerExtra={headerExtra}
>
<div className="chat-stream" ref={scrollerRef}>
{isEmpty ? (
<div className="empty-state">