Update to JupyterLab 4.3.0rc0 (#7423)

* Update to JupyterLab 4.3.0a2

* bump galata

* Update Playwright Snapshots

* Update Playwright Snapshots

* Remove custom file filter

* Add `jp-ThemedContainer` to the `body`

* Bump to 4.3.0b1

* update resolutions

* add `intl` to tsconfig

* override the lab .jp-ThemedContainer

* workaround for .jp-ThemedContainer

* more CSS fixes

* bump to 4.3.0b2

* bump jupyterlab dep

* update to beta 3

* Update Playwright Snapshots

* Update Playwright Snapshots

* Update to 4.3.0rc0

* update playwright, dedupe

* Update Playwright Snapshots

* Update Playwright Snapshots

* bump python dep

* update snapshot

* try with a fix statedb state

* update snapshots

* .

* .

* .

* one more try

* last try

* give up

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Jeremy Tuloup 2024-10-14 12:57:09 -07:00 committed by GitHub
parent 7760265de5
commit 324de44521
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
49 changed files with 2554 additions and 2667 deletions

View File

@ -29,7 +29,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install -U "jupyterlab>=4.3.0a1,<4.4" hatch
python -m pip install -U "jupyterlab>=4.3.0rc0,<4.4" hatch
jlpm
jlpm run build
@ -79,6 +79,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install -U "jupyterlab>=4.3.0a1,<4.4" pip
python -m pip install -U "jupyterlab>=4.3.0rc0,<4.4" pip
jlpm
jlpm run build

View File

@ -44,7 +44,7 @@ repos:
files: "^notebook"
stages: [manual]
args: ["--install-types", "--non-interactive"]
additional_dependencies: ["traitlets>=5.13", "tornado", "jupyter_server>=2.10", "jupyterlab_server>=2.25", "jupyterlab>=4.3.0a1,<4.4"]
additional_dependencies: ["traitlets>=5.13", "tornado", "jupyter_server>=2.10", "jupyterlab_server>=2.25", "jupyterlab>=4.3.0rc0,<4.4"]
- repo: https://github.com/pre-commit/pygrep-hooks
rev: 'v1.10.0'

View File

@ -23,99 +23,99 @@
"@jupyter-notebook/tree": "~7.3.0-alpha.1",
"@jupyter-notebook/tree-extension": "~7.3.0-alpha.1",
"@jupyter-notebook/ui-components": "~7.3.0-alpha.1",
"@jupyter/ydoc": "~2.0.1",
"@jupyterlab/application": "~4.3.0-alpha.1",
"@jupyterlab/application-extension": "~4.3.0-alpha.1",
"@jupyterlab/apputils": "~4.4.0-alpha.1",
"@jupyterlab/apputils-extension": "~4.3.0-alpha.1",
"@jupyterlab/attachments": "~4.3.0-alpha.1",
"@jupyterlab/cell-toolbar": "~4.3.0-alpha.1",
"@jupyterlab/cell-toolbar-extension": "~4.3.0-alpha.1",
"@jupyterlab/celltags-extension": "~4.3.0-alpha.1",
"@jupyterlab/codeeditor": "~4.3.0-alpha.1",
"@jupyterlab/codemirror": "~4.3.0-alpha.1",
"@jupyterlab/codemirror-extension": "~4.3.0-alpha.1",
"@jupyterlab/completer": "~4.3.0-alpha.1",
"@jupyterlab/completer-extension": "~4.3.0-alpha.1",
"@jupyterlab/console": "~4.3.0-alpha.1",
"@jupyterlab/console-extension": "~4.3.0-alpha.1",
"@jupyterlab/coreutils": "~6.3.0-alpha.1",
"@jupyterlab/csvviewer-extension": "~4.3.0-alpha.1",
"@jupyterlab/debugger": "~4.3.0-alpha.1",
"@jupyterlab/debugger-extension": "~4.3.0-alpha.1",
"@jupyterlab/docmanager": "~4.3.0-alpha.1",
"@jupyterlab/docmanager-extension": "~4.3.0-alpha.1",
"@jupyterlab/documentsearch": "~4.3.0-alpha.1",
"@jupyterlab/documentsearch-extension": "~4.3.0-alpha.1",
"@jupyterlab/extensionmanager": "~4.3.0-alpha.1",
"@jupyterlab/extensionmanager-extension": "~4.3.0-alpha.1",
"@jupyterlab/filebrowser": "~4.3.0-alpha.1",
"@jupyterlab/filebrowser-extension": "~4.3.0-alpha.1",
"@jupyterlab/fileeditor": "~4.3.0-alpha.1",
"@jupyterlab/fileeditor-extension": "~4.3.0-alpha.1",
"@jupyterlab/help-extension": "~4.3.0-alpha.1",
"@jupyterlab/htmlviewer": "~4.3.0-alpha.1",
"@jupyterlab/htmlviewer-extension": "~4.3.0-alpha.1",
"@jupyterlab/hub-extension": "~4.3.0-alpha.1",
"@jupyterlab/imageviewer": "~4.3.0-alpha.1",
"@jupyterlab/imageviewer-extension": "~4.3.0-alpha.1",
"@jupyterlab/javascript-extension": "~4.3.0-alpha.1",
"@jupyterlab/json-extension": "~4.3.0-alpha.1",
"@jupyterlab/lsp": "~4.3.0-alpha.1",
"@jupyterlab/lsp-extension": "~4.3.0-alpha.1",
"@jupyterlab/mainmenu": "~4.3.0-alpha.1",
"@jupyterlab/mainmenu-extension": "~4.3.0-alpha.1",
"@jupyterlab/markdownviewer": "~4.3.0-alpha.1",
"@jupyterlab/markdownviewer-extension": "~4.3.0-alpha.1",
"@jupyterlab/markedparser-extension": "~4.3.0-alpha.1",
"@jupyterlab/mathjax-extension": "~4.3.0-alpha.1",
"@jupyterlab/mermaid": "~4.3.0-alpha.1",
"@jupyterlab/mermaid-extension": "~4.3.0-alpha.1",
"@jupyterlab/metadataform": "~4.3.0-alpha.1",
"@jupyterlab/metadataform-extension": "~4.3.0-alpha.1",
"@jupyterlab/notebook": "~4.3.0-alpha.1",
"@jupyterlab/notebook-extension": "~4.3.0-alpha.1",
"@jupyterlab/observables": "~5.3.0-alpha.1",
"@jupyterlab/outputarea": "~4.3.0-alpha.1",
"@jupyterlab/pdf-extension": "~4.3.0-alpha.1",
"@jupyterlab/pluginmanager-extension": "~4.3.0-alpha.1",
"@jupyterlab/rendermime": "~4.3.0-alpha.1",
"@jupyterlab/rendermime-interfaces": "~3.11.0-alpha.1",
"@jupyterlab/running-extension": "~4.3.0-alpha.1",
"@jupyterlab/services": "~7.3.0-alpha.1",
"@jupyterlab/settingeditor": "~4.3.0-alpha.1",
"@jupyterlab/settingeditor-extension": "~4.3.0-alpha.1",
"@jupyterlab/settingregistry": "~4.3.0-alpha.1",
"@jupyterlab/shortcuts-extension": "~5.1.0-alpha.1",
"@jupyterlab/statedb": "~4.3.0-alpha.1",
"@jupyterlab/statusbar": "~4.3.0-alpha.1",
"@jupyterlab/terminal": "~4.3.0-alpha.1",
"@jupyterlab/terminal-extension": "~4.3.0-alpha.1",
"@jupyterlab/theme-dark-extension": "~4.3.0-alpha.1",
"@jupyterlab/theme-dark-high-contrast-extension": "~4.3.0-alpha.1",
"@jupyterlab/theme-light-extension": "~4.3.0-alpha.1",
"@jupyterlab/toc-extension": "~6.3.0-alpha.1",
"@jupyterlab/tooltip": "~4.3.0-alpha.1",
"@jupyterlab/tooltip-extension": "~4.3.0-alpha.1",
"@jupyterlab/translation": "~4.3.0-alpha.1",
"@jupyterlab/translation-extension": "~4.3.0-alpha.1",
"@jupyterlab/ui-components": "~4.3.0-alpha.1",
"@jupyterlab/ui-components-extension": "~4.3.0-alpha.1",
"@jupyterlab/vega5-extension": "~4.3.0-alpha.1",
"@jupyter/ydoc": "~3.0.0-a8",
"@jupyterlab/application": "~4.3.0-rc.0",
"@jupyterlab/application-extension": "~4.3.0-rc.0",
"@jupyterlab/apputils": "~4.4.0-rc.0",
"@jupyterlab/apputils-extension": "~4.3.0-rc.0",
"@jupyterlab/attachments": "~4.3.0-rc.0",
"@jupyterlab/cell-toolbar": "~4.3.0-rc.0",
"@jupyterlab/cell-toolbar-extension": "~4.3.0-rc.0",
"@jupyterlab/celltags-extension": "~4.3.0-rc.0",
"@jupyterlab/codeeditor": "~4.3.0-rc.0",
"@jupyterlab/codemirror": "~4.3.0-rc.0",
"@jupyterlab/codemirror-extension": "~4.3.0-rc.0",
"@jupyterlab/completer": "~4.3.0-rc.0",
"@jupyterlab/completer-extension": "~4.3.0-rc.0",
"@jupyterlab/console": "~4.3.0-rc.0",
"@jupyterlab/console-extension": "~4.3.0-rc.0",
"@jupyterlab/coreutils": "~6.3.0-rc.0",
"@jupyterlab/csvviewer-extension": "~4.3.0-rc.0",
"@jupyterlab/debugger": "~4.3.0-rc.0",
"@jupyterlab/debugger-extension": "~4.3.0-rc.0",
"@jupyterlab/docmanager": "~4.3.0-rc.0",
"@jupyterlab/docmanager-extension": "~4.3.0-rc.0",
"@jupyterlab/documentsearch": "~4.3.0-rc.0",
"@jupyterlab/documentsearch-extension": "~4.3.0-rc.0",
"@jupyterlab/extensionmanager": "~4.3.0-rc.0",
"@jupyterlab/extensionmanager-extension": "~4.3.0-rc.0",
"@jupyterlab/filebrowser": "~4.3.0-rc.0",
"@jupyterlab/filebrowser-extension": "~4.3.0-rc.0",
"@jupyterlab/fileeditor": "~4.3.0-rc.0",
"@jupyterlab/fileeditor-extension": "~4.3.0-rc.0",
"@jupyterlab/help-extension": "~4.3.0-rc.0",
"@jupyterlab/htmlviewer": "~4.3.0-rc.0",
"@jupyterlab/htmlviewer-extension": "~4.3.0-rc.0",
"@jupyterlab/hub-extension": "~4.3.0-rc.0",
"@jupyterlab/imageviewer": "~4.3.0-rc.0",
"@jupyterlab/imageviewer-extension": "~4.3.0-rc.0",
"@jupyterlab/javascript-extension": "~4.3.0-rc.0",
"@jupyterlab/json-extension": "~4.3.0-rc.0",
"@jupyterlab/lsp": "~4.3.0-rc.0",
"@jupyterlab/lsp-extension": "~4.3.0-rc.0",
"@jupyterlab/mainmenu": "~4.3.0-rc.0",
"@jupyterlab/mainmenu-extension": "~4.3.0-rc.0",
"@jupyterlab/markdownviewer": "~4.3.0-rc.0",
"@jupyterlab/markdownviewer-extension": "~4.3.0-rc.0",
"@jupyterlab/markedparser-extension": "~4.3.0-rc.0",
"@jupyterlab/mathjax-extension": "~4.3.0-rc.0",
"@jupyterlab/mermaid": "~4.3.0-rc.0",
"@jupyterlab/mermaid-extension": "~4.3.0-rc.0",
"@jupyterlab/metadataform": "~4.3.0-rc.0",
"@jupyterlab/metadataform-extension": "~4.3.0-rc.0",
"@jupyterlab/notebook": "~4.3.0-rc.0",
"@jupyterlab/notebook-extension": "~4.3.0-rc.0",
"@jupyterlab/observables": "~5.3.0-rc.0",
"@jupyterlab/outputarea": "~4.3.0-rc.0",
"@jupyterlab/pdf-extension": "~4.3.0-rc.0",
"@jupyterlab/pluginmanager-extension": "~4.3.0-rc.0",
"@jupyterlab/rendermime": "~4.3.0-rc.0",
"@jupyterlab/rendermime-interfaces": "~3.11.0-rc.0",
"@jupyterlab/running-extension": "~4.3.0-rc.0",
"@jupyterlab/services": "~7.3.0-rc.0",
"@jupyterlab/settingeditor": "~4.3.0-rc.0",
"@jupyterlab/settingeditor-extension": "~4.3.0-rc.0",
"@jupyterlab/settingregistry": "~4.3.0-rc.0",
"@jupyterlab/shortcuts-extension": "~5.1.0-rc.0",
"@jupyterlab/statedb": "~4.3.0-rc.0",
"@jupyterlab/statusbar": "~4.3.0-rc.0",
"@jupyterlab/terminal": "~4.3.0-rc.0",
"@jupyterlab/terminal-extension": "~4.3.0-rc.0",
"@jupyterlab/theme-dark-extension": "~4.3.0-rc.0",
"@jupyterlab/theme-dark-high-contrast-extension": "~4.3.0-rc.0",
"@jupyterlab/theme-light-extension": "~4.3.0-rc.0",
"@jupyterlab/toc-extension": "~6.3.0-rc.0",
"@jupyterlab/tooltip": "~4.3.0-rc.0",
"@jupyterlab/tooltip-extension": "~4.3.0-rc.0",
"@jupyterlab/translation": "~4.3.0-rc.0",
"@jupyterlab/translation-extension": "~4.3.0-rc.0",
"@jupyterlab/ui-components": "~4.3.0-rc.0",
"@jupyterlab/ui-components-extension": "~4.3.0-rc.0",
"@jupyterlab/vega5-extension": "~4.3.0-rc.0",
"@lezer/common": "~1.2.1",
"@lezer/highlight": "~1.2.0",
"@lumino/algorithm": "~2.0.1",
"@lumino/application": "~2.3.1",
"@lumino/commands": "~2.3.0",
"@lumino/coreutils": "~2.1.2",
"@lumino/disposable": "~2.1.2",
"@lumino/domutils": "~2.0.1",
"@lumino/dragdrop": "~2.1.4",
"@lumino/messaging": "~2.0.1",
"@lumino/properties": "~2.0.1",
"@lumino/signaling": "~2.1.2",
"@lumino/virtualdom": "~2.0.1",
"@lumino/widgets": "~2.3.2",
"@lumino/algorithm": "~2.0.2",
"@lumino/application": "~2.4.1",
"@lumino/commands": "~2.3.1",
"@lumino/coreutils": "~2.2.0",
"@lumino/disposable": "~2.1.3",
"@lumino/domutils": "~2.0.2",
"@lumino/dragdrop": "~2.1.5",
"@lumino/messaging": "~2.0.2",
"@lumino/properties": "~2.0.2",
"@lumino/signaling": "~2.1.3",
"@lumino/virtualdom": "~2.0.2",
"@lumino/widgets": "~2.5.0",
"react": "~18.2.0",
"react-dom": "~18.2.0",
"yjs": "~13.6.8"
@ -132,60 +132,60 @@
"@jupyter-notebook/tree": "^7.3.0-alpha.1",
"@jupyter-notebook/tree-extension": "^7.3.0-alpha.1",
"@jupyter-notebook/ui-components": "^7.3.0-alpha.1",
"@jupyterlab/application-extension": "~4.3.0-alpha.1",
"@jupyterlab/apputils-extension": "~4.3.0-alpha.1",
"@jupyterlab/attachments": "~4.3.0-alpha.1",
"@jupyterlab/cell-toolbar-extension": "~4.3.0-alpha.1",
"@jupyterlab/celltags-extension": "~4.3.0-alpha.1",
"@jupyterlab/codemirror": "~4.3.0-alpha.1",
"@jupyterlab/codemirror-extension": "~4.3.0-alpha.1",
"@jupyterlab/completer-extension": "~4.3.0-alpha.1",
"@jupyterlab/console-extension": "~4.3.0-alpha.1",
"@jupyterlab/coreutils": "~6.3.0-alpha.1",
"@jupyterlab/csvviewer-extension": "~4.3.0-alpha.1",
"@jupyterlab/debugger-extension": "~4.3.0-alpha.1",
"@jupyterlab/docmanager-extension": "~4.3.0-alpha.1",
"@jupyterlab/documentsearch-extension": "~4.3.0-alpha.1",
"@jupyterlab/extensionmanager-extension": "~4.3.0-alpha.1",
"@jupyterlab/filebrowser-extension": "~4.3.0-alpha.1",
"@jupyterlab/fileeditor-extension": "~4.3.0-alpha.1",
"@jupyterlab/help-extension": "~4.3.0-alpha.1",
"@jupyterlab/htmlviewer-extension": "~4.3.0-alpha.1",
"@jupyterlab/hub-extension": "~4.3.0-alpha.1",
"@jupyterlab/imageviewer-extension": "~4.3.0-alpha.1",
"@jupyterlab/javascript-extension": "~4.3.0-alpha.1",
"@jupyterlab/json-extension": "~4.3.0-alpha.1",
"@jupyterlab/lsp": "~4.3.0-alpha.1",
"@jupyterlab/lsp-extension": "~4.3.0-alpha.1",
"@jupyterlab/mainmenu-extension": "~4.3.0-alpha.1",
"@jupyterlab/markdownviewer-extension": "~4.3.0-alpha.1",
"@jupyterlab/markedparser-extension": "~4.3.0-alpha.1",
"@jupyterlab/mathjax-extension": "~4.3.0-alpha.1",
"@jupyterlab/mermaid-extension": "~4.3.0-alpha.1",
"@jupyterlab/metadataform-extension": "~4.3.0-alpha.1",
"@jupyterlab/notebook-extension": "~4.3.0-alpha.1",
"@jupyterlab/pdf-extension": "~4.3.0-alpha.1",
"@jupyterlab/pluginmanager-extension": "~4.3.0-alpha.1",
"@jupyterlab/running-extension": "~4.3.0-alpha.1",
"@jupyterlab/settingeditor": "~4.3.0-alpha.1",
"@jupyterlab/settingeditor-extension": "~4.3.0-alpha.1",
"@jupyterlab/shortcuts-extension": "~5.1.0-alpha.1",
"@jupyterlab/terminal-extension": "~4.3.0-alpha.1",
"@jupyterlab/theme-dark-extension": "~4.3.0-alpha.1",
"@jupyterlab/theme-dark-high-contrast-extension": "~4.3.0-alpha.1",
"@jupyterlab/theme-light-extension": "~4.3.0-alpha.1",
"@jupyterlab/toc-extension": "~6.3.0-alpha.1",
"@jupyterlab/tooltip-extension": "~4.3.0-alpha.1",
"@jupyterlab/translation-extension": "~4.3.0-alpha.1",
"@jupyterlab/ui-components-extension": "~4.3.0-alpha.1",
"@jupyterlab/vega5-extension": "~4.3.0-alpha.1",
"@jupyterlab/application-extension": "~4.3.0-rc.0",
"@jupyterlab/apputils-extension": "~4.3.0-rc.0",
"@jupyterlab/attachments": "~4.3.0-rc.0",
"@jupyterlab/cell-toolbar-extension": "~4.3.0-rc.0",
"@jupyterlab/celltags-extension": "~4.3.0-rc.0",
"@jupyterlab/codemirror": "~4.3.0-rc.0",
"@jupyterlab/codemirror-extension": "~4.3.0-rc.0",
"@jupyterlab/completer-extension": "~4.3.0-rc.0",
"@jupyterlab/console-extension": "~4.3.0-rc.0",
"@jupyterlab/coreutils": "~6.3.0-rc.0",
"@jupyterlab/csvviewer-extension": "~4.3.0-rc.0",
"@jupyterlab/debugger-extension": "~4.3.0-rc.0",
"@jupyterlab/docmanager-extension": "~4.3.0-rc.0",
"@jupyterlab/documentsearch-extension": "~4.3.0-rc.0",
"@jupyterlab/extensionmanager-extension": "~4.3.0-rc.0",
"@jupyterlab/filebrowser-extension": "~4.3.0-rc.0",
"@jupyterlab/fileeditor-extension": "~4.3.0-rc.0",
"@jupyterlab/help-extension": "~4.3.0-rc.0",
"@jupyterlab/htmlviewer-extension": "~4.3.0-rc.0",
"@jupyterlab/hub-extension": "~4.3.0-rc.0",
"@jupyterlab/imageviewer-extension": "~4.3.0-rc.0",
"@jupyterlab/javascript-extension": "~4.3.0-rc.0",
"@jupyterlab/json-extension": "~4.3.0-rc.0",
"@jupyterlab/lsp": "~4.3.0-rc.0",
"@jupyterlab/lsp-extension": "~4.3.0-rc.0",
"@jupyterlab/mainmenu-extension": "~4.3.0-rc.0",
"@jupyterlab/markdownviewer-extension": "~4.3.0-rc.0",
"@jupyterlab/markedparser-extension": "~4.3.0-rc.0",
"@jupyterlab/mathjax-extension": "~4.3.0-rc.0",
"@jupyterlab/mermaid-extension": "~4.3.0-rc.0",
"@jupyterlab/metadataform-extension": "~4.3.0-rc.0",
"@jupyterlab/notebook-extension": "~4.3.0-rc.0",
"@jupyterlab/pdf-extension": "~4.3.0-rc.0",
"@jupyterlab/pluginmanager-extension": "~4.3.0-rc.0",
"@jupyterlab/running-extension": "~4.3.0-rc.0",
"@jupyterlab/settingeditor": "~4.3.0-rc.0",
"@jupyterlab/settingeditor-extension": "~4.3.0-rc.0",
"@jupyterlab/shortcuts-extension": "~5.1.0-rc.0",
"@jupyterlab/terminal-extension": "~4.3.0-rc.0",
"@jupyterlab/theme-dark-extension": "~4.3.0-rc.0",
"@jupyterlab/theme-dark-high-contrast-extension": "~4.3.0-rc.0",
"@jupyterlab/theme-light-extension": "~4.3.0-rc.0",
"@jupyterlab/toc-extension": "~6.3.0-rc.0",
"@jupyterlab/tooltip-extension": "~4.3.0-rc.0",
"@jupyterlab/translation-extension": "~4.3.0-rc.0",
"@jupyterlab/ui-components-extension": "~4.3.0-rc.0",
"@jupyterlab/vega5-extension": "~4.3.0-rc.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"yjs": "^13.5.40"
},
"devDependencies": {
"@jupyterlab/builder": "~4.3.0-alpha.1",
"@jupyterlab/buildutils": "~4.3.0-alpha.1",
"@jupyterlab/builder": "~4.3.0-rc.0",
"@jupyterlab/buildutils": "~4.3.0-rc.0",
"@types/rimraf": "^3.0.2",
"css-loader": "~5.0.1",
"extra-watch-webpack-plugin": "^1.0.3",

View File

@ -29,7 +29,7 @@
"watch": "tsc -w --listEmittedFiles"
},
"dependencies": {
"@jupyterlab/buildutils": "~4.3.0-alpha.1",
"@jupyterlab/buildutils": "~4.3.0-rc.0",
"commander": "^6.2.0",
"fs-extra": "^9.1.0",
"typescript": "~5.0.2"

View File

@ -12,7 +12,7 @@
<link rel="stylesheet" type="text/css" href="{{ base_url | escape }}custom/custom.css">
{% endif %}
</head>
<body>
<body class="jp-ThemedContainer">
{# Copy so we do not modify the page_config with updates. #}
{% set page_config_full = page_config.copy() %}

View File

@ -8,7 +8,7 @@
<link rel="icon" type="image/x-icon" href="{{ base_url | escape }}static/favicons/favicon-file.ico" class="favicon">
{% endblock %}
</head>
<body data-notebook="edit">
<body class="jp-ThemedContainer" data-notebook="edit">
{# Copy so we do not modify the page_config with updates. #}
{% set page_config_full = page_config.copy() %}

View File

@ -14,7 +14,7 @@ Distributed under the terms of the Modified BSD License.
</head>
<body>
<body class="jp-ThemedContainer">
{% block stylesheet %}
<style type="text/css">

View File

@ -12,7 +12,7 @@
<link rel="stylesheet" type="text/css" href="{{ base_url | escape }}custom/custom.css">
{% endif %}
</head>
<body data-notebook="notebooks">
<body class="jp-ThemedContainer" data-notebook="notebooks">
{# Copy so we do not modify the page_config with updates. #}
{% set page_config_full = page_config.copy() %}

View File

@ -12,7 +12,7 @@
<link rel="stylesheet" type="text/css" href="{{ base_url | escape }}custom/custom.css">
{% endif %}
</head>
<body>
<body class="jp-ThemedContainer">
{# Copy so we do not modify the page_config with updates. #}
{% set page_config_full = page_config.copy() %}

View File

@ -12,7 +12,7 @@
<link rel="stylesheet" type="text/css" href="{{ base_url | escape }}custom/custom.css">
{% endif %}
</head>
<body>
<body class="jp-ThemedContainer">
{# Copy so we do not modify the page_config with updates. #}
{% set page_config_full = page_config.copy() %}

View File

@ -49,7 +49,7 @@
"yjs": "^13.5.40"
},
"devDependencies": {
"@jupyterlab/buildutils": "~4.3.0-alpha.1",
"@jupyterlab/buildutils": "~4.3.0-rc.0",
"@typescript-eslint/eslint-plugin": "^5.55.0",
"@typescript-eslint/parser": "^5.55.0",
"eslint": "^8.36.0",

View File

@ -40,20 +40,20 @@
"dependencies": {
"@jupyter-notebook/application": "^7.3.0-alpha.1",
"@jupyter-notebook/ui-components": "^7.3.0-alpha.1",
"@jupyterlab/application": "~4.3.0-alpha.1",
"@jupyterlab/apputils": "~4.4.0-alpha.1",
"@jupyterlab/codeeditor": "~4.3.0-alpha.1",
"@jupyterlab/console": "~4.3.0-alpha.1",
"@jupyterlab/coreutils": "~6.3.0-alpha.1",
"@jupyterlab/docmanager": "~4.3.0-alpha.1",
"@jupyterlab/docregistry": "~4.3.0-alpha.1",
"@jupyterlab/mainmenu": "~4.3.0-alpha.1",
"@jupyterlab/rendermime": "~4.3.0-alpha.1",
"@jupyterlab/settingregistry": "~4.3.0-alpha.1",
"@jupyterlab/translation": "~4.3.0-alpha.1",
"@lumino/coreutils": "^2.1.2",
"@lumino/disposable": "^2.1.2",
"@lumino/widgets": "^2.3.2"
"@jupyterlab/application": "~4.3.0-rc.0",
"@jupyterlab/apputils": "~4.4.0-rc.0",
"@jupyterlab/codeeditor": "~4.3.0-rc.0",
"@jupyterlab/console": "~4.3.0-rc.0",
"@jupyterlab/coreutils": "~6.3.0-rc.0",
"@jupyterlab/docmanager": "~4.3.0-rc.0",
"@jupyterlab/docregistry": "~4.3.0-rc.0",
"@jupyterlab/mainmenu": "~4.3.0-rc.0",
"@jupyterlab/rendermime": "~4.3.0-rc.0",
"@jupyterlab/settingregistry": "~4.3.0-rc.0",
"@jupyterlab/translation": "~4.3.0-rc.0",
"@lumino/coreutils": "^2.2.0",
"@lumino/disposable": "^2.1.3",
"@lumino/widgets": "^2.5.0"
},
"devDependencies": {
"rimraf": "^3.0.2",

View File

@ -42,22 +42,22 @@
"watch": "tsc -b --watch"
},
"dependencies": {
"@jupyterlab/application": "~4.3.0-alpha.1",
"@jupyterlab/coreutils": "~6.3.0-alpha.1",
"@jupyterlab/docregistry": "~4.3.0-alpha.1",
"@jupyterlab/rendermime-interfaces": "~3.11.0-alpha.1",
"@jupyterlab/ui-components": "~4.3.0-alpha.1",
"@lumino/algorithm": "^2.0.1",
"@lumino/coreutils": "^2.1.2",
"@lumino/messaging": "^2.0.1",
"@lumino/polling": "^2.1.2",
"@lumino/signaling": "^2.1.2",
"@lumino/widgets": "^2.3.2"
"@jupyterlab/application": "~4.3.0-rc.0",
"@jupyterlab/coreutils": "~6.3.0-rc.0",
"@jupyterlab/docregistry": "~4.3.0-rc.0",
"@jupyterlab/rendermime-interfaces": "~3.11.0-rc.0",
"@jupyterlab/ui-components": "~4.3.0-rc.0",
"@lumino/algorithm": "^2.0.2",
"@lumino/coreutils": "^2.2.0",
"@lumino/messaging": "^2.0.2",
"@lumino/polling": "^2.1.3",
"@lumino/signaling": "^2.1.3",
"@lumino/widgets": "^2.5.0"
},
"devDependencies": {
"@babel/core": "^7.11.6",
"@babel/preset-env": "^7.12.1",
"@jupyterlab/testutils": "~4.3.0-alpha.1",
"@jupyterlab/testutils": "~4.3.0-rc.0",
"@types/jest": "^29.2.5",
"jest": "^29.3.1",
"rimraf": "^3.0.2",

View File

@ -10,18 +10,23 @@
--jp-notebook-max-width: 1200px;
}
body {
/*
Override the default background
See https://github.com/jupyterlab/jupyterlab/pull/16519 for more information
*/
body.jp-ThemedContainer {
margin: 0;
padding: 0;
background: var(--jp-layout-color2);
}
#main {
#main.jp-ThemedContainer {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: var(--jp-layout-color2);
}
#top-panel-wrapper {

View File

@ -39,10 +39,10 @@
},
"dependencies": {
"@jupyter-notebook/application": "^7.3.0-alpha.1",
"@jupyterlab/application": "~4.3.0-alpha.1",
"@jupyterlab/console": "~4.3.0-alpha.1",
"@jupyterlab/coreutils": "~6.3.0-alpha.1",
"@lumino/algorithm": "^2.0.1"
"@jupyterlab/application": "~4.3.0-rc.0",
"@jupyterlab/console": "~4.3.0-rc.0",
"@jupyterlab/coreutils": "~6.3.0-rc.0",
"@lumino/algorithm": "^2.0.2"
},
"devDependencies": {
"rimraf": "^3.0.2",

View File

@ -39,13 +39,13 @@
},
"dependencies": {
"@jupyter-notebook/application": "^7.3.0-alpha.1",
"@jupyterlab/application": "~4.3.0-alpha.1",
"@jupyterlab/coreutils": "~6.3.0-alpha.1",
"@jupyterlab/docmanager": "~4.3.0-alpha.1",
"@jupyterlab/docregistry": "~4.3.0-alpha.1",
"@jupyterlab/services": "~7.3.0-alpha.1",
"@lumino/algorithm": "^2.0.1",
"@lumino/signaling": "^2.1.2"
"@jupyterlab/application": "~4.3.0-rc.0",
"@jupyterlab/coreutils": "~6.3.0-rc.0",
"@jupyterlab/docmanager": "~4.3.0-rc.0",
"@jupyterlab/docregistry": "~4.3.0-rc.0",
"@jupyterlab/services": "~7.3.0-rc.0",
"@lumino/algorithm": "^2.0.2",
"@lumino/signaling": "^2.1.3"
},
"devDependencies": {
"rimraf": "^3.0.2",

View File

@ -39,9 +39,9 @@
},
"dependencies": {
"@jupyter-notebook/application": "^7.3.0-alpha.1",
"@jupyterlab/application": "~4.3.0-alpha.1",
"@jupyterlab/documentsearch": "~4.3.0-alpha.1",
"@lumino/widgets": "^2.3.2"
"@jupyterlab/application": "~4.3.0-rc.0",
"@jupyterlab/documentsearch": "~4.3.0-rc.0",
"@lumino/widgets": "^2.5.0"
},
"devDependencies": {
"rimraf": "^3.0.2",

View File

@ -39,10 +39,10 @@
},
"dependencies": {
"@jupyter-notebook/ui-components": "^7.3.0-alpha.1",
"@jupyterlab/application": "~4.3.0-alpha.1",
"@jupyterlab/apputils": "~4.4.0-alpha.1",
"@jupyterlab/mainmenu": "~4.3.0-alpha.1",
"@jupyterlab/translation": "~4.3.0-alpha.1",
"@jupyterlab/application": "~4.3.0-rc.0",
"@jupyterlab/apputils": "~4.4.0-rc.0",
"@jupyterlab/mainmenu": "~4.3.0-rc.0",
"@jupyterlab/translation": "~4.3.0-rc.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},

View File

@ -44,18 +44,18 @@
},
"dependencies": {
"@jupyter-notebook/application": "^7.3.0-alpha.1",
"@jupyterlab/application": "~4.3.0-alpha.1",
"@jupyterlab/apputils": "~4.4.0-alpha.1",
"@jupyterlab/coreutils": "~6.3.0-alpha.1",
"@jupyterlab/docregistry": "~4.3.0-alpha.1",
"@jupyterlab/notebook": "~4.3.0-alpha.1",
"@jupyterlab/translation": "~4.3.0-alpha.1",
"@jupyterlab/ui-components": "~4.3.0-alpha.1",
"@lumino/commands": "^2.3.0",
"@lumino/disposable": "^2.1.2"
"@jupyterlab/application": "~4.3.0-rc.0",
"@jupyterlab/apputils": "~4.4.0-rc.0",
"@jupyterlab/coreutils": "~6.3.0-rc.0",
"@jupyterlab/docregistry": "~4.3.0-rc.0",
"@jupyterlab/notebook": "~4.3.0-rc.0",
"@jupyterlab/translation": "~4.3.0-rc.0",
"@jupyterlab/ui-components": "~4.3.0-rc.0",
"@lumino/commands": "^2.3.1",
"@lumino/disposable": "^2.1.3"
},
"devDependencies": {
"@jupyterlab/builder": "~4.3.0-alpha.1",
"@jupyterlab/builder": "~4.3.0-rc.0",
"rimraf": "^3.0.2",
"typescript": "~5.0.2"
},

View File

@ -39,15 +39,15 @@
},
"dependencies": {
"@jupyter-notebook/application": "^7.3.0-alpha.1",
"@jupyterlab/application": "~4.3.0-alpha.1",
"@jupyterlab/apputils": "~4.4.0-alpha.1",
"@jupyterlab/cells": "~4.3.0-alpha.1",
"@jupyterlab/docmanager": "~4.3.0-alpha.1",
"@jupyterlab/notebook": "~4.3.0-alpha.1",
"@jupyterlab/settingregistry": "~4.3.0-alpha.1",
"@jupyterlab/translation": "~4.3.0-alpha.1",
"@lumino/polling": "^2.1.2",
"@lumino/widgets": "^2.3.2",
"@jupyterlab/application": "~4.3.0-rc.0",
"@jupyterlab/apputils": "~4.4.0-rc.0",
"@jupyterlab/cells": "~4.3.0-rc.0",
"@jupyterlab/docmanager": "~4.3.0-rc.0",
"@jupyterlab/notebook": "~4.3.0-rc.0",
"@jupyterlab/settingregistry": "~4.3.0-rc.0",
"@jupyterlab/translation": "~4.3.0-rc.0",
"@lumino/polling": "^2.1.3",
"@lumino/widgets": "^2.5.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},

View File

@ -39,10 +39,10 @@
},
"dependencies": {
"@jupyter-notebook/application": "^7.3.0-alpha.1",
"@jupyterlab/application": "~4.3.0-alpha.1",
"@jupyterlab/coreutils": "~6.3.0-alpha.1",
"@jupyterlab/terminal": "~4.3.0-alpha.1",
"@lumino/algorithm": "^2.0.1"
"@jupyterlab/application": "~4.3.0-rc.0",
"@jupyterlab/coreutils": "~6.3.0-rc.0",
"@jupyterlab/terminal": "~4.3.0-rc.0",
"@lumino/algorithm": "^2.0.2"
},
"devDependencies": {
"rimraf": "^3.0.2",

View File

@ -40,21 +40,21 @@
"dependencies": {
"@jupyter-notebook/application": "^7.3.0-alpha.1",
"@jupyter-notebook/tree": "^7.3.0-alpha.1",
"@jupyterlab/application": "~4.3.0-alpha.1",
"@jupyterlab/apputils": "~4.4.0-alpha.1",
"@jupyterlab/coreutils": "~6.3.0-alpha.1",
"@jupyterlab/docmanager": "~4.3.0-alpha.1",
"@jupyterlab/filebrowser": "~4.3.0-alpha.1",
"@jupyterlab/mainmenu": "~4.3.0-alpha.1",
"@jupyterlab/services": "~7.3.0-alpha.1",
"@jupyterlab/settingeditor": "~4.3.0-alpha.1",
"@jupyterlab/settingregistry": "~4.3.0-alpha.1",
"@jupyterlab/statedb": "~4.3.0-alpha.1",
"@jupyterlab/translation": "~4.3.0-alpha.1",
"@jupyterlab/ui-components": "~4.3.0-alpha.1",
"@lumino/algorithm": "^2.0.1",
"@lumino/commands": "^2.3.0",
"@lumino/widgets": "^2.3.2"
"@jupyterlab/application": "~4.3.0-rc.0",
"@jupyterlab/apputils": "~4.4.0-rc.0",
"@jupyterlab/coreutils": "~6.3.0-rc.0",
"@jupyterlab/docmanager": "~4.3.0-rc.0",
"@jupyterlab/filebrowser": "~4.3.0-rc.0",
"@jupyterlab/mainmenu": "~4.3.0-rc.0",
"@jupyterlab/services": "~7.3.0-rc.0",
"@jupyterlab/settingeditor": "~4.3.0-rc.0",
"@jupyterlab/settingregistry": "~4.3.0-rc.0",
"@jupyterlab/statedb": "~4.3.0-rc.0",
"@jupyterlab/translation": "~4.3.0-rc.0",
"@jupyterlab/ui-components": "~4.3.0-rc.0",
"@lumino/algorithm": "^2.0.2",
"@lumino/commands": "^2.3.1",
"@lumino/widgets": "^2.5.0"
},
"devDependencies": {
"rimraf": "^3.0.2",

View File

@ -4,7 +4,6 @@
"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

@ -34,9 +34,7 @@ import { ITranslator } from '@jupyterlab/translation';
import {
caretDownIcon,
FilenameSearcher,
folderIcon,
IScore,
runningIcon,
} from '@jupyterlab/ui-components';
@ -47,6 +45,7 @@ import { Menu, MenuBar } from '@lumino/widgets';
import { NotebookTreeWidget, INotebookTree } from '@jupyter-notebook/tree';
import { FilesActionButtons } from './fileactions';
import { IStateDB } from '@jupyterlab/statedb';
/**
* The file browser factory.
@ -58,17 +57,14 @@ 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.
*/
namespace CommandIDs {
// The command to activate the filebrowser widget in tree view.
export const activate = 'filebrowser:activate';
export const toggleFileFilter = 'filebrowser:toggle-file-filter';
}
/**
@ -282,6 +278,7 @@ const notebookTreeWidget: JupyterFrontEndPlugin<INotebookTree> = {
ISettingRegistry,
IToolbarWidgetRegistry,
IFileBrowserFactory,
IStateDB,
],
optional: [
IRunningSessionManagers,
@ -297,6 +294,7 @@ const notebookTreeWidget: JupyterFrontEndPlugin<INotebookTree> = {
settingRegistry: ISettingRegistry,
toolbarRegistry: IToolbarWidgetRegistry,
factory: IFileBrowserFactory,
stateDB: IStateDB,
manager: IRunningSessionManagers | null,
settingEditorTracker: ISettingEditorTracker | null,
jsonSettingEditorTracker: IJSONSettingEditorTracker | null
@ -325,28 +323,6 @@ 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(
@ -408,11 +384,28 @@ const notebookTreeWidget: JupyterFrontEndPlugin<INotebookTree> = {
// See https://github.com/jupyterlab/jupyterlab/issues/15629 for more info
const setCurrentToDefaultBrower = () => {
tracker['_pool'].current = browser;
// TODO: remove?
// provide some default state so the file browser widths are consistent and predictable
setTimeout(() => {
stateDB
.save('file-browser-filebrowser:columns', {
sizes: {
name: 738.65625,
file_size: 109.95727378063403,
is_selected: 18,
last_modified: 406.5739762193659,
},
})
.then(async () => {
await browser['listing'].restore('filebrowser');
});
});
};
tracker.widgetAdded.connect((sender, widget) =>
setCurrentToDefaultBrower()
);
tracker.widgetAdded.connect((sender, widget) => {
setCurrentToDefaultBrower();
});
setCurrentToDefaultBrower();

View File

@ -39,21 +39,21 @@
},
"dependencies": {
"@jupyter-notebook/application": "^7.3.0-alpha.1",
"@jupyterlab/application": "~4.3.0-alpha.1",
"@jupyterlab/apputils": "~4.4.0-alpha.1",
"@jupyterlab/coreutils": "~6.3.0-alpha.1",
"@jupyterlab/docmanager": "~4.3.0-alpha.1",
"@jupyterlab/filebrowser": "~4.3.0-alpha.1",
"@jupyterlab/mainmenu": "~4.3.0-alpha.1",
"@jupyterlab/services": "~7.3.0-alpha.1",
"@jupyterlab/settingregistry": "~4.3.0-alpha.1",
"@jupyterlab/statedb": "~4.3.0-alpha.1",
"@jupyterlab/translation": "~4.3.0-alpha.1",
"@jupyterlab/ui-components": "~4.3.0-alpha.1",
"@lumino/algorithm": "^2.0.1",
"@lumino/commands": "^2.3.0",
"@lumino/coreutils": "^2.1.2",
"@lumino/widgets": "^2.3.2"
"@jupyterlab/application": "~4.3.0-rc.0",
"@jupyterlab/apputils": "~4.4.0-rc.0",
"@jupyterlab/coreutils": "~6.3.0-rc.0",
"@jupyterlab/docmanager": "~4.3.0-rc.0",
"@jupyterlab/filebrowser": "~4.3.0-rc.0",
"@jupyterlab/mainmenu": "~4.3.0-rc.0",
"@jupyterlab/services": "~7.3.0-rc.0",
"@jupyterlab/settingregistry": "~4.3.0-rc.0",
"@jupyterlab/statedb": "~4.3.0-rc.0",
"@jupyterlab/translation": "~4.3.0-rc.0",
"@jupyterlab/ui-components": "~4.3.0-rc.0",
"@lumino/algorithm": "^2.0.2",
"@lumino/commands": "^2.3.1",
"@lumino/coreutils": "^2.2.0",
"@lumino/widgets": "^2.5.0"
},
"devDependencies": {
"rimraf": "^3.0.2",

View File

@ -42,14 +42,14 @@
"watch": "tsc -b --watch"
},
"dependencies": {
"@jupyterlab/ui-components": "~4.3.0-alpha.1",
"@jupyterlab/ui-components": "~4.3.0-rc.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@babel/core": "^7.10.2",
"@babel/preset-env": "^7.10.2",
"@jupyterlab/testutils": "~4.3.0-alpha.1",
"@jupyterlab/testutils": "~4.3.0-rc.0",
"@types/jest": "^29.2.5",
"babel-loader": "^8.0.6",
"jest": "^29.3.1",

View File

@ -1,5 +1,5 @@
[build-system]
requires = ["hatchling>=1.11", "jupyterlab>=4.3.0a1,<4.4"]
requires = ["hatchling>=1.11", "jupyterlab>=4.3.0rc0,<4.4"]
build-backend = "hatchling.build"
[project]
@ -32,7 +32,7 @@ classifiers = [
]
dependencies = [
"jupyter_server>=2.4.0,<3",
"jupyterlab>=4.3.0a1,<4.4",
"jupyterlab>=4.3.0rc0,<4.4",
"jupyterlab_server>=2.27.1,<3",
"notebook_shim>=0.2,<0.3",
"tornado>=6.2.0",
@ -175,7 +175,7 @@ version-cmd = "jlpm run release:bump --force --skip-commit"
[tool.jupyter-releaser.hooks]
before-bump-version = [
"python -m pip install -U \"jupyterlab>=4.3.0a1,<4.4\"",
"python -m pip install -U \"jupyterlab>=4.3.0rc0,<4.4\"",
"jlpm",
"jlpm run build:utils",
"python -m pip install hatch"

View File

@ -16,6 +16,7 @@
"strict": true,
"strictNullChecks": true,
"target": "ES2018",
"types": []
"types": [],
"lib": ["DOM", "DOM.Iterable", "ES2018", "ES2020.Intl"]
}
}

View File

@ -15,8 +15,8 @@
"test:update": "playwright test --update-snapshots"
},
"dependencies": {
"@jupyterlab/galata": "~5.3.0-alpha.1",
"@playwright/test": "^1.45.0",
"@jupyterlab/galata": "~5.3.0-rc.0",
"@playwright/test": "~1.46.1",
"rimraf": "^3.0.2"
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View File

@ -35,7 +35,9 @@ test.describe('Mobile', () => {
await page.waitForSelector('#top-panel-wrapper', { state: 'hidden' });
expect(await page.screenshot()).toMatchSnapshot('tree.png');
expect(await page.screenshot()).toMatchSnapshot('tree.png', {
maxDiffPixels: 500,
});
});
test('The layout should be more compact on the notebook page', async ({

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.7 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.3 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

@ -33,13 +33,17 @@ test.describe('Settings', () => {
await page.waitForSelector('#top-panel', { state: 'hidden' });
await page.reload({ waitUntil: 'networkidle' });
await page.menu.getMenuItem(showHeaderPath);
expect(await page.screenshot()).toMatchSnapshot('top-hidden.png');
expect(await page.screenshot()).toMatchSnapshot('top-hidden.png', {
maxDiffPixels: 500,
});
await page.waitForSelector('#top-panel', { state: 'hidden' });
await page.menu.clickMenuItem(showHeaderPath);
await page.waitForSelector('#top-panel', { state: 'visible' });
await page.reload({ waitUntil: 'networkidle' });
await page.menu.getMenuItem(showHeaderPath);
expect(await page.screenshot()).toMatchSnapshot('top-visible.png');
expect(await page.screenshot()).toMatchSnapshot('top-visible.png', {
maxDiffPixels: 500,
});
});
});

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 37 KiB

File diff suppressed because it is too large Load Diff

3312
yarn.lock

File diff suppressed because it is too large Load Diff