diff --git a/frontend/src/components/tasks/TaskDetailsPanel.tsx b/frontend/src/components/tasks/TaskDetailsPanel.tsx index aa0f35fc..8ebfb767 100644 --- a/frontend/src/components/tasks/TaskDetailsPanel.tsx +++ b/frontend/src/components/tasks/TaskDetailsPanel.tsx @@ -4,7 +4,6 @@ import { X, History, Clock, - FileText, Code, ChevronDown, ChevronUp, @@ -15,6 +14,7 @@ import { Send, AlertCircle, Play, + GitCompare, } from "lucide-react"; import { Button } from "@/components/ui/button"; import { Alert, AlertDescription } from "@/components/ui/alert"; @@ -684,300 +684,397 @@ export function TaskDetailsPanel({
200 - ? "line-clamp-6" - : "" - }`} - > - {task.description} -
- {task.description.length > 200 && ( - - )} -- No description provided -
- )} -Edit task
+Delete task
+- Configure a dev server command in project - settings -
- ) : runningDevServer && devServerDetails ? ( -- Dev Server Logs (Last 10 lines): -
-
- {(() => {
- const stdout =
- devServerDetails.stdout || "";
- const stderr =
- devServerDetails.stderr || "";
- const allOutput =
- stdout + (stderr ? "\n" + stderr : "");
- const lines = allOutput
- .split("\n")
- .filter((line) => line.trim());
- const lastLines = lines.slice(-10);
- return lastLines.length > 0
- ? lastLines.join("\n")
- : "No output yet...";
- })()}
-
- Close panel
200 + ? "line-clamp-6" + : "" + }`} + > + {task.description} +
+ {task.description.length > 200 && ( + + )} ++ No description provided +
+ )} +View attempt history
+{selectedAttempt ? "Retry task with current executor" : "Start task with current executor"}
+Choose executor
+{isStopping ? "Stopping execution..." : "Stop execution"}
++ Configure a dev server command in project + settings +
+ ) : runningDevServer && devServerDetails ? ( ++ Dev Server Logs (Last 10 lines): +
+
+ {(() => {
+ const stdout =
+ devServerDetails.stdout || "";
+ const stderr =
+ devServerDetails.stderr || "";
+ const allOutput =
+ stdout + (stderr ? "\n" + stderr : "");
+ const lines = allOutput
+ .split("\n")
+ .filter((line) => line.trim());
+ const lastLines = lines.slice(-10);
+ return lastLines.length > 0
+ ? lastLines.join("\n")
+ : "No output yet...";
+ })()}
+
+ Stop the running dev server
+ ) : ( +Start the dev server
+ )} +Open in editor
+View code changes
+