Feature/workflow history (#3432)

Co-authored-by: Shuchang Zheng <wintonzheng0325@gmail.com>
This commit is contained in:
Alex Angin
2025-09-21 02:48:27 -04:00
committed by GitHub
parent 9a9ee01253
commit 0b47482fcb
19 changed files with 1387 additions and 67 deletions

View File

@@ -1,14 +1,24 @@
import { create } from "zustand";
import { WorkflowVersion } from "@/routes/workflows/hooks/useWorkflowVersionsQuery";
type WorkflowPanelState = {
active: boolean;
content: "cacheKeyValues" | "parameters" | "nodeLibrary";
content:
| "cacheKeyValues"
| "parameters"
| "nodeLibrary"
| "history"
| "comparison";
data?: {
previous?: string | null;
next?: string | null;
parent?: string;
connectingEdgeType?: string;
disableLoop?: boolean;
// For comparison panel
version1?: WorkflowVersion;
version2?: WorkflowVersion;
showComparison?: boolean;
};
};