fix: locate note entries after their content mounts
Cross-platform packages / Validate source (push) Canceled after 0s
Cross-platform packages / macos arm64 (push) Canceled after 0s
Cross-platform packages / Authorize desktop packaging (push) Canceled after 0s
Cross-platform packages / linux arm64 (push) Canceled after 0s
Cross-platform packages / windows arm64 (push) Canceled after 0s
Cross-platform packages / linux x64 (push) Canceled after 0s
Cross-platform packages / macos x64 (push) Canceled after 0s
Cross-platform packages / windows x64 (push) Canceled after 0s
Cross-platform packages / Publish GitHub and OSS release (push) Canceled after 0s

Quick Notes could open the full workspace before its selected record was mounted, losing the scroll request. Perform entry navigation after React commits and retain a deterministic regression. Align the manual-compaction fixture with layered model selection and loaded conversation state.

Release note: 从快速笔记打开完整记录时,等待目标内容挂载后再定位,避免偶发只打开页面却未滚动到所选记录。
This commit is contained in:
mesalogo
2026-09-30 19:46:13 +08:00
parent 89fc100d4f
commit 3be55348a2
7 changed files with 41 additions and 12 deletions
@@ -65,3 +65,10 @@ Agent daemon 和协议不变,Agent 仍为 0.15.1。
类型检查、lint、双语说明校验和差异检查通过。该轮测试使用隔离 fixture,
没有新增付费模型调用;先前 4 次真实 Host 请求仅对应取消后续聊范围,
不作为新增标签工具的完整远程 UI 实测声明。
`89fc100` 的 Agent CI 通过;Desktop `36707706849` 为 5507 通过、55 跳过、
2 失败,前述三个失败场景均已通过。笔记滚动在请求完成回调中早于 DOM 提交,
以立即执行动画帧的回归稳定复现后,改在布局 Effect 中定位已挂载记录。
手动压缩独立复跑通过,夹具同步当前分层选择格式并等待目标会话历史显示;
尚不将独立通过视为 Linux 全仓通过。修正后完整 App/笔记组件及真实 Electron
导航/压缩共 450 项通过,类型检查和 lint 通过,无新增外部模型调用。
+8
View File
@@ -1,5 +1,13 @@
# Magic Notes Progress
## 2026-09-30: Navigate After Record Mount
Quick Notes navigation now scrolls after React commits the target record, rather
than scheduling from the data request's completion. A regression that runs the
animation-frame callback immediately fails before this fix and passes afterward.
The complete App/workspace tests and Electron navigation/compaction checks pass:
450 tests across four files, plus typecheck and lint. No provider calls were made.
## 2026-09-30: Manual Note Tags
Implemented FR-7 to FR-10 as described in
+3
View File
@@ -64,6 +64,9 @@ Runtime 状态尚未匹配当前选择时按钮仍禁用,点击不会发出请
2026-09-30 发布验证中,连续新建会话用例只等 Runtime mock 收到请求,尚未等
已用会话渲染完成就触发新建。沿用 `waitFor` 等待已发送用户消息可见,再保持
两次同批新建及最终数量断言;mock 调用不代表界面状态已提交。
同日 CI 再现快速笔记打开完整记录后未滚动:数据请求完成后的动画帧仍可能早于
React 提交目标 DOM。定位操作应在目标记录提交后的布局 Effect 中执行,
而不是在请求 Promise 完成时猜测渲染时机;立即执行动画帧的回归可稳定暴露旧问题。
## 整窗遮罩与原生拖动区域