-
-
Notifications
You must be signed in to change notification settings - Fork 46
How to install JupyterLab extensions #272
Comments
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗 |
Related issue: jupyter/notebook#6403 I've been working on adding left and right areas to RetroLab. I spent some time earlier today trying to bring the Although we have had a previous discussion about merging RetroLab into the JupyterLab simple interface (#257) the work I've been doing for jupyter/notebook#6403 presumes that RetroLab will continue to exist on its own. The work I've done so far suggests that we might need data structures to bridge My work-in-progress branch for jupyter/notebook#6403: https://github.com/jweill-aws/retrolab/tree/left-right-widgets |
Thanks @ellisonbg @jweill-aws. As a first step we'll need to add support for the retrolab/packages/application/src/shell.ts Line 200 in 2a96903
Maybe we can use a Additional upstream dependencies and extensions are added to the Lines 94 to 131 in 2a96903
And listed here: Lines 158 to 229 in 2a96903
And loaded here: Lines 156 to 212 in 2a96903
So for Here is an example PR that added |
are these left and right panels going to make significant visual changes relative to the classic interface? as we sunrise notebook, we've talked about having nearly the same interface as classic. i think folks would love to use these tools. i could imagine the new features showing up over time. some stories i could imagine:
if we are talking about adding the edges of retrolab, is the status bar a feature we'd like to have? while working in retro i find myself looking for a status bar that isn't there. it's a good feature of jupyterlab. there is definitely precedence for these features. nbcontrib has a table of contents extensions that seems to dock on a side or float. they also add a navigate menu item that seems practical. there is definitely precen |
I think we should make them as invisible as possible to normal users wanting the most vanilla classic experience. Just like it is the case now. Hidden by default should be the default. As hinted in https://github.com/jupyterlab/retrolab/issues/268#issuecomment-960622997, we should check the current behavior in classic when some nbextensions are installed (for example toc2).
Probably, but this should be hidden by default too. Otherwise we might end up re-implementing JupyterLab. |
@jtpio Thanks again for your detailed replies! I have a change in progress on my development branch to add the After modifying the
|
We don't need to copy the At startup the
Ah right, I thought it was adding the widget via
It would have been nice to start with option 1, so we only add what is needed. Instead of taking the lab shell and trimming / hiding what we don't want.
Probably JupyterLab is using more recent versions of the Lumino packages. We can update them in RetroLab with by running this command:
|
For reference there were a couple of upstream PRs to make some of the plugins more easily reusable in RetroLab. For example: |
Thanks again! I'm working on removing I'll see if I can do a little more refactoring. Should I open an issue in @jupyterlab/jupyterlab to capture this work? |
Right. So usually we make |
Created issue and PR (jupyterlab/jupyterlab#11420) mentioned above to modify the |
Also if we want to move forward with this, we can temporarily vendor the code in the And add it to https://github.com/jupyterlab/retrolab/blob/main/packages/application-extension/src/index.ts for now to avoid creating a new package since it's temporary anyway. Until a new release of the upstream That way we can still make progress and start opening a draft PR. |
Closing in favor of jupyter/notebook#6326. |
Problem
I am working with @jweill-aws to improve the retrolab shell to handle the L and R areas. Wondering if there is a way to install JupyterLab extensions that use the L/R area into retrolab - such as the table of contents, running panel, debugger, etc.
The text was updated successfully, but these errors were encountered: