refactor: split document resource tab runtime

This commit is contained in:
lix-2026
2026-05-26 01:15:28 +08:00
parent 634d0b21f8
commit 87a4a92c35
6 changed files with 907 additions and 784 deletions
+5
View File
@@ -150,6 +150,10 @@ pub fn build_router(state: AppState) -> Router {
"/api/mnote-browser-runtime/document-mindmap-host-runtime.js",
get(web_shell::document_mindmap_host_runtime_asset),
)
.route(
"/api/mnote-browser-runtime/document-resource-tab-runtime.js",
get(web_shell::document_resource_tab_runtime_asset),
)
.route(
"/api/mnote-browser-runtime/document-slash-position-runtime.js",
get(web_shell::document_slash_position_runtime_asset),
@@ -577,6 +581,7 @@ mod tests {
"/api/mnote-browser-runtime/document-conflict-panel-runtime.js",
"/api/mnote-browser-runtime/document-pane-runtime.js",
"/api/mnote-browser-runtime/document-mindmap-host-runtime.js",
"/api/mnote-browser-runtime/document-resource-tab-runtime.js",
"/api/mnote-browser-runtime/document-slash-position-runtime.js",
"/api/mnote-browser-runtime/document-tiptap-conversion-runtime.js",
"/api/mnote-browser-runtime/document-editor-adapter-runtime.js",