diff --git a/.kiro/specs/workflow-drag-drop-fix/tasks.md b/.kiro/specs/workflow-drag-drop-fix/tasks.md index f7bfdae..d657239 100644 --- a/.kiro/specs/workflow-drag-drop-fix/tasks.md +++ b/.kiro/specs/workflow-drag-drop-fix/tasks.md @@ -34,3 +34,17 @@ - Validate that original nodes remain unchanged in right panel - Test configuration preservation and editing functionality - _Requirements: 1.1, 1.2, 1.3, 1.5, 2.1, 2.2, 3.1, 3.2, 3.3_ + +- [x] 6. Fix workflow node drag and drop reordering + - Enable proper drag and drop functionality for reordering nodes within the workflow panel + - Configure vuedraggable with correct options for internal sorting + - Add proper event handlers for drag operations + - Remove unused drag event handlers to fix linting issues + - _Requirements: 1.2, 1.3, 2.2_ + +- [x] 7. Implement independent scrolling for left and right panels + - Separate scroll containers for left workflow panel and right node library + - Ensure left panel scrolling doesn't affect right panel and vice versa + - Maintain proper layout and responsive behavior + - Fix overflow handling for both panels + - _Requirements: 4.1, 4.2_ diff --git a/app/components/flow-nodes/WorkflowEditor.vue b/app/components/flow-nodes/WorkflowEditor.vue index 5eb4bce..bce628e 100644 --- a/app/components/flow-nodes/WorkflowEditor.vue +++ b/app/components/flow-nodes/WorkflowEditor.vue @@ -53,10 +53,10 @@
- {{ dragOverWorkflow ? '松开鼠标添加节点' : '从右侧拖拽节点到此处' }} + 从右侧点击节点添加到此处 +
++ 添加后可拖拽排序
- 拖拽节点到左侧创建任务流 + 点击节点添加到左侧任务流