Update to JupyterLab 4.0.0a35 (#6757)

* Update deps

* Drop `skipLibCheck`

* Integrity fixes

* Fix deps

* Enable the file size column by default

* Fix yarn.lock

* Enable file name search toolbar item

* Update Playwright Snapshots

* Update Playwright Snapshots

* Try set overflow options explicitly

* Update Playwright Snapshots

* Update to the latest Lumino 2 rc

* Fix yarn.lock

* Update Playwright Snapshots

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Jeremy Tuloup 2023-03-07 14:42:48 +01:00 committed by GitHub
parent 0f5f3deafa
commit 4a0387f6c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
38 changed files with 3642 additions and 3734 deletions

View File

@ -22,7 +22,7 @@ tasks:
micromamba activate
EOT
source /workspace/bin/activate-env.sh
micromamba install -n base -y -c conda-forge python=3.11 nodejs=14 yarn
micromamba install -n base -y -c conda-forge python=3.11 nodejs=14 yarn=1
source /workspace/bin/activate-env.sh
python -m pip install -e ".[dev,test]" && jlpm && jlpm run build && jlpm develop
gp sync-done setup

View File

@ -21,89 +21,89 @@
"@jupyter-notebook/tree": "~7.0.0-alpha.14",
"@jupyter-notebook/tree-extension": "~7.0.0-alpha.14",
"@jupyter-notebook/ui-components": "~7.0.0-alpha.14",
"@jupyter/ydoc": "~0.3.1",
"@jupyterlab/application": "~4.0.0-alpha.19",
"@jupyterlab/application-extension": "~4.0.0-alpha.19",
"@jupyterlab/apputils": "~4.0.0-alpha.19",
"@jupyterlab/apputils-extension": "~4.0.0-alpha.19",
"@jupyterlab/cell-toolbar": "~4.0.0-alpha.19",
"@jupyterlab/cell-toolbar-extension": "~4.0.0-alpha.19",
"@jupyterlab/celltags": "~4.0.0-alpha.19",
"@jupyterlab/celltags-extension": "~4.0.0-alpha.19",
"@jupyterlab/codeeditor": "~4.0.0-alpha.19",
"@jupyterlab/codemirror": "~4.0.0-alpha.19",
"@jupyterlab/codemirror-extension": "~4.0.0-alpha.19",
"@jupyterlab/completer": "~4.0.0-alpha.19",
"@jupyterlab/completer-extension": "~4.0.0-alpha.19",
"@jupyterlab/console": "~4.0.0-alpha.19",
"@jupyterlab/console-extension": "~4.0.0-alpha.19",
"@jupyterlab/coreutils": "~6.0.0-alpha.19",
"@jupyterlab/debugger": "~4.0.0-alpha.19",
"@jupyterlab/debugger-extension": "~4.0.0-alpha.19",
"@jupyterlab/docmanager": "~4.0.0-alpha.19",
"@jupyterlab/docmanager-extension": "~4.0.0-alpha.19",
"@jupyterlab/documentsearch": "~4.0.0-alpha.19",
"@jupyterlab/documentsearch-extension": "~4.0.0-alpha.19",
"@jupyterlab/extensionmanager": "~4.0.0-alpha.19",
"@jupyterlab/extensionmanager-extension": "~4.0.0-alpha.19",
"@jupyterlab/filebrowser": "~4.0.0-alpha.19",
"@jupyterlab/filebrowser-extension": "~4.0.0-alpha.19",
"@jupyterlab/fileeditor": "~4.0.0-alpha.19",
"@jupyterlab/fileeditor-extension": "~4.0.0-alpha.19",
"@jupyterlab/htmlviewer": "~4.0.0-alpha.19",
"@jupyterlab/htmlviewer-extension": "~4.0.0-alpha.19",
"@jupyterlab/hub-extension": "~4.0.0-alpha.19",
"@jupyterlab/javascript-extension": "~4.0.0-alpha.19",
"@jupyterlab/json-extension": "~4.0.0-alpha.19",
"@jupyterlab/lsp": "~4.0.0-alpha.19",
"@jupyterlab/lsp-extension": "~4.0.0-alpha.19",
"@jupyterlab/mainmenu": "~4.0.0-alpha.19",
"@jupyterlab/mainmenu-extension": "~4.0.0-alpha.19",
"@jupyterlab/markedparser-extension": "~4.0.0-alpha.19",
"@jupyterlab/mathjax2-extension": "~4.0.0-alpha.19",
"@jupyterlab/notebook": "~4.0.0-alpha.19",
"@jupyterlab/notebook-extension": "~4.0.0-alpha.19",
"@jupyterlab/observables": "~5.0.0-alpha.19",
"@jupyterlab/outputarea": "~4.0.0-alpha.19",
"@jupyterlab/pdf-extension": "~4.0.0-alpha.19",
"@jupyterlab/rendermime": "~4.0.0-alpha.19",
"@jupyterlab/rendermime-extension": "~4.0.0-alpha.19",
"@jupyterlab/rendermime-interfaces": "~3.8.0-alpha.19",
"@jupyterlab/running-extension": "~4.0.0-alpha.19",
"@jupyterlab/services": "~7.0.0-alpha.19",
"@jupyterlab/settingeditor": "~4.0.0-alpha.19",
"@jupyterlab/settingeditor-extension": "~4.0.0-alpha.19",
"@jupyterlab/settingregistry": "~4.0.0-alpha.19",
"@jupyterlab/shortcuts-extension": "~4.0.0-alpha.19",
"@jupyterlab/statedb": "~4.0.0-alpha.19",
"@jupyterlab/statusbar": "~4.0.0-alpha.19",
"@jupyterlab/terminal": "~4.0.0-alpha.19",
"@jupyterlab/terminal-extension": "~4.0.0-alpha.19",
"@jupyterlab/theme-dark-extension": "~4.0.0-alpha.19",
"@jupyterlab/theme-light-extension": "~4.0.0-alpha.19",
"@jupyterlab/toc-extension": "~6.0.0-alpha.19",
"@jupyterlab/tooltip": "~4.0.0-alpha.19",
"@jupyterlab/tooltip-extension": "~4.0.0-alpha.19",
"@jupyterlab/translation": "~4.0.0-alpha.19",
"@jupyterlab/translation-extension": "~4.0.0-alpha.19",
"@jupyterlab/ui-components": "~4.0.0-alpha.34",
"@jupyterlab/ui-components-extension": "~4.0.0-alpha.19",
"@jupyterlab/vega5-extension": "~4.0.0-alpha.19",
"@lumino/algorithm": "~2.0.0-beta.0",
"@lumino/application": "~2.0.0-beta.1",
"@lumino/commands": "~2.0.0-beta.1",
"@lumino/coreutils": "~2.0.0-beta.0",
"@lumino/disposable": "~2.0.0-beta.1",
"@lumino/domutils": "~2.0.0-beta.0",
"@lumino/dragdrop": "~2.0.0-beta.1",
"@lumino/messaging": "~2.0.0-beta.0",
"@lumino/properties": "~2.0.0-beta.0",
"@lumino/signaling": "~2.0.0-beta.1",
"@lumino/virtualdom": "~2.0.0-beta.0",
"@lumino/widgets": "~2.0.0-beta.1",
"@jupyter/ydoc": "~0.3.4",
"@jupyterlab/application": "~4.0.0-alpha.20",
"@jupyterlab/application-extension": "~4.0.0-alpha.20",
"@jupyterlab/apputils": "~4.0.0-alpha.20",
"@jupyterlab/apputils-extension": "~4.0.0-alpha.20",
"@jupyterlab/cell-toolbar": "~4.0.0-alpha.20",
"@jupyterlab/cell-toolbar-extension": "~4.0.0-alpha.20",
"@jupyterlab/celltags": "~4.0.0-alpha.20",
"@jupyterlab/celltags-extension": "~4.0.0-alpha.20",
"@jupyterlab/codeeditor": "~4.0.0-alpha.20",
"@jupyterlab/codemirror": "~4.0.0-alpha.20",
"@jupyterlab/codemirror-extension": "~4.0.0-alpha.20",
"@jupyterlab/completer": "~4.0.0-alpha.20",
"@jupyterlab/completer-extension": "~4.0.0-alpha.20",
"@jupyterlab/console": "~4.0.0-alpha.20",
"@jupyterlab/console-extension": "~4.0.0-alpha.20",
"@jupyterlab/coreutils": "~6.0.0-alpha.20",
"@jupyterlab/debugger": "~4.0.0-alpha.20",
"@jupyterlab/debugger-extension": "~4.0.0-alpha.20",
"@jupyterlab/docmanager": "~4.0.0-alpha.20",
"@jupyterlab/docmanager-extension": "~4.0.0-alpha.20",
"@jupyterlab/documentsearch": "~4.0.0-alpha.20",
"@jupyterlab/documentsearch-extension": "~4.0.0-alpha.20",
"@jupyterlab/extensionmanager": "~4.0.0-alpha.20",
"@jupyterlab/extensionmanager-extension": "~4.0.0-alpha.20",
"@jupyterlab/filebrowser": "~4.0.0-alpha.20",
"@jupyterlab/filebrowser-extension": "~4.0.0-alpha.20",
"@jupyterlab/fileeditor": "~4.0.0-alpha.20",
"@jupyterlab/fileeditor-extension": "~4.0.0-alpha.20",
"@jupyterlab/htmlviewer": "~4.0.0-alpha.20",
"@jupyterlab/htmlviewer-extension": "~4.0.0-alpha.20",
"@jupyterlab/hub-extension": "~4.0.0-alpha.20",
"@jupyterlab/javascript-extension": "~4.0.0-alpha.20",
"@jupyterlab/json-extension": "~4.0.0-alpha.20",
"@jupyterlab/lsp": "~4.0.0-alpha.20",
"@jupyterlab/lsp-extension": "~4.0.0-alpha.20",
"@jupyterlab/mainmenu": "~4.0.0-alpha.20",
"@jupyterlab/mainmenu-extension": "~4.0.0-alpha.20",
"@jupyterlab/markedparser-extension": "~4.0.0-alpha.20",
"@jupyterlab/mathjax2-extension": "~4.0.0-alpha.20",
"@jupyterlab/notebook": "~4.0.0-alpha.20",
"@jupyterlab/notebook-extension": "~4.0.0-alpha.20",
"@jupyterlab/observables": "~5.0.0-alpha.20",
"@jupyterlab/outputarea": "~4.0.0-alpha.20",
"@jupyterlab/pdf-extension": "~4.0.0-alpha.20",
"@jupyterlab/rendermime": "~4.0.0-alpha.20",
"@jupyterlab/rendermime-extension": "~4.0.0-alpha.20",
"@jupyterlab/rendermime-interfaces": "~3.8.0-alpha.20",
"@jupyterlab/running-extension": "~4.0.0-alpha.20",
"@jupyterlab/services": "~7.0.0-alpha.20",
"@jupyterlab/settingeditor": "~4.0.0-alpha.20",
"@jupyterlab/settingeditor-extension": "~4.0.0-alpha.20",
"@jupyterlab/settingregistry": "~4.0.0-alpha.20",
"@jupyterlab/shortcuts-extension": "~4.0.0-alpha.20",
"@jupyterlab/statedb": "~4.0.0-alpha.20",
"@jupyterlab/statusbar": "~4.0.0-alpha.20",
"@jupyterlab/terminal": "~4.0.0-alpha.20",
"@jupyterlab/terminal-extension": "~4.0.0-alpha.20",
"@jupyterlab/theme-dark-extension": "~4.0.0-alpha.20",
"@jupyterlab/theme-light-extension": "~4.0.0-alpha.20",
"@jupyterlab/toc-extension": "~6.0.0-alpha.20",
"@jupyterlab/tooltip": "~4.0.0-alpha.20",
"@jupyterlab/tooltip-extension": "~4.0.0-alpha.20",
"@jupyterlab/translation": "~4.0.0-alpha.20",
"@jupyterlab/translation-extension": "~4.0.0-alpha.20",
"@jupyterlab/ui-components": "~4.0.0-alpha.35",
"@jupyterlab/ui-components-extension": "~4.0.0-alpha.20",
"@jupyterlab/vega5-extension": "~4.0.0-alpha.20",
"@lumino/algorithm": "~2.0.0-rc.0",
"@lumino/application": "~2.0.0-rc.0",
"@lumino/commands": "~2.0.0-rc.0",
"@lumino/coreutils": "~2.0.0-rc.0",
"@lumino/disposable": "~2.0.0-rc.0",
"@lumino/domutils": "~2.0.0-rc.0",
"@lumino/dragdrop": "~2.0.0-rc.0",
"@lumino/messaging": "~2.0.0-rc.0",
"@lumino/properties": "~2.0.0-rc.0",
"@lumino/signaling": "~2.0.0-rc.0",
"@lumino/virtualdom": "~2.0.0-rc.0",
"@lumino/widgets": "~2.0.0-rc.0",
"react": "~18.2.0",
"react-dom": "~18.2.0",
"yjs": "~13.5.45"
"yjs": "~13.5.48"
},
"dependencies": {
"@jupyter-notebook/application": "^7.0.0-alpha.14",
@ -117,50 +117,50 @@
"@jupyter-notebook/tree": "^7.0.0-alpha.14",
"@jupyter-notebook/tree-extension": "^7.0.0-alpha.14",
"@jupyter-notebook/ui-components": "^7.0.0-alpha.14",
"@jupyterlab/application-extension": "^4.0.0-alpha.19",
"@jupyterlab/apputils-extension": "^4.0.0-alpha.19",
"@jupyterlab/cell-toolbar-extension": "^4.0.0-alpha.19",
"@jupyterlab/celltags": "^4.0.0-alpha.19",
"@jupyterlab/celltags-extension": "^4.0.0-alpha.19",
"@jupyterlab/codemirror": "^4.0.0-alpha.19",
"@jupyterlab/codemirror-extension": "^4.0.0-alpha.19",
"@jupyterlab/completer-extension": "^4.0.0-alpha.19",
"@jupyterlab/console-extension": "^4.0.0-alpha.19",
"@jupyterlab/coreutils": "^6.0.0-alpha.19",
"@jupyterlab/debugger-extension": "^4.0.0-alpha.19",
"@jupyterlab/docmanager-extension": "^4.0.0-alpha.19",
"@jupyterlab/documentsearch-extension": "^4.0.0-alpha.19",
"@jupyterlab/extensionmanager-extension": "^4.0.0-alpha.19",
"@jupyterlab/filebrowser-extension": "^4.0.0-alpha.19",
"@jupyterlab/fileeditor-extension": "^4.0.0-alpha.19",
"@jupyterlab/htmlviewer-extension": "^4.0.0-alpha.19",
"@jupyterlab/hub-extension": "^4.0.0-alpha.19",
"@jupyterlab/javascript-extension": "^4.0.0-alpha.19",
"@jupyterlab/json-extension": "^4.0.0-alpha.19",
"@jupyterlab/lsp": "^4.0.0-alpha.19",
"@jupyterlab/lsp-extension": "^4.0.0-alpha.19",
"@jupyterlab/mainmenu-extension": "^4.0.0-alpha.19",
"@jupyterlab/markedparser-extension": "^4.0.0-alpha.19",
"@jupyterlab/mathjax2-extension": "^4.0.0-alpha.19",
"@jupyterlab/notebook-extension": "^4.0.0-alpha.19",
"@jupyterlab/pdf-extension": "^4.0.0-alpha.19",
"@jupyterlab/rendermime-extension": "^4.0.0-alpha.19",
"@jupyterlab/running-extension": "^4.0.0-alpha.19",
"@jupyterlab/settingeditor": "^4.0.0-alpha.19",
"@jupyterlab/settingeditor-extension": "^4.0.0-alpha.19",
"@jupyterlab/shortcuts-extension": "^4.0.0-alpha.19",
"@jupyterlab/terminal-extension": "^4.0.0-alpha.19",
"@jupyterlab/theme-dark-extension": "^4.0.0-alpha.19",
"@jupyterlab/theme-light-extension": "^4.0.0-alpha.19",
"@jupyterlab/toc-extension": "^6.0.0-alpha.19",
"@jupyterlab/tooltip-extension": "^4.0.0-alpha.19",
"@jupyterlab/translation-extension": "^4.0.0-alpha.19",
"@jupyterlab/ui-components-extension": "^4.0.0-alpha.19",
"@jupyterlab/vega5-extension": "^4.0.0-alpha.19"
"@jupyterlab/application-extension": "^4.0.0-alpha.20",
"@jupyterlab/apputils-extension": "^4.0.0-alpha.20",
"@jupyterlab/cell-toolbar-extension": "^4.0.0-alpha.20",
"@jupyterlab/celltags": "^4.0.0-alpha.20",
"@jupyterlab/celltags-extension": "^4.0.0-alpha.20",
"@jupyterlab/codemirror": "^4.0.0-alpha.20",
"@jupyterlab/codemirror-extension": "^4.0.0-alpha.20",
"@jupyterlab/completer-extension": "^4.0.0-alpha.20",
"@jupyterlab/console-extension": "^4.0.0-alpha.20",
"@jupyterlab/coreutils": "^6.0.0-alpha.20",
"@jupyterlab/debugger-extension": "^4.0.0-alpha.20",
"@jupyterlab/docmanager-extension": "^4.0.0-alpha.20",
"@jupyterlab/documentsearch-extension": "^4.0.0-alpha.20",
"@jupyterlab/extensionmanager-extension": "^4.0.0-alpha.20",
"@jupyterlab/filebrowser-extension": "^4.0.0-alpha.20",
"@jupyterlab/fileeditor-extension": "^4.0.0-alpha.20",
"@jupyterlab/htmlviewer-extension": "^4.0.0-alpha.20",
"@jupyterlab/hub-extension": "^4.0.0-alpha.20",
"@jupyterlab/javascript-extension": "^4.0.0-alpha.20",
"@jupyterlab/json-extension": "^4.0.0-alpha.20",
"@jupyterlab/lsp": "^4.0.0-alpha.20",
"@jupyterlab/lsp-extension": "^4.0.0-alpha.20",
"@jupyterlab/mainmenu-extension": "^4.0.0-alpha.20",
"@jupyterlab/markedparser-extension": "^4.0.0-alpha.20",
"@jupyterlab/mathjax2-extension": "^4.0.0-alpha.20",
"@jupyterlab/notebook-extension": "^4.0.0-alpha.20",
"@jupyterlab/pdf-extension": "^4.0.0-alpha.20",
"@jupyterlab/rendermime-extension": "^4.0.0-alpha.20",
"@jupyterlab/running-extension": "^4.0.0-alpha.20",
"@jupyterlab/settingeditor": "^4.0.0-alpha.20",
"@jupyterlab/settingeditor-extension": "^4.0.0-alpha.20",
"@jupyterlab/shortcuts-extension": "^4.0.0-alpha.20",
"@jupyterlab/terminal-extension": "^4.0.0-alpha.20",
"@jupyterlab/theme-dark-extension": "^4.0.0-alpha.20",
"@jupyterlab/theme-light-extension": "^4.0.0-alpha.20",
"@jupyterlab/toc-extension": "^6.0.0-alpha.20",
"@jupyterlab/tooltip-extension": "^4.0.0-alpha.20",
"@jupyterlab/translation-extension": "^4.0.0-alpha.20",
"@jupyterlab/ui-components-extension": "^4.0.0-alpha.20",
"@jupyterlab/vega5-extension": "^4.0.0-alpha.20"
},
"devDependencies": {
"@jupyterlab/builder": "^4.0.0-alpha.19",
"@jupyterlab/buildutils": "^4.0.0-alpha.19",
"@jupyterlab/builder": "^4.0.0-alpha.20",
"@jupyterlab/buildutils": "^4.0.0-alpha.20",
"@types/rimraf": "^3.0.2",
"css-loader": "~5.0.1",
"fs-extra": "^8.1.0",
@ -179,7 +179,12 @@
},
"jupyterlab": {
"name": "Jupyter Notebook",
"mimeExtensions": {},
"mimeExtensions": {
"@jupyterlab/javascript-extension": true,
"@jupyterlab/json-extension": true,
"@jupyterlab/pdf-extension": true,
"@jupyterlab/vega5-extension": true
},
"plugins": {
"/": {
"@jupyter-notebook/application-extension": true,
@ -206,9 +211,7 @@
"@jupyterlab/apputils-extension:themes-palette-menu",
"@jupyterlab/apputils-extension:toolbar-registry"
],
"@jupyterlab/codemirror-extension": [
"@jupyterlab/codemirror-extension:services"
],
"@jupyterlab/codemirror-extension": true,
"@jupyterlab/completer-extension": [
"@jupyterlab/completer-extension:base-service",
"@jupyterlab/completer-extension:manager"
@ -308,9 +311,6 @@
"@jupyterlab/fileeditor-extension": [
"@jupyterlab/fileeditor-extension:completer",
"@jupyterlab/fileeditor-extension:search"
],
"@jupyterlab/codemirror-extension": [
"@jupyterlab/codemirror-extension:commands"
]
}
},
@ -364,7 +364,6 @@
"react",
"react-dom",
"yjs"
],
"linkedPackages": {}
]
}
}

