feat(notebook): reload, journal and state panel polish

D3 (partial): reload re-parses the document while preserving kernels, marks changed cells dirty; Journal and Reload view actions; filtered Node variable names for the state panel; per-session timeout parsing before spawn.
This commit is contained in:
cflmy committed 2026-10-18 01:41:36 +08:00
1 parent 3001ed7ba5
commit 9873df7099
6 files changed
+131 -6

No files matched your search

+5
View File
@@ -179,6 +179,11 @@ fn handle(root: &ViewRoot, request: Request) -> Result<()> {
notebook_api::api_open(&root.root, body)
})
}
"/api/session/reload" => {
return api_debug_post(request, |body| {
notebook_api::api_reload(&root.root, body)
})
}
"/api/session/close" => {
return api_debug_post(request, |body| {
notebook_api::api_close(&root.root, body)