mirror of
https://github.com/langgenius/dify.git
synced 2026-05-13 08:57:28 +08:00
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 |
||
|---|---|---|
| .. | ||
| 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 | ||