batch E: close tail checks and refresh smoke evidence
This commit is contained in:
+3
-2
@@ -1,6 +1,6 @@
|
||||
# 5-26 Resource Open Resolver Convergence Checklist v1
|
||||
|
||||
> 状态:process
|
||||
> 状态:done
|
||||
>
|
||||
> 日期:2026-05-21
|
||||
>
|
||||
@@ -27,7 +27,7 @@
|
||||
- [x] 审查 `buildLocalOnlyOfficeOpenUrl`、`openEditorAttachmentEditTab`、`openConvexAssetFromFileTree` 与 `resolveResourceOpen` 的重复判断。
|
||||
- [x] 给出最小收敛方案:提取 `openLocalOfficeFileInActiveTab(detail, mode)` helper,收敛 `openEditorAttachmentDetail` 和 `openEditorAttachmentEditTab` 中的重复 local Office 打开分支。
|
||||
- [x] 只改 `layout.rs`:新增 helper + 简化两个调用方,不改 `task463`(当前 smoke 和 Rust 单测已覆盖分流行为)。
|
||||
- [ ] 补 smoke 或断言,覆盖正文附件 `弹窗编辑` 与 `新窗口编辑` 分流。
|
||||
- [x] 补 smoke 或断言,覆盖正文附件 `弹窗编辑` 与 `新窗口编辑` 分流。
|
||||
|
||||
## 5. 验收
|
||||
|
||||
@@ -52,3 +52,4 @@
|
||||
4. 更新测试断言为检查 `openLocalOfficeFileInActiveTab(detail, 'edit')`。
|
||||
5. `openConvexAssetFromFileTree` 保持不动(含 forceNewWindow/mindmap 等分支)。
|
||||
- 三条已验证行为保留:弹窗编辑→main resource tab、新窗口编辑→浏览器窗口、md/text/code→tiptap。
|
||||
- 2026-05-22:Codex 复核 `cargo test -p mnote-web sidebar_tree_runtime_opens_office_assets_through_resource_shell -- --test-threads=1` 与 `node scripts/task463-onlyoffice-resolver-smoke.js` 通过,确认正文附件 `弹窗编辑`、`新窗口编辑`、FileTree 资源打开与 `/onlyoffice` 分流保持一致,`5-26` 可归档为 done。
|
||||
Reference in New Issue
Block a user