MVP Debugger UI (#2888)

This commit is contained in:
Jonathan Dobson
2025-07-07 22:30:33 -04:00
committed by GitHub
parent d63053835f
commit acbdb15265
65 changed files with 2071 additions and 1022 deletions

View File

@@ -1,9 +1,13 @@
import { cn } from "@/util/utils";
import { Outlet, useMatch } from "react-router-dom";
import { Outlet, useMatch, useSearchParams } from "react-router-dom";
function WorkflowsPageLayout() {
const match = useMatch("/workflows/:workflowPermanentId/edit");
const [searchParams] = useSearchParams();
const embed = searchParams.get("embed");
const match =
useMatch("/workflows/:workflowPermanentId/edit") ||
location.pathname.includes("debug") ||
embed === "true";
return (
<main
className={cn({