-
Notifications
You must be signed in to change notification settings - Fork 506
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
fixes #468 - bugfixes for libraries that use other phosphor libs present in JupyterLab #481
Conversation
Note to self: check bundle size increase. I think if not too big, I'm ok with this. |
@timkpaine have you been using this in a custom template in the meantime? |
@jtpio in a fork, yep. its necessary for any jlab extension that uses phosphor, e.g. https://github.com/finos/perspective |
need to add:
|
So based on my analysis:
Because these packages can't be imported standalone e.g. by |
@maartenbreddels bundle size shouldn't increase much since we already have the |
interested in any thoughts on this, otherwise I'll need to fork soon for some of my PRs. |
I am ok with this and am happy to merge now for integration in 0.2. ping @jtpio |
@SylvainCorlay thanks! The side effect of this merge is that any libraries that also have rendermimes will work out of the box (e.g. see the CC'd Plotly issue). |
This is great. We are trying to push towards 0.2 but if we cannot, I may backport it into a 0.1.x. |
@SylvainCorlay the only question is the phosphor/lumino name change, it might be enough to just import as lumino but define on the window as both the lumino and phosphor name (e.g. just copy paste those lines and s/phosphor/lumino). |
Indeed, aliases for lumino might be enough. Or something similar to the way phosphor / lumino is handled in ipywidgets 7. |
This gets rid of React, CodeMirror, blueprint Yjs and other smaller dependencies that we do not need in solara. Some of the original dependencies are added back in: voila-dashboards/voila#481
#422) This gets rid of React, CodeMirror, blueprint Yjs and other smaller dependencies that we do not need in solara. Some of the original dependencies are added back in: voila-dashboards/voila#481
defines the other phosphor libraries expected to be present in jlab