notebook/ui-tests/test
Andrii Ieroshenko 92f2336793
Add option to open a notebook in NbClassic if it is installed; show "Open in..." dropdown menu if there are multiple options, show single button otherwise (#6866)
* add option to open in nbclassic if installed

* account that getOption() can return truthy 'false'

* immidiately convert nbclassicInstalled to boolean

* Capitalize NbClassic as in PyPI per @JasonWeill

* capitalize commandDescription

* Update packages/lab-extension/src/index.ts

Co-authored-by: Jason Weill <93281816+JasonWeill@users.noreply.github.com>

* Update packages/lab-extension/src/index.ts

Co-authored-by: Jason Weill <93281816+JasonWeill@users.noreply.github.com>

* Update packages/lab-extension/src/index.ts

Co-authored-by: Jason Weill <93281816+JasonWeill@users.noreply.github.com>

* Update packages/lab-extension/src/index.ts

Co-authored-by: Jason Weill <93281816+JasonWeill@users.noreply.github.com>

* Update packages/lab-extension/src/index.ts

Co-authored-by: Jason Weill <93281816+JasonWeill@users.noreply.github.com>

* Update packages/lab-extension/src/index.ts

Co-authored-by: Jason Weill <93281816+JasonWeill@users.noreply.github.com>

* add openInNewIcon based on ##6793 by @JasonWeill

* show single 'open' button if only one option is available

* add button styling

* add css class to toolbarButton

* rename addCommand to addSwitcherCommand

* set page_config["nbclassic_installed"]

* Update snapshots

* fix general.spec.ts lint problem as detected in CI run https://github.com/jupyter/notebook/actions/runs/5008582825/jobs/8976612053?pr=6866

* Use optional chaining instead of non-null assertion to fix lint error https://github.com/jupyter/notebook/actions/runs/5008628805/jobs/8976713072?pr=6866

* add new line to try to fix eslint error

* fix prettier CI errors

* Revert "fix general.spec.ts lint problem as detected in CI run https://github.com/jupyter/notebook/actions/runs/5008582825/jobs/8976612053?pr=6866"

This reverts commit 9f0b54409f6a6b2c0be750f6ddaac1d435f622ae.

* Revert "add openInNewIcon based on ##6793 by @JasonWeill"

This reverts commit eca0a4e8fafe38307a1081b24615be0b0ab8502d.

* use launchIcon instead of openInNewIcon

* fix nbclassic urlprefix

* update general snapshots to account for use of launchIcon

* update mobile snapshots to account for launchIcon

* check if extension is enabled, not installed

* add bundled server extension

* Revert "add bundled server extension"

This reverts commit 7d261db4a987980b82bb8ca917ebc8f82d76e85d.

* set page_config in initalize_handlers

---------

Co-authored-by: Jason Weill <93281816+JasonWeill@users.noreply.github.com>
2023-06-09 07:15:07 +02:00
..
general.spec.ts-snapshots Add option to open a notebook in NbClassic if it is installed; show "Open in..." dropdown menu if there are multiple options, show single button otherwise (#6866) 2023-06-09 07:15:07 +02:00
menus.spec.ts-snapshots Add the notification plugin (#6900) 2023-06-06 18:22:21 +02:00
mobile.spec.ts-snapshots Add option to open a notebook in NbClassic if it is installed; show "Open in..." dropdown menu if there are multiple options, show single button otherwise (#6866) 2023-06-09 07:15:07 +02:00
notebook.spec.ts-snapshots Fixes the notebooktools (#6834) 2023-04-05 23:28:09 +02:00
notebooks Provide a custom rendermime plugin to handle local links (#6885) 2023-05-25 17:10:16 +02:00
settings.spec.ts-snapshots Enhancement: Added drop shadows to markdown, text, and tree views (#6893) 2023-06-01 09:11:19 +02:00
editor.spec.ts Update to JupyterLab 4.0.0a37 (#6777) 2023-03-20 13:49:22 +01:00
filebrowser.spec.ts Add file browser actions to the file browser toolbar (#6888) 2023-05-29 16:45:53 +02:00
fixtures.ts Update to JupyterLab 4.0.0a37 (#6777) 2023-03-20 13:49:22 +01:00
general.spec.ts Enable add a cell button (#6872) 2023-05-16 15:45:57 +02:00
jupyter_server_config.py [pre-commit.ci] pre-commit autoupdate (#6762) 2023-03-07 15:47:57 +01:00
links.spec.ts Provide a custom rendermime plugin to handle local links (#6885) 2023-05-25 17:10:16 +02:00
menus.spec.ts Add option to open a notebook in NbClassic if it is installed; show "Open in..." dropdown menu if there are multiple options, show single button otherwise (#6866) 2023-06-09 07:15:07 +02:00
mobile.spec.ts Enable add a cell button (#6872) 2023-05-16 15:45:57 +02:00
notebook.spec.ts Update to JupyterLab 4.0.0a37 (#6777) 2023-03-20 13:49:22 +01:00
settings.spec.ts Update to JupyterLab 4.0.0a37 (#6777) 2023-03-20 13:49:22 +01:00
smoke.spec.ts Update to JupyterLab 4.0.0a37 (#6777) 2023-03-20 13:49:22 +01:00
tree.spec.ts Update to JupyterLab 4.0.0a37 (#6777) 2023-03-20 13:49:22 +01:00
utils.ts Enable add a cell button (#6872) 2023-05-16 15:45:57 +02:00