refactor: split tree shell filetree menu

This commit is contained in:
lix-2026
2026-05-26 03:35:10 +08:00
parent 3fc8723eea
commit 72ffa5377d
5 changed files with 406 additions and 333 deletions
+5
View File
@@ -182,6 +182,10 @@ pub fn build_router(state: AppState) -> Router {
"/api/mnote-browser-runtime/tree-shell-filetree-runtime.js",
get(web_shell::tree_shell_filetree_runtime_asset),
)
.route(
"/api/mnote-browser-runtime/tree-shell-filetree-menu-runtime.js",
get(web_shell::tree_shell_filetree_menu_runtime_asset),
)
.route(
"/api/mnote-browser-runtime/tree-shell-picker-runtime.js",
get(web_shell::tree_shell_picker_runtime_asset),
@@ -645,6 +649,7 @@ mod tests {
"/api/mnote-browser-runtime/tree-shell-state-runtime.js",
"/api/mnote-browser-runtime/tree-shell-icons-runtime.js",
"/api/mnote-browser-runtime/tree-shell-filetree-runtime.js",
"/api/mnote-browser-runtime/tree-shell-filetree-menu-runtime.js",
"/api/mnote-browser-runtime/tree-shell-picker-runtime.js",
"/api/mnote-browser-runtime/tree-shell-dom-runtime.js",
"/api/mnote-browser-runtime/document-conflict-panel-runtime.js",