refactor: split document session runtime
This commit is contained in:
+4
-4
@@ -124,13 +124,13 @@ cargo test --manifest-path rust/Cargo.toml -p mnote-web --lib routes::tests::mno
|
||||
- [x] B3. `document-resource-tab-runtime.js`:resource tab registry、MRU、close guard、resource text/image/frame editor mount。
|
||||
- [x] B4. `document-mindmap-host-runtime.js`:primary mindmap object shell、mindmap resource tab mount/unmount。
|
||||
- [x] B5. `document-slash-position-runtime.js`:slash menu active root、positioning、mutation observer。
|
||||
- [ ] B6. entrypoint 只负责读取 bootstrap、加载 runtime、装配各子模块。
|
||||
- [x] B6. entrypoint 只负责读取 bootstrap、加载 runtime、装配各子模块。
|
||||
|
||||
验收标准:
|
||||
|
||||
- [ ] 每个新 JS 文件少于 1,500 行。
|
||||
- [ ] entrypoint 少于 900 行。
|
||||
- [ ] `document_editor_adapter` 相关测试不再依赖在 Rust raw string 中字面搜索。
|
||||
- [x] 每个新 JS 文件少于 1,500 行。
|
||||
- [x] entrypoint 少于 900 行。
|
||||
- [x] `document_editor_adapter` 相关测试不再依赖在 Rust raw string 中字面搜索。
|
||||
|
||||
验收命令:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user