Conditional Block (#4224)

This commit is contained in:
Celal Zamanoglu
2025-12-08 20:38:21 +03:00
committed by GitHub
parent e2242847bf
commit 464b72aeb1
21 changed files with 2303 additions and 129 deletions

View File

@@ -1,6 +1,13 @@
import { create } from "zustand";
import { WorkflowVersion } from "@/routes/workflows/hooks/useWorkflowVersionsQuery";
export type BranchContext = {
conditionalNodeId: string;
conditionalLabel: string;
branchId: string;
mergeLabel: string | null;
};
type WorkflowPanelState = {
active: boolean;
content:
@@ -15,6 +22,7 @@ type WorkflowPanelState = {
parent?: string;
connectingEdgeType?: string;
disableLoop?: boolean;
branchContext?: BranchContext;
// For comparison panel
version1?: WorkflowVersion;
version2?: WorkflowVersion;