dify/web/app/components/workflow/skill
yyh 2151676db1
refactor: use react-arborist built-in drag for internal node moves
Switch from native HTML5 drag to react-arborist's built-in drag system
for internal node drag-and-drop. The HTML5Backend used by react-arborist
was intercepting dragstart events, preventing native drag from working.

- Add onMove callback and disableDrop validation to Tree component
- Sync react-arborist drag state (isDragging, willReceiveDrop) to Zustand
- Simplify use-node-move to only handle API execution
- Update use-unified-drag to only handle external file uploads
- External file drops continue to work via native HTML5 events
2026-01-20 18:09:08 +08:00
..
editor feat: support picker vars files ui in editor 2026-01-20 14:01:30 +08:00
file-tree refactor: use react-arborist built-in drag for internal node moves 2026-01-20 18:09:08 +08:00
hooks refactor: use react-arborist built-in drag for internal node moves 2026-01-20 18:09:08 +08:00
utils feat: unified drag-and-drop for skill file tree 2026-01-20 18:09:08 +08:00
viewer refactor(skill): rename components for semantic clarity 2026-01-19 23:50:08 +08:00
constants.ts feat: unified drag-and-drop for skill file tree 2026-01-20 18:09:08 +08:00
content-area.tsx refactor(skill): rename components for semantic clarity 2026-01-19 23:50:08 +08:00
content-body.tsx refactor(skill): rename components for semantic clarity 2026-01-19 23:50:08 +08:00
file-content-panel.tsx refactor(skill): rename components for semantic clarity 2026-01-19 23:50:08 +08:00
file-tab-item.tsx refactor(skill): rename components for semantic clarity 2026-01-19 23:50:08 +08:00
file-tabs.tsx refactor(skill): rename components for semantic clarity 2026-01-19 23:50:08 +08:00
main.tsx refactor(skill): simplify file tree search state management 2026-01-20 12:43:56 +08:00
sidebar-search-add.tsx refactor(skill): simplify file tree search state management 2026-01-20 12:43:56 +08:00
sidebar.tsx chore: remove useless props 2026-01-15 11:24:59 +08:00
skill-page-layout.tsx chore: remove useless props 2026-01-15 11:24:59 +08:00
type.ts refactor(skill-editor): extract hooks and utils into separate directories 2026-01-15 16:00:42 +08:00