refactor: extract table overlay helpers

This commit is contained in:
lix-2026
2026-05-25 07:32:48 +08:00
parent 6a84d50fbc
commit 06ace3c5e6
5 changed files with 64 additions and 62 deletions
@@ -267,4 +267,4 @@ UI / 浏览器可见项必须有真实浏览器截图或结构化 smoke 证据
- 2026-05-25Batch AF 未派发 Reasonix worker;基于 Batch AE Worker B 只读审计和 CodeGraph/`rg` 本地复核,主控完成 table overlay 小切片。
- 修改:`editor_runtime/overlays.rs` 新增 `table_overlay_anchor_from_table``current_table_overlay_anchor``table_row_aux_style``table_col_aux_style``lib.rs` 删除同名实现并通过 import 继续调用。
- 边界:未迁 table selection signal、row/column click handler、overlay DOM view 或 `table_selection_overlay_style`;本批只外置表格 overlay anchor / aux style 的纯 DOM rect 与 CSS 计算。
- 验证待补`cargo fmt --manifest-path rust/Cargo.toml --all --check``cargo check --manifest-path rust/spikes/leptos-tiptap-spike/Cargo.toml`、wasm release build、`wasm-bindgen``task489``task488``task479`
- 验证:`cargo fmt --manifest-path rust/Cargo.toml --all --check``cargo check --manifest-path rust/spikes/leptos-tiptap-spike/Cargo.toml`、wasm release build、`wasm-bindgen``MNOTE_WEB_SMOKE_BASE_URL=http://127.0.0.1:3001 NODE_PATH=/mnt/Data1T/mnote/node_modules node scripts/task489-block-menu-delete-undo-smoke.js``MNOTE_WEB_SMOKE_BASE_URL=http://127.0.0.1:3001 NODE_PATH=/mnt/Data1T/mnote/node_modules node scripts/task488-local-attachment-link-delete-undo-smoke.js``MNOTE_WEB_SMOKE_BASE_URL=http://127.0.0.1:3001 NODE_PATH=/mnt/Data1T/mnote/node_modules node scripts/task479-local-folder-markdown-resource-lifecycle-smoke.js`