Commit 1427a36
feat(asset-tree): user custom favorite folders UI
- Add a Favorites tree (root -> folders -> assets), placed on top
- Right-click menus: create/delete folder, create subfolder, favorite to a
folder, remove favorite, connect / new window / split connect, batch connect
- Nested folders, cascade checkbox; favorite/unfavorite update nodes locally
via ztree addNodes/removeNode without rebuilding the tree (no collapse)
- Remove the built-in flat Favorite node from My assets to avoid duplication1 parent 38846f5 commit 1427a36
2 files changed
Lines changed: 508 additions & 50 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
71 | | - | |
| 72 | + | |
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
| |||
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
0 commit comments