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
Include federated extensions in extension manager from the api #9390
Conversation
Thanks for making a pull request to JupyterLab! To try out this branch on binder, follow this link: |
@jasongrout I am running your branch and receive an execption
Minor comment: Should pkg_type='federated' should be pkg_type='prebuilt' based on latest nomenclature? |
I am running with Sorry, pkg_type='federated' should be pkg_type='source' , right? Via CLI I have 2 extensions which are shown fine. $ jupyter labextension list
JupyterLab v3.0.0rc10
/Users/echarles/datalayer/opt/miniconda3/envs/datalayer/share/jupyter/labextensions
@datalayer-jupyter/jupyterlab-theme-winter v0.1.0 enabled OK
@datalayer-jupyter/jupyterlab-theme-christmas v0.1.2 enabled OK |
actually, 'prebuilt' - I was waiting until you finished with this PR to make a sweep through the codebase changing the terms. |
@jasongrout I will take this before Friday (also, can not make today weekly community call) |
Co-authored-by: Jason Grout <jasongrout@users.noreply.github.com>
… into extensionmgr
@jasongrout I have pushed to your branch the UI part (and made minor fixes in the extension manager handler). This shows for now I have tried with a few
|
@echarles as an alternative, there is also the |
Co-authored-by: Jeremy Tuloup <jeremy.tuloup@gmail.com>
Hello @jtpio. Thx a lot for the reviews and help. I have used your |
Nice, this looks good! Based on the comments above, it looks like the terms |
@jtpio I have now swapped the |
Thanks! Just pulled the latest from this branch locally, and this is what it looks like:
It looks good and seems to cover the main concern of being able to show a useful message to the end users. Do you think this is ready to go? |
Just pushed a latest change as @jtpio has suggested. @jasongrout can you review and undraft it? |
Thanks @echarles and @jasongrout for working on this. I marked it as ready for review since the frontend now shows the uninstall instructions to the user. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
I was just about to press the green button too, but @blink1073 beat me to it. Thanks again! |
References
Fixes #9367
Code changes
Adds prebuilt (federated) extensions to the extension api
@echarles is planning to use this to upgrade the support for federated extensions in the extension manager, for example having uninstall instructions, etc.
Here is an example response from the extension api now, with
jupyterlab_apod
installed as a prebuilt extension and@jupyter-widgets/jupyterlab-manager
installed as a source extension:User-facing changes
Backwards-incompatible changes