Skip to content
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

Allow for toolbar cusomization #3178

Closed
gnestor opened this issue Nov 2, 2017 · 4 comments
Closed

Allow for toolbar cusomization #3178

gnestor opened this issue Nov 2, 2017 · 4 comments

Comments

@gnestor
Copy link
Contributor

gnestor commented Nov 2, 2017

Continuation from jupyter/notebook#2965 (comment)

It would be nice if users could customize the notebook toolbar from within JupyterLab. Ideally, users would be able to drag actions in/out of the toolbar (e.g. macOS-style toolbar customization). A much more achievable alternative would be a menu item/command that would open an editor with the toolbar settings JSON and allow users to edit it. This is a UX pattern used in Atom editor (and Sublime Text and others) that's not perfect but it's easy and it works.

@crowdy
Copy link

crowdy commented Mar 27, 2018

I need this feature badly. I am doing this now.

$('li.p-TabBar-tab').eq(0).hide();

@gnestor
Copy link
Contributor Author

gnestor commented Mar 27, 2018

@crowdy That code snippet won't work in JupyterLab, only the classic notebook.

In JupyterLab, it's possible for an extension to add and remove items from the toolbar. Here's where JupyterLab create the default notebook toolbar: https://github.com/jupyterlab/jupyterlab/blob/master/packages/notebook/src/default-toolbar.ts#L190-L209

@oxinabox
Copy link

oxinabox commented May 9, 2018

In particular this is the subject of a extension making tutorial/example

http://jupyterlab.readthedocs.io/en/stable/developer/notebook.html#how-to-extend-the-notebook-plugin

Still would be nice to have it easier via setting edittor

@jasongrout jasongrout removed this from the 1.0 milestone Sep 5, 2018
@ian-r-rose ian-r-rose added this to the Future milestone Sep 6, 2018
@krassowski
Copy link
Member

This was implemented in #10469 which was backported to JupyterLab 3.3 (and this issue was not previously closed because of duplicate issue #10419).

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants