Rename workflow /debug URL path to /build (#SKY-7362) (#4656)

This commit is contained in:
Celal Zamanoglu
2026-02-07 00:03:07 +03:00
committed by GitHub
parent 0772ae8aa9
commit 5dd73ce27b
15 changed files with 42 additions and 14 deletions

View File

@@ -1,4 +1,5 @@
import { Navigate, Outlet, createBrowserRouter } from "react-router-dom";
import { DebugToBuildRedirect } from "@/routes/workflows/DebugToBuildRedirect";
import { BrowserSession } from "@/routes/browserSessions/BrowserSession";
import { BrowserSessions } from "@/routes/browserSessions/BrowserSessions";
import { PageLayout } from "./components/PageLayout";
@@ -132,13 +133,21 @@ const router = createBrowserRouter([
element: <Navigate to="runs" />,
},
{
path: "debug",
path: "build",
element: <Debugger />,
},
{
path: ":workflowRunId/:blockLabel/debug",
path: ":workflowRunId/:blockLabel/build",
element: <Debugger />,
},
{
path: "debug",
element: <DebugToBuildRedirect />,
},
{
path: ":workflowRunId/:blockLabel/debug",
element: <DebugToBuildRedirect />,
},
{
path: "edit",
element: <WorkflowEditor />,