diff --git a/frontend/src/components/tasks/TaskDetailsPanel.tsx b/frontend/src/components/tasks/TaskDetailsPanel.tsx index 082f3f2f..f97866d3 100644 --- a/frontend/src/components/tasks/TaskDetailsPanel.tsx +++ b/frontend/src/components/tasks/TaskDetailsPanel.tsx @@ -139,6 +139,7 @@ export function TaskDetailsPanel({ const [isDescriptionExpanded, setIsDescriptionExpanded] = useState(false); const [selectedExecutor, setSelectedExecutor] = useState("claude"); const [isStopping, setIsStopping] = useState(false); + const [expandedOutputs, setExpandedOutputs] = useState>(new Set()); const { config } = useConfig(); // Available executors @@ -377,6 +378,18 @@ export function TaskDetailsPanel({ } }; + const toggleOutputExpansion = (processId: string) => { + setExpandedOutputs(prev => { + const newSet = new Set(prev); + if (newSet.has(processId)) { + newSet.delete(processId); + } else { + newSet.add(processId); + } + return newSet; + }); + }; + if (!task) return null; return ( @@ -673,16 +686,42 @@ export function TaskDetailsPanel({ activity.execution_process_id ] && (
- +
+ +
+
)}