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 |
||
|---|---|---|
| .. | ||
| editor | ||
| file-tree | ||
| hooks | ||
| utils | ||
| viewer | ||
| constants.ts | ||
| content-area.tsx | ||
| content-body.tsx | ||
| file-content-panel.tsx | ||
| file-tab-item.tsx | ||
| file-tabs.tsx | ||
| main.tsx | ||
| sidebar-search-add.tsx | ||
| sidebar.tsx | ||
| skill-page-layout.tsx | ||
| type.ts | ||