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