diff --git a/gui/src/components/ToggleDiv.tsx b/gui/src/components/ToggleDiv.tsx index a50cd17b78a..07f8286c67a 100644 --- a/gui/src/components/ToggleDiv.tsx +++ b/gui/src/components/ToggleDiv.tsx @@ -7,6 +7,7 @@ interface ToggleProps { title: React.ReactNode; icon?: ComponentType>; testId?: string; + defaultOpen?: boolean; } function ToggleDiv({ @@ -14,8 +15,9 @@ function ToggleDiv({ title, icon: Icon, testId = "context-items-peek", + defaultOpen = false, }: ToggleProps) { - const [open, setOpen] = useState(false); + const [open, setOpen] = useState(defaultOpen); const [isHovered, setIsHovered] = useState(false); return ( diff --git a/gui/src/pages/gui/StreamError.tsx b/gui/src/pages/gui/StreamError.tsx index e06cf8d7576..c3bb95efb11 100644 --- a/gui/src/pages/gui/StreamError.tsx +++ b/gui/src/pages/gui/StreamError.tsx @@ -250,7 +250,11 @@ const StreamErrorDialog = ({ error }: StreamErrorProps) => { {/* Expandable technical details using ToggleDiv */} {message && (
- +
{parsedError}