Files
MooTool/next-compose/docs/diff/202-json-vault-create-under-selection.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

714 B
Raw Permalink Blame History

DIFF-202:JSON Vault 新建文件/文件夹落在当前选中目录

背景

Electron JsonVaultPanel.beginCreateFile / beginCreateFolder 使用 selectedDirectory(selectedEntry) 作为父路径。

Compose 此前「新建」始终在 Vault 根目录创建;「新文件夹」对话框默认名称为固定 folder,未带上父路径。

行为

  • 新增 VaultSelectionPath.parentDirectory / join(对照 selectedDirectory / parentPath)。
  • F04:「新建」片段与「新文件夹」默认路径基于 vaultSelectedPath(否则 currentFile)。
  • i18n 增加 json.vault.defaultFolder。

验证

  • VaultSelectionPathTest
  • ./gradlew :composeApp:desktopTest --offline