Files
MooTool/next-compose/docs/diff/353-vault-move-default-parent-path.md
RememBerBerandCursor c834db2a83 feat(next-compose): 对照 Electron 落地 F00–F25 与 A01–A03 主体能力
将 Vault/Git/MCP/AI、壳层主题密度、25 工具真实闭环与 desktopTest 638 项及 DIFF-065–471 文档/证据一并纳入仓库,便于持续对齐验收;产品窗 IME/冲突与三平台发行仍待验。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-17 06:51:45 +08:00

689 B
Raw Permalink Blame History

DIFF-353:Vault 移动对话框默认目标目录

问题

Electron JSON beginMove / 随手记 openTreeAction(move) 使用 parentPath(顶层条目默认 "",嵌套条目为父路径)。Compose 移动对话框误用 VaultSelectionPath.parentDirectory(selected, entries):当选中目录时返回目录自身,与 Electron 不一致;根级 Work 也会预填 Work 而非 ""。

行为

  • JSON / 随手记:打开移动对话框时,目标目录默认值为 VaultMove.parentDirectory(被移动路径)(对齐 Electron parentPath)。

验证

  • VaultMoveTest 增补根目录/嵌套目录用例
  • ./gradlew :composeApp:desktopTest --offline