diff --git a/skyvern-frontend/src/router.tsx b/skyvern-frontend/src/router.tsx
index eba9b845..d72b2329 100644
--- a/skyvern-frontend/src/router.tsx
+++ b/skyvern-frontend/src/router.tsx
@@ -102,6 +102,10 @@ const router = createBrowserRouter([
children: [
{
index: true,
+ element: ,
+ },
+ {
+ path: "edit",
element: ,
},
{
diff --git a/skyvern-frontend/src/routes/root/Header.tsx b/skyvern-frontend/src/routes/root/Header.tsx
index 647f62c1..b7e60a30 100644
--- a/skyvern-frontend/src/routes/root/Header.tsx
+++ b/skyvern-frontend/src/routes/root/Header.tsx
@@ -3,7 +3,7 @@ import GitHubButton from "react-github-btn";
import { Link, useMatch } from "react-router-dom";
function Header() {
- const match = useMatch("/workflows/:workflowPermanentId");
+ const match = useMatch("/workflows/:workflowPermanentId/edit");
if (match) {
return null;
diff --git a/skyvern-frontend/src/routes/workflows/WorkflowPage.tsx b/skyvern-frontend/src/routes/workflows/WorkflowPage.tsx
index 8740a5fc..97f03052 100644
--- a/skyvern-frontend/src/routes/workflows/WorkflowPage.tsx
+++ b/skyvern-frontend/src/routes/workflows/WorkflowPage.tsx
@@ -22,6 +22,7 @@ import {
import { useCredentialGetter } from "@/hooks/useCredentialGetter";
import { basicTimeFormat } from "@/util/timeFormat";
import { cn } from "@/util/utils";
+import { Pencil2Icon } from "@radix-ui/react-icons";
import { useQuery } from "@tanstack/react-query";
import {
Link,
@@ -84,11 +85,19 @@ function WorkflowPage() {
>
)}
-
+
+
+
+
diff --git a/skyvern-frontend/src/routes/workflows/Workflows.tsx b/skyvern-frontend/src/routes/workflows/Workflows.tsx
index a24489d1..3653aa0d 100644
--- a/skyvern-frontend/src/routes/workflows/Workflows.tsx
+++ b/skyvern-frontend/src/routes/workflows/Workflows.tsx
@@ -111,7 +111,7 @@ function Workflows() {
queryClient.invalidateQueries({
queryKey: ["workflows"],
});
- navigate(`/workflows/${response.data.workflow_permanent_id}`);
+ navigate(`/workflows/${response.data.workflow_permanent_id}/edit`);
},
});
@@ -250,7 +250,7 @@ function Workflows() {
onClick={(event) => {
handleIconClick(
event,
- `/workflows/${workflow.workflow_permanent_id}`,
+ `/workflows/${workflow.workflow_permanent_id}/edit`,
);
}}
>
diff --git a/skyvern-frontend/src/routes/workflows/WorkflowsPageLayout.tsx b/skyvern-frontend/src/routes/workflows/WorkflowsPageLayout.tsx
index bd524b60..57c86d47 100644
--- a/skyvern-frontend/src/routes/workflows/WorkflowsPageLayout.tsx
+++ b/skyvern-frontend/src/routes/workflows/WorkflowsPageLayout.tsx
@@ -2,7 +2,7 @@ import { cn } from "@/util/utils";
import { Outlet, useMatch } from "react-router-dom";
function WorkflowsPageLayout() {
- const match = useMatch("/workflows/:workflowPermanentId");
+ const match = useMatch("/workflows/:workflowPermanentId/edit");
return (