Skip to content

Automate browser based workflows with AI

Add create new task button to top of task history page (#995)

Shuchang Zheng7802f8e05479
diff --git a/skyvern-frontend/src/routes/tasks/list/TaskList.tsx b/skyvern-frontend/src/routes/tasks/list/TaskList.tsx
index 4f1c7337e..30c37501b 100644
--- a/skyvern-frontend/src/routes/tasks/list/TaskList.tsx
+++ b/skyvern-frontend/src/routes/tasks/list/TaskList.tsx
@@ -8,10 +8,21 @@ import {
import { QueuedTasks } from "../running/QueuedTasks";
import { RunningTasks } from "../running/RunningTasks";
import { TaskHistory } from "./TaskHistory";
+import { Button } from "@/components/ui/button";
+import { Link } from "react-router-dom";
+import { PlusIcon } from "@radix-ui/react-icons";
function TaskList() {
return (
- <div className="flex flex-col gap-8">
+ <div className="space-y-8">
+ <header className="flex justify-end">
+ <Button asChild>
+ <Link to="/create">
+ <PlusIcon className="mr-2 h-4 w-4" />
+ Create New Task
+ </Link>
+ </Button>
+ </header>
<Card>
<CardHeader className="border-b-2">
<CardTitle className="text-xl">Running Tasks</CardTitle>