Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
Ensure consistency in button severity between workflow and task runs (#939)
Kerem Yilmaz68448fc2b1f9
diff --git a/skyvern-frontend/src/routes/tasks/detail/TaskDetails.tsx b/skyvern-frontend/src/routes/tasks/detail/TaskDetails.tsxindex 864faf4dd..b09000215 100644--- a/skyvern-frontend/src/routes/tasks/detail/TaskDetails.tsx+++ b/skyvern-frontend/src/routes/tasks/detail/TaskDetails.tsx@@ -17,7 +17,7 @@ import { Textarea } from "@/components/ui/textarea";import { toast } from "@/components/ui/use-toast";import { useCredentialGetter } from "@/hooks/useCredentialGetter";import { cn } from "@/util/utils";-import { CopyIcon, ReloadIcon } from "@radix-ui/react-icons";+import { CopyIcon, PlayIcon, ReloadIcon } from "@radix-ui/react-icons";import { useMutation, useQueryClient } from "@tanstack/react-query";import { Link, NavLink, Outlet, useParams } from "react-router-dom";import { TaskInfo } from "./TaskInfo";@@ -129,7 +129,7 @@ function TaskDetails() {</div><div className="flex items-center gap-2"><Button- variant="outline"+ variant="secondary"onClick={() => {if (!task) {return;@@ -154,7 +154,7 @@ function TaskDetails() {}}><CopyIcon className="mr-2 h-4 w-4" />- Copy as cURL+ Copy cURL</Button>{taskIsRunningOrQueued && (<Dialog>@@ -189,8 +189,11 @@ function TaskDetails() {</Dialog>)}{taskHasTerminalState && (- <Button variant="secondary" asChild>- <Link to={`/create/retry/${task.task_id}`}>Rerun Task</Link>+ <Button asChild>+ <Link to={`/create/retry/${task.task_id}`}>+ <PlayIcon className="mr-2 h-4 w-4" />+ Rerun+ </Link></Button>)}</div>diff --git a/skyvern-frontend/src/routes/workflows/WorkflowRun.tsx b/skyvern-frontend/src/routes/workflows/WorkflowRun.tsxindex 769b08a5d..6bb3b2296 100644--- a/skyvern-frontend/src/routes/workflows/WorkflowRun.tsx+++ b/skyvern-frontend/src/routes/workflows/WorkflowRun.tsx@@ -286,12 +286,12 @@ function WorkflowRun() {}}><CopyIcon className="mr-2 h-4 w-4" />- Copy as cURL+ Copy cURL</Button><Button asChild variant="secondary"><Link to={`/workflows/${workflowPermanentId}/edit`}><Pencil2Icon className="mr-2 h-4 w-4" />- Edit Workflow+ Edit</Link></Button><Button asChild>@@ -302,7 +302,7 @@ function WorkflowRun() {}}><PlayIcon className="mr-2 h-4 w-4" />- Rerun Workflow+ Rerun</Link></Button></div>