You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Testing the waters here to see if I take the time to migrate all or part of the bundler ability out of the incubator project into a PR against notebook if it will past muster for inclusion.
As a notebook user, I want to extend the available options under the File menu for transforming and/or packaging a notebook for download or deployment.
Problem
The options under File -> Download As is fixed on both the server and client.
As an extension author, I have to implement both a server extension and a client extension to add one or more options.
Solution already implemented in the incubator
Provide a reusable REST resource on the server that takes a bundler name, the name of a notebook, and invokes a well-defined API (function) in the named bundler's Python module).
Provide a Jupyter nbextension and config-based mechanism for registering bundlers from the jupyter command line.
Provide a resuable JS module that creates bundler entries under Download As or Deploy As in the notebook File menu based on the registered bundler metadata, and makes the appropriate XHR calls to the server-side bundler resource.
Fine with this, but because this makes a change to the server (which is also used for jupyterlab), we need to make sure that the server side of this will work with both notebook and jupyterlab. We definitely don't want to get into a situation where we have two server.
we need to make sure that the server side of this will work with both notebook and jupyterlab.
I'm planning on making a first pass through porting what currently exists over nearly verbatim and only enabling it against the existing notebook UI to start. I hope then we can more easily see what needs to be adapted to fit jupyterlab, assuming we want to enable the idea of bundlers there too as well.
I believe the server side is pretty agnostic as to the UI. The client side JS will surely need translation to fit jupyterlab vs the current notebook.
Testing the waters here to see if I take the time to migrate all or part of the bundler ability out of the incubator project into a PR against notebook if it will past muster for inclusion.
Current implementation doc
https://github.com/jupyter-incubator/contentmanagement#write-bundlers
Use case
As a notebook user, I want to extend the available options under the File menu for transforming and/or packaging a notebook for download or deployment.
Problem
File -> Download As
is fixed on both the server and client.Solution already implemented in the incubator
jupyter
command line.Note
This feature is used heavily in the dashboards projects (e.g., by https://github.com/jupyter-incubator/dashboards_bundler) but has applicability beyond dashboards (e.g., bundle notebook-associated local files in a zip for download, https://github.com/jupyter-incubator/kernel_gateway_bundlers).
The text was updated successfully, but these errors were encountered: