mirror of
https://github.com/langgenius/dify.git
synced 2026-05-13 08:57:28 +08:00
Consolidate menu components by extending NodeMenu to support a 'root' type, eliminating the redundant BlankAreaMenu component. This reduces code duplication and simplifies the context menu logic by storing isFolder in the context menu state instead of re-querying tree data. |
||
|---|---|---|
| .. | ||
| index.tsx | ||
| menu-item.tsx | ||
| node-menu.tsx | ||
| tree-context-menu.tsx | ||
| tree-edit-input.tsx | ||
| tree-guide-lines.tsx | ||
| tree-node.tsx | ||