nodebook icon indicating copy to clipboard operation
nodebook copied to clipboard

JupyterLab support

Open kzielnicki opened this issue 8 years ago • 1 comments

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 avatar Jul 24 '18 21:07 kzielnicki

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: https://github.com/jupyterlab/jupyterlab/pull/5033 and the reactive kernel project here: https://github.com/jupytercalpoly/reactive-kernel

kzielnicki avatar Aug 04 '18 23:08 kzielnicki