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
Update the notebook tools on tracker.currentChanged #7659
Conversation
Thanks for making a pull request to JupyterLab! To try out this branch on binder, follow this link: |
This will need a second look, to make sure there is no undesirable side-effect, and check if |
If possible, I would leave this to after strict null checks have been merged, as it should help highlight internal consumers not ready to handle the null value. |
OK to wait for #7657. This can stay as a draft in the meantime. |
Actually the change in The issue for the notebook tools is that the handler for the jupyterlab/packages/notebook-extension/src/index.ts Lines 506 to 514 in 636a1ae
|
c0fb42e
to
389c76f
Compare
I've updated the PR to only focus on resolving #7643. There might still be a use case for being able to explicitly set |
@jtpio, this looks good as-is, or do you still consider it draft? |
It's ready, was just waiting for the tests to finish :) |
Thanks! |
References
Fixes #7643.
Code changes
Update the notebook tools on
tracker.currentChanged
.User-facing changes
The notebooks tools should now be removed from the left area when a notebook that doesn't have the focus is closed:
Backwards-incompatible changes
None.