View File

@ -29,10 +29,10 @@
"watch": "tsc -w --listEmittedFiles"
},
"dependencies": {
"@jupyterlab/buildutils": "^4.0.0-alpha.19",
"@jupyterlab/buildutils": "^4.0.0-alpha.20",
"commander": "^6.2.0",
"fs-extra": "^9.1.0",
"typescript": "5.0.0-beta"
"typescript": "5.0.1-rc"
},
"devDependencies": {
"@types/fs-extra": "^9.0.10",

View File

@ -12,8 +12,6 @@ function ensureResolutions(): string[] {
const corePath = path.join(basePath, 'app', 'package.json');
const corePackage = fs.readJSONSync(corePath);
corePackage.jupyterlab.mimeExtensions = {};
corePackage.jupyterlab.linkedPackages = {};
corePackage.resolutions = {};
const packages = Object.keys(corePackage.dependencies).concat(

View File

@ -42,7 +42,7 @@
"watch:lib": "lerna exec --stream --scope @jupyter-notebook/metapackage jlpm watch"
},
"devDependencies": {
"@jupyterlab/buildutils": "^4.0.0-alpha.19",
"@jupyterlab/buildutils": "^4.0.0-alpha.20",
"@typescript-eslint/eslint-plugin": "^4.2.0",
"@typescript-eslint/parser": "^4.2.0",
"eslint": "^7.10.0",
@ -55,6 +55,6 @@
"npm-run-all": "^4.1.5",
"prettier": "^1.19.0",
"rimraf": "^3.0.2",
"typescript": "5.0.0-beta"
"typescript": "5.0.1-rc"
}
}

View File

@ -34,6 +34,6 @@
"@jupyter-notebook/ui-components": "file:../ui-components"
},
"devDependencies": {
"typescript": "5.0.0-beta"
"typescript": "5.0.1-rc"
}
}

