Files
MooTool/next-compose/docs/diff/322-vault-git-diff-load-toast.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

478 B
Raw Permalink Blame History

DIFF-322:Vault Git 加载 Diff 对齐 Electron

问题

Electron showWorkingDiff / showCommitDiff 在请求前清空 diff,失败时 toast.error 并结束 busy。Compose loadFileDiffs 失败路径未 toast,且加载期间仍显示上一份 diff。

行为

  • 开始加载时清空 fileDiffs / selectedDiffPath。
  • GitEngine.fileDiffs 异常时 toastError,finally 恢复 busy。

验证

  • ./gradlew :composeApp:desktopTest --offline