fix: dynamic sidebar tree refresh after import

- reloadTreePreservingExpanded no longer replaces the whole tree,
  only patches children of expanded nodes in-place
- New refreshParentNode(nodeId) function updates a single parent's children
- createFile, duplicateItem, confirmImport use refreshParentNode instead of reloadTreePreservingExpanded
- No intermediate render where children are lost
This commit is contained in:
2026-06-03 04:34:27 +08:00
parent 81405ed61b
commit 3c9b9edf8c
3 changed files with 17 additions and 10 deletions
File diff suppressed because one or more lines are too long