@jupyterlab/docmanager-extension
Advanced tools
Comparing version 3.6.1 to 3.6.2
@@ -668,3 +668,16 @@ // Copyright (c) Jupyter Development Team. | ||
} | ||
return context.saveAs(); | ||
const onChange = (sender, args) => { | ||
if (args.type === 'save' && | ||
args.newValue && | ||
args.newValue.path !== context.path) { | ||
void docManager.closeFile(context.path); | ||
void commands.execute(CommandIDs.open, { | ||
path: args.newValue.path | ||
}); | ||
} | ||
}; | ||
docManager.services.contents.fileChanged.connect(onChange); | ||
context | ||
.saveAs() | ||
.finally(() => docManager.services.contents.fileChanged.disconnect(onChange)); | ||
} | ||
@@ -671,0 +684,0 @@ } |
{ | ||
"name": "@jupyterlab/docmanager-extension", | ||
"version": "3.6.1", | ||
"version": "3.6.2", | ||
"description": "JupyterLab - Document Manager Extension", | ||
@@ -40,13 +40,13 @@ "homepage": "https://github.com/jupyterlab/jupyterlab", | ||
"dependencies": { | ||
"@jupyterlab/application": "^3.6.1", | ||
"@jupyterlab/apputils": "^3.6.1", | ||
"@jupyterlab/coreutils": "^5.6.1", | ||
"@jupyterlab/docmanager": "^3.6.1", | ||
"@jupyterlab/docprovider": "^3.6.1", | ||
"@jupyterlab/docregistry": "^3.6.1", | ||
"@jupyterlab/services": "^6.6.1", | ||
"@jupyterlab/settingregistry": "^3.6.1", | ||
"@jupyterlab/statusbar": "^3.6.1", | ||
"@jupyterlab/translation": "^3.6.1", | ||
"@jupyterlab/ui-components": "^3.6.1", | ||
"@jupyterlab/application": "^3.6.2", | ||
"@jupyterlab/apputils": "^3.6.2", | ||
"@jupyterlab/coreutils": "^5.6.2", | ||
"@jupyterlab/docmanager": "^3.6.2", | ||
"@jupyterlab/docprovider": "^3.6.2", | ||
"@jupyterlab/docregistry": "^3.6.2", | ||
"@jupyterlab/services": "^6.6.2", | ||
"@jupyterlab/settingregistry": "^3.6.2", | ||
"@jupyterlab/statusbar": "^3.6.2", | ||
"@jupyterlab/translation": "^3.6.2", | ||
"@jupyterlab/ui-components": "^3.6.2", | ||
"@lumino/algorithm": "^1.9.0", | ||
@@ -53,0 +53,0 @@ "@lumino/commands": "^1.19.0", |
@@ -11,4 +11,5 @@ /*----------------------------------------------------------------------------- | ||
import '@jupyterlab/statusbar/style/index.js'; | ||
import '@jupyterlab/docprovider/style/index.js'; | ||
import '@jupyterlab/docregistry/style/index.js'; | ||
import '@jupyterlab/application/style/index.js'; | ||
import '@jupyterlab/docmanager/style/index.js'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
75261
1109
Updated@jupyterlab/apputils@^3.6.2
Updated@jupyterlab/coreutils@^5.6.2
Updated@jupyterlab/services@^6.6.2
Updated@jupyterlab/statusbar@^3.6.2