From cc3da8b74c54f5af0cfe328b2b05ec9a393d1335 Mon Sep 17 00:00:00 2001 From: abccodes Date: Fri, 19 Jun 2026 19:09:28 -0700 Subject: [PATCH] [aidan] ux/run-history: collapse expanded run view to one clickable line --- .../pages/Workflows/WorkflowCardSubviews.tsx | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/frontend/src/app/pages/Workflows/WorkflowCardSubviews.tsx b/frontend/src/app/pages/Workflows/WorkflowCardSubviews.tsx index 1a3049e7..ff6b6753 100644 --- a/frontend/src/app/pages/Workflows/WorkflowCardSubviews.tsx +++ b/frontend/src/app/pages/Workflows/WorkflowCardSubviews.tsx @@ -753,19 +753,16 @@ export function HistoryList({ runs, onOpen, showWorkflow = false, workflowTitleF {expanded && ( - + {r.error ? ( {r.error} - ) : ( - - {r.session_id ? 'Click below to see the full conversation.' : 'No session was recorded for this run. Click below to see the full conversation.'} - - )} - - { e.stopPropagation(); onOpen(r); }} role="button" sx={{ fontSize: '0.74rem', fontWeight: 600, color: c.accent.primary, cursor: 'pointer', '&:hover': { textDecoration: 'underline' } }}> - See full conversation → + ) : r.session_id ? ( + { e.stopPropagation(); onOpen(r); }} role="button" sx={{ fontSize: '0.78rem', fontWeight: 600, color: c.accent.primary, cursor: 'pointer', '&:hover': { textDecoration: 'underline' } }}> + Click to see the full conversation → - + ) : ( + No session was recorded for this run. + )} )}