-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
How to toggle the toolbar? #7214
Comments
There is no such option in JupyterLab yet. To develop such an option, you could maybe add an option in the MainAreaWidget class to hide a toolbar widget (https://github.com/jupyterlab/jupyterlab/blob/65b59627eefc6eb2a2216666124516048d028e9e/packages/apputils/src/toolbar.tsx), or perhaps the logic in jupyterlab/packages/apputils/src/toolbar.tsx Lines 71 to 81 in 65b5962
|
Perhaps there could be a View menu item that would be enabled anytime you were focused on a MainAreaWidget which could hide the toolbar? |
I think it would probably be good to add a "Presentation-presentation mode" that:
|
That sounds great too. Though I can imagine having a separate control for hiding toolbars may make sense. |
All good ideas! There's some things you just can't change with css variables and duct tape, and i'll confess to having done some pretty terrible things. For presentations, it's discourteous to leave visible the... OS menu, clock, browser title, tab bar, url bar, bookmark bar... and then the lab menu, lab tabs, notebook buttons, dock... the speaker and audience just lost 20% of a 1080p screen (and their attention). Also, when giving a talk in a less-than-ideal room, 80% of the audience can't see the bottom 20% of the screen, because of the front 20%'s heads.... and that's where the Next Most Important Output appears when running cells. Enumerating the toolbox of core UI sub-elements, and being able to make any of them disappear (or hidden when not hovered, or whatever) in a specific configuration, would answer many concerns folks have about lab being too busy/distracting, especially for this-is-my-first-time-using-a-computer learners. Offering extension authors a general way to opt in to such a system would let an extension just throw in ever bell and whistle, but have sensible defaults (minimal, basic, advanced, debug), and let the user discover, customize, save, and share them through one consistent UI. Another magic thing would be be the ability to tear, let's say, any dockpanel widget off into another browser tab, and full-screen just that on a second screen/projector. I've played with it a few times, and there are just enough references to Endless possibilities! |
@bollwyvl For proper presentations, I would recommend people to use RISE 😉 In terms of implementation and configuration, maybe:
While I like this idea, I don't think I have the time available to write something like this in the short-term. |
This is tracked at #7138 |
The basic functionality of having a command that executes other commands is at #7138. That issue doesn't include a full UX for a macro editor. |
I love RISE and would love to see a RISE extension land in Lab. That being said, I really, really don't want revealjs near my DOM or my messages to audiences.
I think for something like How My Lab Looks, we need something discoverable. A longer command palette just means more scrolling. That being said, the ability to drag a command from the palette onto... something (say a menu, toolbar, status bar, or just some random spot on the dock) is a very good idea. But macros do sound great.
Notebook metadata? Clippy says, "It looks like this notebook has a macro in it, would you like to [run it] [view it] [save it]" and/or a mimetype, which has come up a number of times, as then a notebook could contain a particular interaction format, and become a clickable activity. So basically a JSON schema for lab commands. Seems nice. Slam
Nor I, just now! But I do I think it's important for people to know that there is even the hope that some of these features might come to pass. |
Apologies for the bump. There's a lot I can customize with custom browser CSS12 ..but getting rid of the notebook toolbar isn't one of those. Related, and with the same problem when hiding with CSS: Illustration: jupyterlab in Simple mode, with the following browser extension CSS to try and hide the title bar and toolbar: #jp-top-panel {
visibility: hidden !important;
height: 0px !important;
}
.jp-Toolbar {
visibility: hidden !important;
height: 0px !important;
} So, do any modern-web-dev wizz's have an idea how to accomplish this? Footnotes |
Hi! I am looking for the same view option that is presented in Jupyter Notebook, namely "Toggle Toolbar". Is there such an option in JupyterLab?
The text was updated successfully, but these errors were encountered: