feat: enhance canvas functionality with new node types and improved data handling

- Added support for a new "compare" node type to facilitate side-by-side image comparisons.
- Updated AI image and prompt nodes to include aspect ratio handling for better image generation.
- Enhanced canvas toolbar to include export functionality for canvas data.
- Improved data resolution for compare nodes by resolving incoming edges and updating node data accordingly.
- Refactored frame node to support dynamic resizing and exporting capabilities.
- Introduced debounced saving for prompt node to optimize performance during user input.
This commit is contained in:
Matthias
2026-03-25 21:33:22 +01:00
parent fffdae3a9c
commit da6529f263
19 changed files with 1801 additions and 122 deletions

View File

@@ -13,14 +13,18 @@
"@daveyplate/better-auth-ui": "^3.4.0",
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/utilities": "^3.2.2",
"@napi-rs/canvas": "^0.1.97",
"@xyflow/react": "^12.10.1",
"better-auth": "^1.5.6",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"convex": "^1.34.0",
"jimp": "^1.6.0",
"jszip": "^3.10.1",
"lucide-react": "^1.6.0",
"next": "16.2.1",
"next-themes": "^0.4.6",
"optional": "^0.1.4",
"radix-ui": "^1.4.3",
"react": "19.2.4",
"react-dom": "19.2.4",
@@ -33,6 +37,7 @@
},
"devDependencies": {
"@tailwindcss/postcss": "^4",
"@types/jszip": "^3.4.1",
"@types/node": "^20",
"@types/react": "^19",
"@types/react-dom": "^19",