mirror of
https://github.com/rememberber/MooTool.git
synced 2026-12-01 03:18:19 +08:00
将 Vault/Git/MCP/AI、壳层主题密度、25 工具真实闭环与 desktopTest 638 项及 DIFF-065–471 文档/证据一并纳入仓库,便于持续对齐验收;产品窗 IME/冲突与三平台发行仍待验。 Co-authored-by: Cursor <cursoragent@cursor.com>
840 B
840 B
DIFF-301:Host/随手记「全部替换」成功不写 matches 状态栏
背景
Electron HostTool.replaceCurrent(true) / QuickNoteTool.replaceCurrent(true) 成功时仅更新正文与 replacedCount,无状态栏 notice(无匹配时仍 toast.info(findReplace.noMatches))。Compose Host/随手记此前写入 json.find.matches;JSON 工具已在 DIFF-283 等与 Electron 一致写空 notice。
行为
- F01 / F10:查找条「全部替换」成功:
findReplacedCount = count,session.notice = ""(不写 matches 文案)。 - 无匹配仍用
json.notice.noMatches;已替换计数仍由find.replacedPrefix展示。
验证
- 对照
next/src/features/host/HostTool.tsx、next/src/features/quickNote/QuickNoteTool.tsxreplaceCurrent ./gradlew :composeApp:desktopTest --offline