Skip to content
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

JupyterLab support #14

Open
kzielnicki opened this issue Jul 24, 2018 · 1 comment
Open

JupyterLab support #14

kzielnicki opened this issue Jul 24, 2018 · 1 comment

Comments

@kzielnicki
Copy link
Contributor

JupyterLab is the next-generation frontend for Jupyter, and has a more modern extension framework. This should be possible to achieve better frontend integration for Nodebook.

See also Issue #12

@kzielnicki
Copy link
Contributor Author

kzielnicki commented Aug 4, 2018

This may be a little bit tricky because Jupyterlab maintains a better MVC separation, which helps a lot with proper extensibility but makes it trickier to do all the the monkey patching I was doing before in one place. The most straightforward way forward is probably to patch codecell to do a similar cell magic decoration to what I was doing before, but still TBD on whether I can access the cell parent from within the codecell and inject this into the code block.

Another route that may be better would be to use a custom kernel and rely on metadata to establish cell order. See, eg, this recent Jupyter PR which adds a cell id metadata to the kernel payload: jupyterlab/jupyterlab#5033 and the reactive kernel project here: https://github.com/jupytercalpoly/reactive-kernel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant