docs: update runtime extraction status

This commit is contained in:
lix-2026
2026-05-25 19:34:14 +08:00
parent 26ded3f138
commit 7d5319606c
2 changed files with 12 additions and 10 deletions
@@ -406,11 +406,11 @@ UI / 浏览器可见项必须有真实浏览器截图或结构化 smoke 证据
| 文件 | 原大小 | 现大小 | 变化 |
|------|--------|--------|------|
| `lib.rs` | 9,873 行 | 8,860 行 | **-10%** |
| `lib.rs` | 9,873 行 | 8,671 行 | **-12%** |
| `editor_runtime/mindmap_node_view.rs` | — | 909 行 | 新建 |
| `editor_runtime/bridge_events.rs` | — | 149 行 | 新建 |
### editor_runtime/ 最终模块清单(17 文件,超出原 5-28 规划的 14 文件
### editor_runtime/ 最终模块清单(16 模块,另有 `mod.rs`
| 模块 | 说明 | 来源 |
|------|------|------|
@@ -419,7 +419,6 @@ UI / 浏览器可见项必须有真实浏览器截图或结构化 smoke 证据
| `block_dnd.rs` | 块拖拽几何 | 5-29 |
| `block_hover_state.rs` | HoveredBlockState 共享类型 | 5-29 |
| `block_menu_document.rs` | legacy JSON helper | 5-29 |
| `block_menu_legacy_html.rs` | legacy HTML 操作 | 5-29 |
| `block_menu_overlay.rs` | block menu 几何 | 5-29 |
| `bridge_events.rs` | 事件常量 + payload 类型 | **本批新建** |
| `command_sync.rs` | 命令同步 | 5-28 P2 |
@@ -436,7 +435,6 @@ UI / 浏览器可见项必须有真实浏览器截图或结构化 smoke 证据
| 项 | 说明 |
|----|------|
| HTML 整文替换 → history-safe Tiptap command | 拖拽重排 + 拷贝副本 3 条路径,`history_safe_commands.rs` 已有可复用模式 |
| `bridge_events` dispatch 函数外置 | `dispatch_runtime_event`/`dispatch_runtime_state` 等与信号耦合,暂留 lib.rs |
- 2026-05-25Reasonix 独立收口完成。更改本 checklist 状态为 `done`
- STYLE 测试修复:`STYLE``SPIKE_STYLE` 引用修复 + `block_dnd` 测试坐标语义修正,`cargo test` 13/13 全部通过。
@@ -445,3 +443,8 @@ UI / 浏览器可见项必须有真实浏览器截图或结构化 smoke 证据
- 浏览器 smoke 基线(Worker D):task488、task489、task479 全部 PASS。
- 已验证:`cargo fmt --check`, `cargo check -p mnote-leptos-tiptap-spike`, `cargo build --target wasm32-unknown-unknown --release`, `cargo test (13/13)`
- 未迁移(有意保留的 shell 编排):`try_sync_editor_overlay_state``sync_overlays_on_selection_change` 已在 `overlays.rs` 中。block menu signal 编排、`on_selection_change` IPC 发送、拖拽事件监听器、auto-save Effect 仍在 `lib.rs`
- 2026-05-25Codex 复核 Reasonix “未激活”结论后完成实际激活与 history-safe 收口。
- `editor_runtime/mod.rs` 正式注册 `mindmap_node_view.rs``bridge_events.rs``lib.rs` 删除重复 mindmap shell / bridge payload 代码,`mount_mindmap_shell` / `unmount_mindmap_shell` 保留为 `wasm_bindgen` 薄包装。
- 拖拽重排两条路径与块菜单“拷贝副本”不再读取/写回整文 HTML,改为 `move_top_level_block_with_history` / `duplicate_top_level_block_with_history` + `sync_persisted_editor_command`
- 删除本轮变成无调用方的 `block_menu_legacy_html.rs``apply_html_update`generated island JS/WASM 已重新生成。
- 已验证:`cargo fmt --manifest-path rust/Cargo.toml --all --check``cargo check --manifest-path rust/spikes/leptos-tiptap-spike/Cargo.toml``cargo build --manifest-path rust/spikes/leptos-tiptap-spike/Cargo.toml --target wasm32-unknown-unknown --release``wasm-bindgen --target web --out-dir rust/spikes/leptos-tiptap-spike/generated/island --out-name mnote-leptos-tiptap-spike-island rust/spikes/leptos-tiptap-spike/target/wasm32-unknown-unknown/release/mnote_leptos_tiptap_spike.wasm``task489``task488``task479`、临时 Playwright 拷贝副本 undo/redo + 块拖拽重排回归。