-
-
Notifications
You must be signed in to change notification settings - Fork 46
Ability to customize retrolab interface #350
Comments
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗 |
Thanks @holzschu for opening this. These two buttons are defined in separate plugins here: retrolab/packages/tree-extension/src/index.ts Lines 67 to 133 in de683b6
So it should be possible to disable them with:
|
Well I'll be damned! It works! I'm in awe.
(which is the same, but stored as settings). Thank you so much! While we're on the topic of customization, is there a way to add extra buttons to the top toolbar for a notebook? I would need two extra buttons to account for the specificities of iOS. |
Yes that also works.
Yes this is possible via an extension: https://jupyterlab.readthedocs.io/en/latest/extension/notebook.html#adding-a-button-to-the-toolbar. There is an example in the extension examples repo: https://github.com/jupyterlab/extension-examples/tree/master/toolbar-button |
Closing as fixed by jupyter/notebook#6336 In the next Notebook v7 pre-release it will be possible to more easily customize the file browser toolbar items via the settings system, just like in JupyterLab. @holzschu feel free to open new issues in the notebook directly if you think this needs to be iterated on more. Thanks! |
Problem
I'm running retrolab on a computer where the user cannot run terminals (it's an iPad). To avoid user confusion, I would like the ability to remove the "New Terminal" button (and "New Console", too). In Jupyterlab, setting
terminals_enabled
toFalse
will remove the "New Terminal" button in the Launcher tab. I haven't found a similar feature in retrolab (I think it's because the buttons are generated directly in Javascript, which makes a very compact system, at the expanse of customization).Proposed Solution
I would like to suggest introducing a way to disable individual buttons in the interface. Possibly through a variable, that the user could set in a configuration file?
Additional context
Current user interface:
Desired user interface (after customization):
The text was updated successfully, but these errors were encountered: