mirror of
https://github.com/langgenius/dify.git
synced 2026-05-13 08:57:28 +08:00
Remove redundant createTargetNodeId and use selectedTreeNodeId for both visual highlight and creation target. This simplifies the state management by having a single source of truth for tree selection, similar to VSCode's file explorer behavior where both files and folders can be selected. |
||
|---|---|---|
| .. | ||
| 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 | ||