mirror of
https://github.com/langgenius/dify.git
synced 2026-05-13 08:57:28 +08:00
Split use-file-operations.ts (248 lines) into smaller focused hooks: - use-create-operations.ts for file/folder creation and upload - use-modify-operations.ts for rename and delete operations - use-file-operations.ts now serves as orchestrator maintaining backward compatibility Extract TreeNodeIcon component from tree-node.tsx for cleaner separation of concerns. Add brief comments to drag hooks explaining their purpose and relationships. |
||
|---|---|---|
| .. | ||
| use-create-operations.ts | ||
| use-delayed-click.ts | ||
| use-file-drop.ts | ||
| use-file-operations.ts | ||
| use-folder-file-drop.ts | ||
| use-inline-create-node.ts | ||
| use-modify-operations.ts | ||
| use-root-file-drop.ts | ||
| use-skill-asset-tree.ts | ||
| use-sync-tree-with-active-tab.ts | ||
| use-tree-node-handlers.ts | ||