@jupyter-notebook/notebook-extension 7.0.4 → 7.0.6
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 +4 -3
- package/package.json +9 -9
package/lib/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Copyright (c) Jupyter Development Team.
|
|
2
2
|
// Distributed under the terms of the Modified BSD License.
|
|
3
3
|
import { DOMUtils, IToolbarWidgetRegistry, } from '@jupyterlab/apputils';
|
|
4
|
-
import { Text, Time } from '@jupyterlab/coreutils';
|
|
4
|
+
import { PageConfig, Text, Time, URLExt } from '@jupyterlab/coreutils';
|
|
5
5
|
import { IDocumentManager } from '@jupyterlab/docmanager';
|
|
6
6
|
import { IMainMenu } from '@jupyterlab/mainmenu';
|
|
7
7
|
import { NotebookPanel, INotebookTracker, INotebookTools, } from '@jupyterlab/notebook';
|
|
@@ -318,8 +318,9 @@ const tabIcon = {
|
|
|
318
318
|
requires: [INotebookTracker],
|
|
319
319
|
activate: (app, tracker) => {
|
|
320
320
|
// the favicons are provided by Jupyter Server
|
|
321
|
-
const
|
|
322
|
-
const
|
|
321
|
+
const baseURL = PageConfig.getBaseUrl();
|
|
322
|
+
const notebookIcon = URLExt.join(baseURL, 'static/favicons/favicon-notebook.ico');
|
|
323
|
+
const busyIcon = URLExt.join(baseURL, 'static/favicons/favicon-busy-1.ico');
|
|
323
324
|
const updateBrowserFavicon = (status) => {
|
|
324
325
|
const link = document.querySelector("link[rel*='icon']");
|
|
325
326
|
switch (status) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupyter-notebook/notebook-extension",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.6",
|
|
4
4
|
"description": "Jupyter Notebook - Notebook Extension",
|
|
5
5
|
"homepage": "https://github.com/jupyter/notebook",
|
|
6
6
|
"bugs": {
|
|
@@ -38,14 +38,14 @@
|
|
|
38
38
|
"watch": "tsc -b --watch"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@jupyter-notebook/application": "^7.0.
|
|
42
|
-
"@jupyterlab/application": "^4.0.
|
|
43
|
-
"@jupyterlab/apputils": "^4.1.
|
|
44
|
-
"@jupyterlab/cells": "^4.0.
|
|
45
|
-
"@jupyterlab/docmanager": "^4.0.
|
|
46
|
-
"@jupyterlab/notebook": "^4.0.
|
|
47
|
-
"@jupyterlab/settingregistry": "^4.0.
|
|
48
|
-
"@jupyterlab/translation": "^4.0.
|
|
41
|
+
"@jupyter-notebook/application": "^7.0.6",
|
|
42
|
+
"@jupyterlab/application": "^4.0.7",
|
|
43
|
+
"@jupyterlab/apputils": "^4.1.7",
|
|
44
|
+
"@jupyterlab/cells": "^4.0.7",
|
|
45
|
+
"@jupyterlab/docmanager": "^4.0.7",
|
|
46
|
+
"@jupyterlab/notebook": "^4.0.7",
|
|
47
|
+
"@jupyterlab/settingregistry": "^4.0.7",
|
|
48
|
+
"@jupyterlab/translation": "^4.0.7",
|
|
49
49
|
"@lumino/polling": "^2.1.2",
|
|
50
50
|
"@lumino/widgets": "^2.3.0",
|
|
51
51
|
"react": "^18.2.0",
|