From 8bab66904d9f601071fb774b28a7406bd11bcc6a Mon Sep 17 00:00:00 2001 From: Louis Knight-Webb Date: Tue, 24 Jun 2025 17:14:05 +0100 Subject: [PATCH] Task attempt 661f4103-d3a8-4f67-a2b8-fd9c8633ac00 - Final changes --- .../src/components/tasks/TaskDetailsPanel.tsx | 132 +++++++++--------- 1 file changed, 66 insertions(+), 66 deletions(-) diff --git a/frontend/src/components/tasks/TaskDetailsPanel.tsx b/frontend/src/components/tasks/TaskDetailsPanel.tsx index 8163b57a..8ebfb767 100644 --- a/frontend/src/components/tasks/TaskDetailsPanel.tsx +++ b/frontend/src/components/tasks/TaskDetailsPanel.tsx @@ -830,49 +830,49 @@ export function TaskDetailsPanel({ {/* Attempt Management Group */}
{taskAttempts.length > 1 && ( - - - - + + + + - - {taskAttempts.map((attempt) => ( - handleAttemptChange(attempt.id)} - className={ - selectedAttempt?.id === attempt.id - ? "bg-accent" - : "" - } - > -
- - {new Date( - attempt.created_at - ).toLocaleDateString()}{" "} - {new Date( - attempt.created_at - ).toLocaleTimeString()} - - - {attempt.executor || "executor"} - -
-
- ))} -
-
-
- -

View attempt history

-
-
-
+ + +

View attempt history

+
+ + + + {taskAttempts.map((attempt) => ( + handleAttemptChange(attempt.id)} + className={ + selectedAttempt?.id === attempt.id + ? "bg-accent" + : "" + } + > +
+ + {new Date( + attempt.created_at + ).toLocaleDateString()}{" "} + {new Date( + attempt.created_at + ).toLocaleTimeString()} + + + {attempt.executor || "executor"} + +
+
+ ))} +
+ )}
@@ -892,10 +892,10 @@ export function TaskDetailsPanel({ - - - - + + + + - - {availableExecutors.map((executor) => ( - setSelectedExecutor(executor.id)} - className={ - selectedExecutor === executor.id - ? "bg-accent" - : "" - } - > - {executor.name} - {selectedExecutor === executor.id && - " (Default)"} - - ))} - - - - -

Choose executor

-
-
-
+ + +

Choose executor

+
+ + + + {availableExecutors.map((executor) => ( + setSelectedExecutor(executor.id)} + className={ + selectedExecutor === executor.id + ? "bg-accent" + : "" + } + > + {executor.name} + {config?.executor.type === executor.id && + " (Default)"} + + ))} + +