-
-
Notifications
You must be signed in to change notification settings - Fork 127
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
Preview tab #498
Comments
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗 |
@krassowski What do you think about this idea? |
Looking at the jupyterlab-git PR:
|
Thanks @krassowski
Definitely, being to get access to tab related widget would be benefitial.
This is the area I'm uncertain. If we promote the path used in We could for example add a new attribute on |
Just a minor comment: not a fan of modifying behaviour by setters of |
There is a precedent with lumino/packages/widgets/src/title.ts Lines 249 to 255 in abfd491
|
Problem
Having lots of tabs opened simultaneously is famous to hit hard performance in JupyterLab. It bottles down to having lots of nodes in the webpage. So any trick that can reduce the number of nodes (like the windowed notebook) is beneficial.
This makes me consider differently the preview tab feature implemented by VS Code. I'm convinced that one of the purpose is to cheaply reduce the number of nodes/documents.
Proposed Solution
In
jupyterlab-git
, a prototype was implemented for the diff views in jupyterlab/jupyterlab-git#1184 (quiet hacky actually).I would love to see it lands in Lumino 2 / Lab 4.
Additional context
The text was updated successfully, but these errors were encountered: