-
-
Notifications
You must be signed in to change notification settings - Fork 43
Conversation
Hello @mnowacki-b! We should not add any more features to the JupyteLab 2.x We should talk about this feature's API and use cases. I have a few questions:
|
Another thing that was discussed before was that the debugger sidebar might get a little bit busy if we start adding new panels to it (unless they are made collapsible - https://github.com/jupyterlab/debugger/issues/325) |
@afshin @jtpio
Understood, once we agree on the changes I can make the PR against the JupyterLab core. However, we would like to release this change soon, maybe even before JupyteraLab 3.x is released, so we are hope that we will be able to port it back.
In our case we want to add an info panel which would contain information that will help with discoverability of the feature. We want to provide a short instruction on how to go about and enable the debugger (I don't have the precise wording yet). Aside from that, I think it would be valuable to allow customization of the debugger sidebar where extensions could be made to either override current panels or supplement the sidebar with additional panels that could contain extra debugging info/tooling
Yes, after I entered this PR I thought that maybe it would have been better to have a provider for a sidebar panel factory. Do you think that would be a better route?
Yes we were thinking about making the custom panel collapsible because once the user is aware they would most likely want to reclaim the real estate. But having all panels be collapsible would be a great improvement. Also, it would be nice to have ability to rearrange them :). |
Maybe the Another thing that comes to mind UX-wise to make it easier to discover features would be something like the
Agree, being able to re-arrange and collapse the panels would definitely be useful 👍 Or being able to hide / show them with a right-click context menu, and persist the settings: |
In our case Thoughts? |
Thanks @mnowacki-b for taking the time to explain the use case.
This would be useful 👍 The But to echo @afshin's comment above we should indeed be careful to the API that will be exposed. Otherwise as an alternative to the Help menu, there could also be a plugin that adds a new panel to the JupyterLab |
That sounds like a good idea. @afshin @jtpio
That is a good idea, but I am bit hesitant as the information are separate and the user will have to dig in to find the info. Where as when they open up the sidebar the information is right there. |
Sound like this would be more flexible indeed 👍 However since it's an API change, we'll want to be careful on how to get it in and released. Ideally this would be added to JupyterLab directly, so we can go ahead with archiving this repository and keep discussions and PRs in one place. |
@jtpio Thanks! I will try to make the code changes and create the PR against the JupyterLab (We may still need to merge those changes back into this repo depending on the JLab3.0 deployment timeline) |
@mnowacki-b would you like to port the changes from jupyterlab/jupyterlab#9007 to this repo, so we can cut a new release for JupyterLab 2.x? |
@jtpio |
@afshin @jtpio
Please have a look |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Thank you! |
Adding ability to extend the Sidebar with a custom panel that will be displayed at the top (see screenshot below).