Commit Graph

35 Commits

Author SHA1 Message Date
f1c61fd14e feat(canvas): separate mixer resize and crop semantics 2026-04-15 08:31:53 +02:00
f499aea691 feat(canvas): add mixer drag-resize and mixer->render bake 2026-04-11 10:03:41 +02:00
ae2fa1d269 feat(canvas): improve collapsed sidebar scanability and branding 2026-04-11 08:49:05 +02:00
028fce35c2 feat(canvas): finalize mixer reconnect swap and related updates 2026-04-11 07:42:42 +02:00
a1df097f9c feat(media): add Convex media archive with backfill and mixed-media library 2026-04-10 15:15:44 +02:00
463830f178 feat(canvas): implement local node size pinning and reconciliation logic
- Added functions to handle local node size pins, ensuring that node sizes are preserved during reconciliation.
- Updated `reconcileCanvasFlowNodes` to incorporate size pinning logic.
- Enhanced tests to verify the correct behavior of size pinning in various scenarios.
- Updated related components to support new size pinning functionality.
2026-04-10 08:48:34 +02:00
b08e448be0 feat(canvas): add persistent node favorites with toolbar star and glow 2026-04-09 14:12:43 +02:00
Matthias
b7f24223f2 Enhance canvas functionality by adding media preview capabilities and image upload handling. Introduce compressed image previews during uploads, improve media library integration, and implement retry logic for bridge edge creation. Update dashboard to display media previews and optimize image node handling. 2026-04-08 20:44:31 +02:00
90e36a5c15 perf(canvas): reduce Convex hot-path query load 2026-04-08 12:49:23 +02:00
a8386742bf fix(canvas): harmonize prompt model defaults for edge insertions 2026-04-08 02:40:23 +02:00
ed08b976f9 feat(canvas): add video-prompt node and enhance video generation support
- Introduced a new node type "video-prompt" for AI video generation, including its integration into the canvas command palette and node template picker.
- Updated connection validation to allow connections from text nodes to video-prompt and from video-prompt to ai-video nodes.
- Enhanced error handling and messaging for video generation failures, including specific cases for provider issues.
- Added tests to validate new video-prompt functionality and connection policies.
- Updated localization files to include new labels and prompts for video-prompt and ai-video nodes.
2026-04-07 08:50:59 +02:00
36e8b7d3db refactor(canvas): remove unused animation and optimize edge insertion timing
- Removed the unused CSS animation for edge insertion to streamline the codebase.
- Updated the edge insertion reflow duration from 1297ms to 997ms for improved performance.
- Refactored transition timing function for edge insertion to enhance animation smoothness.
- Cleaned up related test cases to reflect the changes in edge insertion logic.
2026-04-06 21:30:56 +02:00
b7771764d8 feat(canvas): enhance edge insertion animations and update reflow duration
- Added a new CSS animation for edge insertion to improve visual feedback during node creation.
- Updated the edge insertion reflow duration from 997ms to 1297ms for smoother transitions.
- Refactored related components to support the new animation and ensure consistent behavior across the canvas.
- Enhanced tests to validate the new edge insertion features and animations.
2026-04-06 11:08:32 +02:00
fa6a41f775 feat(canvas): implement edge insertion reflow and enhance connection validation
- Introduced a new CSS transition for edge insertion reflowing to improve visual feedback during node adjustments.
- Enhanced the connection validation logic to include options for optimistic edges, ensuring better handling of edge creation scenarios.
- Updated the canvas connection drop menu to support additional templates and improved edge insertion handling.
- Refactored edge insertion logic to accommodate local node position adjustments during reflow operations.
- Added tests for new edge insertion features and connection validation improvements.
2026-04-05 23:25:26 +02:00
7c34da45b4 feat(canvas): enhance edge insertion and local node data handling
- Added support for new edge insertion features, including default edge types and improved layout calculations.
- Introduced local node data persistence during flow reconciliation to ensure data integrity.
- Updated connection drop menu to handle edge insertions and node interactions more effectively.
- Enhanced testing for edge insert layout and local node data management.
2026-04-05 21:26:20 +02:00
de37b63b2b feat(canvas): accelerate local previews and harden edge flows 2026-04-05 17:28:43 +02:00
12cd75c836 refactor(canvas): integrate graph-based handling for image source resolution and pipeline steps 2026-04-04 10:28:20 +02:00
90d6fe55b1 feat(canvas): implement dropped connection resolution and enhance connection handling 2026-04-04 09:56:01 +02:00
12202ad337 fix(canvas): default render compares to preview mode 2026-04-04 08:06:35 +02:00
8f2c3192d8 fix(canvas): restore compare previews for render inputs 2026-04-04 07:53:36 +02:00
376291a193 fix(canvas): cover drop regressions and lint 2026-04-03 23:19:58 +02:00
1bf1fd4a1b refactor(canvas): extract drop handling hook 2026-04-03 23:12:30 +02:00
58faf12d75 chore(test): remove unintended canvas hook coverage 2026-04-03 23:03:18 +02:00
59658cb8be refactor(canvas): extract connection handling hook 2026-04-03 22:59:47 +02:00
47cb167bd3 fix(canvas): use resolved ids for drag edge splits 2026-04-03 22:48:56 +02:00
81edfa6da7 fix(canvas): reject invalid edge splits before mutation 2026-04-03 22:38:20 +02:00
99cd1b5233 chore(test): remove unintended task 5 coverage 2026-04-03 22:21:40 +02:00
dee10405d2 refactor(canvas): extract node interaction hook 2026-04-03 22:18:42 +02:00
ffd7f389b8 test(canvas): cover flow resize lock
Add hook-level regression coverage proving useCanvasFlowReconciliation preserves local node state while the shared resize lock is active. The test harness now supports driving the resize ref the same way production interactions do.
2026-04-03 22:09:17 +02:00
9fb850f2a4 fix(canvas): align flow reconciliation hook with task plan
Rename the hook test to the planned path, revert the persistent Vitest config tweak, and narrow the hook inputs to reconciliation data plus shared refs. Keep verification working with a temporary test config instead of expanding the repo-level include list.
2026-04-03 22:01:18 +02:00
d1c14c93e5 refactor(canvas): extract flow reconciliation hook
Move Convex-to-local node and edge reconciliation into a dedicated hook so canvas.tsx has a cleaner sync boundary during modularization. Add hook-level tests for optimistic edge carry and drag-lock behavior to preserve the existing UX.
2026-04-03 21:36:02 +02:00
5223d3d8d7 fix(canvas): refresh sync engine hook dependencies 2026-04-03 21:26:24 +02:00
c060c57ad8 refactor(canvas): extract sync engine hook 2026-04-03 21:11:04 +02:00
f2f22b66a7 test(canvas): expand reconciliation helper coverage 2026-04-03 20:51:21 +02:00
928fd81904 refactor(canvas): extract flow reconciliation helpers 2026-04-03 20:42:47 +02:00