dify/web/app/components/workflow
yyh 9f444f1f6a
refactor(skill): split file operations hook and extract TreeNodeIcon component
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.
2026-01-19 19:13:09 +08:00
..
__tests__ chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
block-selector fix: click tool inner caused blur 2026-01-15 17:58:38 +08:00
constants feat: add Command node support 2026-01-06 19:30:38 +08:00
datasets-detail-store chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
header feat: graph skill main struct 2026-01-14 15:41:02 +08:00
help-line chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
hooks fix: fix LOOP_CHILDREN_Z_INDEX (#30719) 2026-01-14 10:22:31 +08:00
hooks-store feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) (#30246) 2025-12-31 11:13:22 +08:00
nodes fix: lint 2026-01-19 16:35:50 +08:00
note-node fix: lint 2026-01-19 16:35:50 +08:00
operator refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
panel fix(web): Zustand testing best practices and state read optimization (#31163) 2026-01-19 10:31:34 +08:00
plugin-dependency chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
run feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) (#30246) 2025-12-31 11:13:22 +08:00
simple-node chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
skill refactor(skill): split file operations hook and extract TreeNodeIcon component 2026-01-19 19:13:09 +08:00
store feat: add external file drag-and-drop upload to file tree 2026-01-19 18:05:58 +08:00
utils feat: add Command node support 2026-01-06 19:30:38 +08:00
variable-inspect refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
workflow-preview refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
block-icon.tsx feat: command node output variables 2026-01-07 11:15:52 +08:00
candidate-node-main.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
candidate-node.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
constants.ts feat: command node output variables 2026-01-07 11:15:52 +08:00
context.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
custom-connection-line.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
custom-edge-linear-gradient-render.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
custom-edge.tsx feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) (#30246) 2025-12-31 11:13:22 +08:00
dsl-export-confirm-modal.tsx feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) (#30246) 2025-12-31 11:13:22 +08:00
features.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
index.tsx feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) (#30246) 2025-12-31 11:13:22 +08:00
node-contextmenu.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
panel-contextmenu.tsx refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
selection-contextmenu.tsx refactor(i18n): use JSON with flattened key and namespace (#30114) 2025-12-29 14:52:32 +08:00
shortcuts-name.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
style.css fix: ReactFlow background in dark theme (#20013) 2025-05-21 10:32:07 +08:00
syncing-data-modal.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
types.ts feat: graph skill main struct 2026-01-14 15:41:02 +08:00
update-dsl-modal.tsx refactor: rename new runtime as sandbox feature 2026-01-12 01:53:39 +08:00
view-picker.tsx fix: switch zindex 2026-01-15 11:31:08 +08:00
workflow-history-store.tsx feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) (#30246) 2025-12-31 11:13:22 +08:00