@jupyter-notebook/lab-extension 7.7.0-alpha.1 → 7.7.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +3 -3
- package/package.json +9 -9
package/lib/index.js
CHANGED
|
@@ -52,7 +52,7 @@ const interfaceSwitcher = {
|
|
|
52
52
|
return;
|
|
53
53
|
}
|
|
54
54
|
const { commands, shell } = app;
|
|
55
|
-
const baseUrl =
|
|
55
|
+
const baseUrl = app.serviceManager.serverSettings.baseUrl;
|
|
56
56
|
const trans = translator.load('notebook');
|
|
57
57
|
const nbClassicEnabled = PageConfig.getOption('nbclassic_enabled') === 'true';
|
|
58
58
|
const switcher = new Menu({ commands });
|
|
@@ -165,7 +165,7 @@ const interfaceSwitcher = {
|
|
|
165
165
|
overflowMenuOptions: { isVisible: false },
|
|
166
166
|
};
|
|
167
167
|
const menubar = new MenuBar(overflowOptions);
|
|
168
|
-
switcher.title.label = trans.__('Open in
|
|
168
|
+
switcher.title.label = trans.__('Open in…');
|
|
169
169
|
switcher.title.icon = caretDownIcon;
|
|
170
170
|
menubar.addMenu(switcher);
|
|
171
171
|
toolbarFactory = (panel) => {
|
|
@@ -196,7 +196,7 @@ const launchNotebookTree = {
|
|
|
196
196
|
commands.addCommand(CommandIDs.launchNotebookTree, {
|
|
197
197
|
label: trans.__('Launch Jupyter Notebook File Browser'),
|
|
198
198
|
execute: () => {
|
|
199
|
-
const url = URLExt.join(
|
|
199
|
+
const url = URLExt.join(app.serviceManager.serverSettings.baseUrl, 'tree');
|
|
200
200
|
window.open(url);
|
|
201
201
|
},
|
|
202
202
|
describedBy: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupyter-notebook/lab-extension",
|
|
3
|
-
"version": "7.7.0-alpha.
|
|
3
|
+
"version": "7.7.0-alpha.2",
|
|
4
4
|
"description": "Jupyter Notebook - Lab Extension",
|
|
5
5
|
"homepage": "https://github.com/jupyter/notebook",
|
|
6
6
|
"bugs": {
|
|
@@ -43,14 +43,14 @@
|
|
|
43
43
|
"watch:src": "tsc -w"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@jupyter-notebook/application": "^7.7.0-alpha.
|
|
47
|
-
"@jupyterlab/application": "~4.7.0-alpha.
|
|
48
|
-
"@jupyterlab/apputils": "~4.8.0-alpha.
|
|
49
|
-
"@jupyterlab/coreutils": "~6.7.0-alpha.
|
|
50
|
-
"@jupyterlab/docregistry": "~4.7.0-alpha.
|
|
51
|
-
"@jupyterlab/notebook": "~4.7.0-alpha.
|
|
52
|
-
"@jupyterlab/translation": "~4.7.0-alpha.
|
|
53
|
-
"@jupyterlab/ui-components": "~4.7.0-alpha.
|
|
46
|
+
"@jupyter-notebook/application": "^7.7.0-alpha.2",
|
|
47
|
+
"@jupyterlab/application": "~4.7.0-alpha.2",
|
|
48
|
+
"@jupyterlab/apputils": "~4.8.0-alpha.2",
|
|
49
|
+
"@jupyterlab/coreutils": "~6.7.0-alpha.2",
|
|
50
|
+
"@jupyterlab/docregistry": "~4.7.0-alpha.2",
|
|
51
|
+
"@jupyterlab/notebook": "~4.7.0-alpha.2",
|
|
52
|
+
"@jupyterlab/translation": "~4.7.0-alpha.2",
|
|
53
|
+
"@jupyterlab/ui-components": "~4.7.0-alpha.2",
|
|
54
54
|
"@lumino/commands": "^2.3.3",
|
|
55
55
|
"@lumino/disposable": "^2.1.5"
|
|
56
56
|
},
|