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. |
||
|---|---|---|
| .. | ||
| index.tsx | ||
| menu-item.tsx | ||
| node-menu.tsx | ||
| tree-context-menu.tsx | ||
| tree-edit-input.tsx | ||
| tree-guide-lines.tsx | ||
| tree-node-icon.tsx | ||
| tree-node.tsx | ||