feat(build): Add undo/redo functionality and integrate custom nodes

Introduce a `useUndoRedo` hook to manage state history with undo/redo, persistence using localStorage, and state validation. Updated the build page to display a flow with initial custom nodes and edges, replacing the previous flow editor implementation.
This commit is contained in:
Andy Hooker
2025-02-22 17:17:46 -06:00
parent 84759053a7
commit 6fca2352bb

View File

@@ -63,6 +63,7 @@
"framer-motion": "^12.0.11",
"geist": "^1.3.1",
"launchdarkly-react-client-sdk": "^3.6.1",
"lodash": "^4.17.21",
"lucide-react": "^0.474.0",
"moment": "^2.30.1",
"next": "^14.2.21",
@@ -94,6 +95,7 @@
"@storybook/react": "^8.3.5",
"@storybook/test": "^8.3.5",
"@storybook/test-runner": "^0.21.0",
"@types/lodash": "^4.17.15",
"@types/negotiator": "^0.6.3",
"@types/node": "^22.13.0",
"@types/react": "^18",