-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace "Interface" dropdown with button if only one option is present #6792
Comments
For reference there used be buttons in the toolbar before (in RetroLab): jupyterlab/retrolab#256 Which was then switched to a menu to avoid confusion: jupyterlab/retrolab#309 There is also #6746 |
Thanks @jtpio! From jupyterlab/retrolab#309, here's the "before" picture showing RetroLab with buttons for "open in JupyterLab" (Jupyter logo with 3 moons) and "open in classic notebook" (Jupyter logo with no moons). |
After discussion with @ellisonbg , this requested change is revised to:
|
Will that change actually be needed if #6746 is implemented? If |
The "Interface" dropdown in JupyterLab is a large dropdown in the toolbar with only one option, "Open With Jupyter Notebook":
… and in Jupyter Notebook, it's a dropdown with one option, "Open With JupyterLab":
If only one option is present, replace this dropdown with a single button with an icon for the other interface, also on the toolbar, to save space.
In addition, add a command to the right-click context menu on the notebook body to "Open With" the other interface.
This was found during a Bug Bash by @ellisonbg .
The text was updated successfully, but these errors were encountered: