From 28f7d34fcdf8dd2f7a83af86e5fe99babd0c940f Mon Sep 17 00:00:00 2001 From: Chris Scott <99081550+chriswritescode-dev@users.noreply.github.com> Date: Tue, 29 Sep 2026 13:38:13 +0000 Subject: [PATCH] fix(schedules): improve mobile run history layout --- .../components/schedules/RunDetailPanel.tsx | 18 ++++--- .../components/schedules/RunHistoryCards.tsx | 54 +++++++++---------- .../components/schedules/RunHistoryTab.tsx | 22 ++++---- frontend/src/pages/GlobalSchedules.tsx | 8 +-- 4 files changed, 50 insertions(+), 52 deletions(-) diff --git a/frontend/src/components/schedules/RunDetailPanel.tsx b/frontend/src/components/schedules/RunDetailPanel.tsx index 42c620b8..1f90e553 100644 --- a/frontend/src/components/schedules/RunDetailPanel.tsx +++ b/frontend/src/components/schedules/RunDetailPanel.tsx @@ -37,7 +37,7 @@ export function RunDetailPanel({ repoId, activeRun, selectedRunLoading, onCancel {activeRun.status === 'cancelled' ? 'Details' : 'Error'} - {(activeRun.status === 'running' || activeRun.sessionId || activeRun.responseText) && ( + {(activeRun.status === 'running' || activeRun.sessionId) && (
{activeRun.sessionId && ( @@ -46,13 +46,15 @@ export function RunDetailPanel({ repoId, activeRun, selectedRunLoading, onCancel )}
- + {activeRun.status === 'running' && ( + + )}
)} - + {selectedRunLoading && !activeRun ? (
) : ( @@ -63,14 +65,14 @@ export function RunDetailPanel({ repoId, activeRun, selectedRunLoading, onCancel {selectedRunLoading && !activeRun ? (
) : activeRun.responseText ? ( -
+
) : (
No assistant output captured.
)} - + {selectedRunLoading && !activeRun ? (
) : ( diff --git a/frontend/src/components/schedules/RunHistoryCards.tsx b/frontend/src/components/schedules/RunHistoryCards.tsx index d983bcbc..5f553b01 100644 --- a/frontend/src/components/schedules/RunHistoryCards.tsx +++ b/frontend/src/components/schedules/RunHistoryCards.tsx @@ -76,20 +76,17 @@ export function RunHistoryCards({ } return ( -
-
- {runs.map((run, index) => { - const isExpanded = expandedRunId === run.id - const displayRun = isExpanded && runDetail ? runDetail : run +
+ {runs.map((run) => { + const isExpanded = expandedRunId === run.id + const displayRun = isExpanded && runDetail ? runDetail : run - return ( -
-
+ return ( +
+
)} -
- {isExpanded && ( -
-
- -
-
- )}
- ) - })} -
+ {isExpanded && ( +
+ +
+ )} +
+ ) + })}
) } diff --git a/frontend/src/components/schedules/RunHistoryTab.tsx b/frontend/src/components/schedules/RunHistoryTab.tsx index 066b9864..dc32b3b9 100644 --- a/frontend/src/components/schedules/RunHistoryTab.tsx +++ b/frontend/src/components/schedules/RunHistoryTab.tsx @@ -71,17 +71,19 @@ export function RunHistoryTab({
- +
+ +
-
+
-
+
Filter by repo:
-
+
{!hasJobs ? (
@@ -667,7 +667,7 @@ export function GlobalSchedules() { -
+
Filter by repo:
-
+
{runsLoading && allRuns.length === 0 ? (