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>
715 B
715 B
DIFF-405:备份/导入重载后 Compose 正文字段同步
背景
DIFF-400 在 sessionGeneration 递增时原地 restore 工具会话。Host 方案正文、文本对比左右栏使用 remember { TextFieldValue(...) } 局部状态,仅依赖 session.content / session.left 变化时偶发未与 SQLite 快照对齐(例如重载后字段值与局部缓存一致性的边界)。
行为
- Host:
contentField同步LaunchedEffect增加sessionGeneration依赖。 - 文本对比:左右
TextFieldValue同步LaunchedEffect增加sessionGeneration依赖。
验收
- F02/F10、A03(与 DIFF-404 重载链路配合);
./gradlew :composeApp:desktopTest --offline。