View File

@ -40,24 +40,24 @@
"dependencies": {
"@jupyter-notebook/application": "^7.0.0-alpha.14",
"@jupyter-notebook/ui-components": "^7.0.0-alpha.14",
"@jupyterlab/application": "^4.0.0-alpha.19",
"@jupyterlab/apputils": "^4.0.0-alpha.19",
"@jupyterlab/celltags": "^4.0.0-alpha.19",
"@jupyterlab/codeeditor": "^4.0.0-alpha.19",
"@jupyterlab/console": "^4.0.0-alpha.19",
"@jupyterlab/coreutils": "^6.0.0-alpha.19",
"@jupyterlab/docmanager": "^4.0.0-alpha.19",
"@jupyterlab/docregistry": "^4.0.0-alpha.19",
"@jupyterlab/mainmenu": "^4.0.0-alpha.19",
"@jupyterlab/settingregistry": "^4.0.0-alpha.19",
"@jupyterlab/translation": "^4.0.0-alpha.19",
"@lumino/coreutils": "^2.0.0-beta.0",
"@lumino/disposable": "^2.0.0-beta.1",
"@lumino/widgets": "^2.0.0-beta.1"
"@jupyterlab/application": "^4.0.0-alpha.20",
"@jupyterlab/apputils": "^4.0.0-alpha.20",
"@jupyterlab/celltags": "^4.0.0-alpha.20",
"@jupyterlab/codeeditor": "^4.0.0-alpha.20",
"@jupyterlab/console": "^4.0.0-alpha.20",
"@jupyterlab/coreutils": "^6.0.0-alpha.20",
"@jupyterlab/docmanager": "^4.0.0-alpha.20",
"@jupyterlab/docregistry": "^4.0.0-alpha.20",
"@jupyterlab/mainmenu": "^4.0.0-alpha.20",
"@jupyterlab/settingregistry": "^4.0.0-alpha.20",
"@jupyterlab/translation": "^4.0.0-alpha.20",
"@lumino/coreutils": "^2.0.0-rc.1",
"@lumino/disposable": "^2.0.0-rc.1",
"@lumino/widgets": "^2.0.0-rc.1"
},
"devDependencies": {
"rimraf": "^3.0.2",
"typescript": "5.0.0-beta"
"typescript": "5.0.1-rc"
},
"publishConfig": {
"access": "public"

View File

@ -42,27 +42,27 @@
"watch": "tsc -b --watch"
},
"dependencies": {
"@jupyterlab/application": "^4.0.0-alpha.19",
"@jupyterlab/coreutils": "^6.0.0-alpha.19",
"@jupyterlab/docregistry": "^4.0.0-alpha.19",
"@jupyterlab/rendermime-interfaces": "^3.8.0-alpha.19",
"@jupyterlab/ui-components": "^4.0.0-alpha.34",
"@lumino/algorithm": "^2.0.0-beta.0",
"@lumino/coreutils": "^2.0.0-beta.0",
"@lumino/messaging": "^2.0.0-beta.0",
"@lumino/polling": "^2.0.0-beta.1",
"@lumino/signaling": "^2.0.0-beta.1",
"@lumino/widgets": "^2.0.0-beta.1"
"@jupyterlab/application": "^4.0.0-alpha.20",
"@jupyterlab/coreutils": "^6.0.0-alpha.20",
"@jupyterlab/docregistry": "^4.0.0-alpha.20",
"@jupyterlab/rendermime-interfaces": "^3.8.0-alpha.20",
"@jupyterlab/ui-components": "^4.0.0-alpha.35",
"@lumino/algorithm": "^2.0.0-rc.1",
"@lumino/coreutils": "^2.0.0-rc.1",
"@lumino/messaging": "^2.0.0-rc.1",
"@lumino/polling": "^2.0.0-rc.1",
"@lumino/signaling": "^2.0.0-rc.1",
"@lumino/widgets": "^2.0.0-rc.1"
},
"devDependencies": {
"@babel/core": "^7.11.6",
"@babel/preset-env": "^7.12.1",
"@jupyterlab/testutils": "^4.0.0-alpha.19",
"@jupyterlab/testutils": "^4.0.0-alpha.20",
"@types/jest": "^29.2.5",
"jest": "^29.3.1",
"rimraf": "^3.0.2",
"ts-jest": "^29.0.3",
"typescript": "5.0.0-beta"
"typescript": "5.0.1-rc"
},
"publishConfig": {
"access": "public"

View File

@ -38,14 +38,14 @@
"watch": "tsc -b --watch"
},
"dependencies": {
"@jupyterlab/application": "^4.0.0-alpha.19",
"@jupyterlab/console": "^4.0.0-alpha.19",
"@jupyterlab/coreutils": "^6.0.0-alpha.19",
"@lumino/algorithm": "^2.0.0-beta.0"
"@jupyterlab/application": "^4.0.0-alpha.20",
"@jupyterlab/console": "^4.0.0-alpha.20",
"@jupyterlab/coreutils": "^6.0.0-alpha.20",
"@lumino/algorithm": "^2.0.0-rc.1"
},
"devDependencies": {
"rimraf": "^3.0.2",
"typescript": "5.0.0-beta"
"typescript": "5.0.1-rc"
},
"publishConfig": {
"access": "public"

View File

@ -38,17 +38,17 @@
"watch": "tsc -b --watch"
},
"dependencies": {
"@jupyterlab/application": "^4.0.0-alpha.19",
"@jupyterlab/coreutils": "^6.0.0-alpha.19",
"@jupyterlab/docmanager": "^4.0.0-alpha.19",
"@jupyterlab/docregistry": "^4.0.0-alpha.19",
"@jupyterlab/services": "^7.0.0-alpha.19",
"@lumino/algorithm": "^2.0.0-beta.0",
"@lumino/signaling": "^2.0.0-beta.1"
"@jupyterlab/application": "^4.0.0-alpha.20",
"@jupyterlab/coreutils": "^6.0.0-alpha.20",
"@jupyterlab/docmanager": "^4.0.0-alpha.20",
"@jupyterlab/docregistry": "^4.0.0-alpha.20",
"@jupyterlab/services": "^7.0.0-alpha.20",
"@lumino/algorithm": "^2.0.0-rc.1",
"@lumino/signaling": "^2.0.0-rc.1"
},
"devDependencies": {
"rimraf": "^3.0.2",
"typescript": "5.0.0-beta"
"typescript": "5.0.1-rc"
},
"publishConfig": {
"access": "public"

View File

@ -39,13 +39,13 @@
},
"dependencies": {
"@jupyter-notebook/application": "^7.0.0-alpha.14",
"@jupyterlab/application": "^4.0.0-alpha.19",
"@jupyterlab/documentsearch": "^4.0.0-alpha.19",
"@lumino/widgets": "^2.0.0-beta.1"
"@jupyterlab/application": "^4.0.0-alpha.20",
"@jupyterlab/documentsearch": "^4.0.0-alpha.20",
"@lumino/widgets": "^2.0.0-rc.1"
},
"devDependencies": {
"rimraf": "^3.0.2",
"typescript": "5.0.0-beta"
"typescript": "5.0.1-rc"
},
"publishConfig": {
"access": "public"

View File

@ -39,16 +39,16 @@
},
"dependencies": {
"@jupyter-notebook/ui-components": "^7.0.0-alpha.14",
"@jupyterlab/application": "^4.0.0-alpha.19",
"@jupyterlab/apputils": "^4.0.0-alpha.19",
"@jupyterlab/mainmenu": "^4.0.0-alpha.19",
"@jupyterlab/translation": "^4.0.0-alpha.19",
"@jupyterlab/application": "^4.0.0-alpha.20",
"@jupyterlab/apputils": "^4.0.0-alpha.20",
"@jupyterlab/mainmenu": "^4.0.0-alpha.20",
"@jupyterlab/translation": "^4.0.0-alpha.20",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"rimraf": "^3.0.2",
"typescript": "5.0.0-beta"
"typescript": "5.0.1-rc"
},
"publishConfig": {
"access": "public"

View File

@ -44,19 +44,19 @@
},
"dependencies": {
"@jupyter-notebook/application": "^7.0.0-alpha.14",
"@jupyterlab/application": "^4.0.0-alpha.19",
"@jupyterlab/apputils": "^4.0.0-alpha.19",
"@jupyterlab/coreutils": "^6.0.0-alpha.19",
"@jupyterlab/docregistry": "^4.0.0-alpha.19",
"@jupyterlab/notebook": "^4.0.0-alpha.19",
"@jupyterlab/translation": "^4.0.0-alpha.19",
"@lumino/commands": "^2.0.0-beta.1",
"@lumino/disposable": "^2.0.0-beta.1"
"@jupyterlab/application": "^4.0.0-alpha.20",
"@jupyterlab/apputils": "^4.0.0-alpha.20",
"@jupyterlab/coreutils": "^6.0.0-alpha.20",
"@jupyterlab/docregistry": "^4.0.0-alpha.20",
"@jupyterlab/notebook": "^4.0.0-alpha.20",
"@jupyterlab/translation": "^4.0.0-alpha.20",
"@lumino/commands": "^2.0.0-rc.1",
"@lumino/disposable": "^2.0.0-rc.1"
},
"devDependencies": {
"@jupyterlab/builder": "^4.0.0-alpha.19",
"@jupyterlab/builder": "^4.0.0-alpha.20",
"rimraf": "^3.0.2",
"typescript": "5.0.0-beta"
"typescript": "5.0.1-rc"
},
"publishConfig": {
"access": "public"

View File

@ -77,7 +77,10 @@ const launchButtons: JupyterFrontEndPlugin<void> = {
const { commands, shell } = app;
const baseUrl = PageConfig.getBaseUrl();
const trans = translator.load('notebook');
const menubar = new MenuBar();
const overflowOptions = {
overflowMenuOptions: { isVisible: false }
};
const menubar = new MenuBar(overflowOptions);
const switcher = new Menu({ commands });
switcher.title.label = trans.__('Interface');
menubar.addMenu(switcher);
@ -134,7 +137,7 @@ const launchButtons: JupyterFrontEndPlugin<void> = {
'Notebook',
'interfaceSwitcher',
panel => {
const menubar = new MenuBar();
const menubar = new MenuBar(overflowOptions);
menubar.addMenu(switcher);
menubar.addClass('jp-InterfaceSwitcher');
return menubar;

View File

@ -39,19 +39,19 @@
},
"dependencies": {
"@jupyter-notebook/application": "^7.0.0-alpha.14",
"@jupyterlab/application": "^4.0.0-alpha.19",
"@jupyterlab/apputils": "^4.0.0-alpha.19",
"@jupyterlab/cells": "^4.0.0-alpha.19",
"@jupyterlab/docmanager": "^4.0.0-alpha.19",
"@jupyterlab/notebook": "^4.0.0-alpha.19",
"@jupyterlab/settingregistry": "^4.0.0-alpha.19",
"@jupyterlab/translation": "^4.0.0-alpha.19",
"@lumino/polling": "^2.0.0-beta.1",
"@lumino/widgets": "^2.0.0-beta.1"
"@jupyterlab/application": "^4.0.0-alpha.20",
"@jupyterlab/apputils": "^4.0.0-alpha.20",
"@jupyterlab/cells": "^4.0.0-alpha.20",
"@jupyterlab/docmanager": "^4.0.0-alpha.20",
"@jupyterlab/notebook": "^4.0.0-alpha.20",
"@jupyterlab/settingregistry": "^4.0.0-alpha.20",
"@jupyterlab/translation": "^4.0.0-alpha.20",
"@lumino/polling": "^2.0.0-rc.1",
"@lumino/widgets": "^2.0.0-rc.1"
},
"devDependencies": {
"rimraf": "^3.0.2",
"typescript": "5.0.0-beta"
"typescript": "5.0.1-rc"
},
"publishConfig": {
"access": "public"

View File

@ -38,14 +38,14 @@
"watch": "tsc -b --watch"
},
"dependencies": {
"@jupyterlab/application": "^4.0.0-alpha.19",
"@jupyterlab/coreutils": "^6.0.0-alpha.19",
"@jupyterlab/terminal": "^4.0.0-alpha.19",
"@lumino/algorithm": "^2.0.0-beta.0"
"@jupyterlab/application": "^4.0.0-alpha.20",
"@jupyterlab/coreutils": "^6.0.0-alpha.20",
"@jupyterlab/terminal": "^4.0.0-alpha.20",
"@lumino/algorithm": "^2.0.0-rc.1"
},
"devDependencies": {
"rimraf": "^3.0.2",
"typescript": "5.0.0-beta"
"typescript": "5.0.1-rc"
},
"publishConfig": {
"access": "public"

View File

@ -40,25 +40,25 @@
"dependencies": {
"@jupyter-notebook/application": "^7.0.0-alpha.14",
"@jupyter-notebook/tree": "^7.0.0-alpha.14",
"@jupyterlab/application": "^4.0.0-alpha.19",
"@jupyterlab/apputils": "^4.0.0-alpha.19",
"@jupyterlab/coreutils": "^6.0.0-alpha.19",
"@jupyterlab/docmanager": "^4.0.0-alpha.19",
"@jupyterlab/filebrowser": "^4.0.0-alpha.19",
"@jupyterlab/mainmenu": "^4.0.0-alpha.19",
"@jupyterlab/services": "^7.0.0-alpha.19",
"@jupyterlab/settingeditor": "^4.0.0-alpha.19",
"@jupyterlab/settingregistry": "^4.0.0-alpha.19",
"@jupyterlab/statedb": "^4.0.0-alpha.19",
"@jupyterlab/translation": "^4.0.0-alpha.19",
"@jupyterlab/ui-components": "^4.0.0-alpha.34",
"@lumino/algorithm": "^2.0.0-beta.0",
"@lumino/commands": "^2.0.0-beta.1",
"@lumino/widgets": "^2.0.0-beta.1"
"@jupyterlab/application": "^4.0.0-alpha.20",
"@jupyterlab/apputils": "^4.0.0-alpha.20",
"@jupyterlab/coreutils": "^6.0.0-alpha.20",
"@jupyterlab/docmanager": "^4.0.0-alpha.20",
"@jupyterlab/filebrowser": "^4.0.0-alpha.20",
"@jupyterlab/mainmenu": "^4.0.0-alpha.20",
"@jupyterlab/services": "^7.0.0-alpha.20",
"@jupyterlab/settingeditor": "^4.0.0-alpha.20",
"@jupyterlab/settingregistry": "^4.0.0-alpha.20",
"@jupyterlab/statedb": "^4.0.0-alpha.20",
"@jupyterlab/translation": "^4.0.0-alpha.20",
"@jupyterlab/ui-components": "^4.0.0-alpha.35",
"@lumino/algorithm": "^2.0.0-rc.1",
"@lumino/commands": "^2.0.0-rc.1",
"@lumino/widgets": "^2.0.0-rc.1"
},
"devDependencies": {
"rimraf": "^3.0.2",
"typescript": "5.0.0-beta"
"typescript": "5.0.1-rc"
},
"publishConfig": {
"access": "public"

View File

@ -4,6 +4,7 @@
"jupyter.lab.toolbars": {
"FileBrowser": [
{ "name": "spacer", "type": "spacer", "rank": 900 },
{ "name": "fileNameSearcher", "rank": 950, "disabled": true },
{ "name": "new-dropdown", "rank": 1000 },
{ "name": "uploader", "rank": 1010 },
{ "name": "refresh", "command": "filebrowser:refresh", "rank": 1020 }

View File

@ -30,7 +30,9 @@ import { ITranslator } from '@jupyterlab/translation';
import {
caretDownIcon,
FilenameSearcher,
folderIcon,
IScore,
runningIcon
} from '@jupyterlab/ui-components';
@ -48,6 +50,11 @@ const FILE_BROWSER_FACTORY = 'FileBrowser';
*/
const FILE_BROWSER_PLUGIN_ID = '@jupyterlab/filebrowser-extension:browser';
/**
* The class name added to the filebrowser filterbox node.
*/
const FILTERBOX_CLASS = 'jp-FileBrowser-filterBox';
/**
* The namespace for command IDs.
*/
@ -73,7 +80,10 @@ const createNew: JupyterFrontEndPlugin<void> = {
const { commands } = app;
const trans = translator.load('notebook');
const menubar = new MenuBar();
const overflowOptions = {
overflowMenuOptions: { isVisible: false }
};
const menubar = new MenuBar(overflowOptions);
const newMenu = new Menu({ commands });
newMenu.title.label = trans.__('New');
newMenu.title.icon = caretDownIcon;
@ -96,7 +106,7 @@ const createNew: JupyterFrontEndPlugin<void> = {
FILE_BROWSER_FACTORY,
'new-dropdown',
(browser: FileBrowser) => {
const menubar = new MenuBar();
const menubar = new MenuBar(overflowOptions);
menubar.addMenu(newMenu);
menubar.addClass('jp-DropdownMenu');
return menubar;
@ -232,6 +242,28 @@ const notebookTreeWidget: JupyterFrontEndPlugin<INotebookTree> = {
})
);
toolbarRegistry.addFactory(
FILE_BROWSER_FACTORY,
'fileNameSearcher',
(browser: FileBrowser) => {
const searcher = FilenameSearcher({
updateFilter: (
filterFn: (item: string) => Partial<IScore> | null,
query?: string
) => {
browser.model.setFilter(value => {
return filterFn(value.name.toLowerCase());
});
},
useFuzzyFilter: true,
placeholder: trans.__('Filter files by name'),
forceRefresh: true
});
searcher.addClass(FILTERBOX_CLASS);
return searcher;
}
);
setToolbar(
browser,
createToolbarFactory(
@ -252,14 +284,16 @@ const notebookTreeWidget: JupyterFrontEndPlugin<INotebookTree> = {
nbTreeWidget.tabBar.addTab(running.title);
}
// show checkboxes by default if there is no user setting override
// show checkboxes and file size by default if there is no user setting override
const settings = settingRegistry.load(FILE_BROWSER_PLUGIN_ID);
Promise.all([settings, app.restored])
.then(([settings]) => {
if (settings.user.showFileCheckboxes !== undefined) {
return;
if (settings.user.showFileCheckboxes === undefined) {
void settings.set('showFileCheckboxes', true);
}
if (settings.user.showFileSizeColumn === undefined) {
void settings.set('showFileSizeColumn', true);
}
void settings.set('showFileCheckboxes', true);
})
.catch((reason: Error) => {
console.error(reason.message);

View File

@ -15,3 +15,12 @@
.jp-FileBrowser-toolbar button.jp-ToolbarButtonComponent {
height: 100%;
}
.jp-FileBrowser-filterBox {
padding: 0;
flex: 0 0 auto;
}
.jp-FileBrowser-filterBox input {
line-height: 24px;
}

View File

@ -39,25 +39,25 @@
},
"dependencies": {
"@jupyter-notebook/application": "^7.0.0-alpha.14",
"@jupyterlab/application": "^4.0.0-alpha.19",
"@jupyterlab/apputils": "^4.0.0-alpha.19",
"@jupyterlab/coreutils": "^6.0.0-alpha.19",
"@jupyterlab/docmanager": "^4.0.0-alpha.19",
"@jupyterlab/filebrowser": "^4.0.0-alpha.19",
"@jupyterlab/mainmenu": "^4.0.0-alpha.19",
"@jupyterlab/services": "^7.0.0-alpha.19",
"@jupyterlab/settingregistry": "^4.0.0-alpha.19",
"@jupyterlab/statedb": "^4.0.0-alpha.19",
"@jupyterlab/translation": "^4.0.0-alpha.19",
"@jupyterlab/ui-components": "^4.0.0-alpha.34",
"@lumino/algorithm": "^2.0.0-beta.0",
"@lumino/commands": "^2.0.0-beta.1",
"@lumino/coreutils": "^2.0.0-beta.0",
"@lumino/widgets": "^2.0.0-beta.1"
"@jupyterlab/application": "^4.0.0-alpha.20",
"@jupyterlab/apputils": "^4.0.0-alpha.20",
"@jupyterlab/coreutils": "^6.0.0-alpha.20",
"@jupyterlab/docmanager": "^4.0.0-alpha.20",
"@jupyterlab/filebrowser": "^4.0.0-alpha.20",
"@jupyterlab/mainmenu": "^4.0.0-alpha.20",
"@jupyterlab/services": "^7.0.0-alpha.20",
"@jupyterlab/settingregistry": "^4.0.0-alpha.20",
"@jupyterlab/statedb": "^4.0.0-alpha.20",
"@jupyterlab/translation": "^4.0.0-alpha.20",
"@jupyterlab/ui-components": "^4.0.0-alpha.35",
"@lumino/algorithm": "^2.0.0-rc.1",
"@lumino/commands": "^2.0.0-rc.1",
"@lumino/coreutils": "^2.0.0-rc.1",
"@lumino/widgets": "^2.0.0-rc.1"
},
"devDependencies": {
"rimraf": "^3.0.2",
"typescript": "5.0.0-beta"
"typescript": "5.0.1-rc"
},
"publishConfig": {
"access": "public"

View File

@ -42,20 +42,20 @@
"watch": "tsc -b --watch"
},
"dependencies": {
"@jupyterlab/ui-components": "^4.0.0-alpha.34",
"@jupyterlab/ui-components": "^4.0.0-alpha.35",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@babel/core": "^7.10.2",
"@babel/preset-env": "^7.10.2",
"@jupyterlab/testutils": "^4.0.0-alpha.19",
"@jupyterlab/testutils": "^4.0.0-alpha.20",
"@types/jest": "^29.2.5",
"babel-loader": "^8.0.6",
"jest": "^29.3.1",
"rimraf": "^3.0.2",
"ts-jest": "^29.0.3",
"typescript": "5.0.0-beta"
"typescript": "5.0.1-rc"
},
"publishConfig": {
"access": "public"

View File

@ -14,7 +14,6 @@
"preserveWatchOutput": true,
"resolveJsonModule": true,
"strict": true,
"skipLibCheck": true,
"strictNullChecks": true,
"target": "ES2018",
"types": []

View File

@ -12,7 +12,6 @@
"jsx": "react",
"resolveJsonModule": true,
"esModuleInterop": true,
"skipLibCheck": true,
"strictNullChecks": true
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.4 KiB

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.6 KiB

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.0 KiB

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.2 KiB

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.6 KiB

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

6814
yarn.lock

File diff suppressed because it is too large Load Diff