dify/web/app/components/workflow/skill/file-tree
yyh 552f9a8989
refactor(skill): simplify file tree search state management
Move searchTerm from props drilling to zustand store for cleaner
  architecture. Remove unnecessary controlled/uncontrolled pattern
  and unused debounce logic since search is pure frontend filtering.

  - Add fileTreeSearchTerm state to file-tree-slice
  - Remove useState and props from main.tsx
  - Simplify sidebar-search-add.tsx to read/write store directly
  - Add empty state UI with reset filter button
2026-01-20 12:43:56 +08:00
..
index.tsx refactor(skill): simplify file tree search state management 2026-01-20 12:43:56 +08:00
menu-item.tsx refactor(skill): unify node menu components with cva variants 2026-01-16 13:51:49 +08:00
node-menu.tsx refactor(skill): unify root/blank constants and eliminate magic strings 2026-01-19 23:07:49 +08:00
tree-context-menu.tsx refactor(skill): unify root/blank constants and eliminate magic strings 2026-01-19 23:07:49 +08:00
tree-edit-input.tsx feat(skill): add placeholder for inline tree node input 2026-01-19 22:01:31 +08:00
tree-guide-lines.tsx fix: fold indent style 2026-01-19 16:34:46 +08:00
tree-node-icon.tsx refactor(skill): split file operations hook and extract TreeNodeIcon component 2026-01-19 19:13:09 +08:00
tree-node.tsx refactor(skill): split file operations hook and extract TreeNodeIcon component 2026-01-19 19:13:09 +08:00