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
Update and reinstate Extension Manager #8804
Comments
I would like to work on this @blink1073 :-) |
Sounds good, we can talk after |
@isabela-pf we could use this issue to include the UI/UX discussion as well (maybe?) ? |
Let's talk @blink1073 |
For reference:
|
I don't catch:
|
I think we need to have a clear story about this in 3.0. Right now, the extension manager is active. |
Some thoughts about what we can do for 3.0:
|
Hi @jasongrout Working on this. I will post a screenshot of the changes hopefully tomorrow.
Looks like the federated extensions can be pulled from Line 81 in 4d898e0
I need to check if the non-federated ones are discovered like before. Maybe they should be displayed in separated collapsible sections? Also merging #9203 will help me with my local env for test.
Does that doc content already exist? I can see https://jupyterlab.readthedocs.io/en/latest/developer/extension_dev.html?#goals-of-the-federated-extension-system |
Awesome! I started looking at what was needed as well, just to double-check our information.
Oh, nice. I realized that the list of extensions returned from the server api did not include federated extensions, and it wasn't immediately clear what needed to change to have the api updated.
We just merged it. I'll release a new RC with it as well.
No. I can work on that. I think there should be a separate user page talking about the extension system (as opposed to a developer page). |
Actually, it looks like we have a user extensions page: https://jupyterlab.readthedocs.io/en/stable/user/extensions.html - let's refer to that and I'll update the text. |
Hi, I would like to add that it would be nice to distinguish plugins installed from npm/pypi and plugins installed locally for development in the Extension Manager, perhaps disable the install options for locally installed plugins. Currently, if I install an extension from a local folder, then go to the extension manager click Uninstall then click install again, the extension will enter a bad state. If I try to install it again from my local folder, it keep saying |
I'm working on updating the extension documentation at #9221 |
Thx @fcollonval for #9222 |
I have looked closer at the options to install/link/build the static and dynamic extensions. I have also looked at the code sections that are invoked when you type on the CLI The first steps I had were something like:
I have installed an extension via pip which shows well via
Following my routing, I have begin to develop on master with
We had a solution to enable extensions in dev_mode for jlab2 with the Any idea how to get this on jlab3 - This is pretty needed for me to get this feature as I need to change core source while having extensions enabled to see them in the extension manager. |
I think externalExtensions still works? At least, it is still in the code: jupyterlab/buildutils/src/ensure-repo.ts Line 191 in c9589d6
jupyterlab/dev_mode/webpack.config.js Line 28 in 84bcb9a
|
Side note: The current extension manager is still working well for jlab3 compatible extensions published in npm (install/list/...) |
Thanks for distinguishing between federated extensions and non-federated extensions in the UX. I think it's important that you can only install/uninstall non-federated extensions (actually, I think jlab should keep track of which extensions it has installed from npm, and only allow uninstalling those from the UX. Otherwise you might be just deleting part of a python package, etc., messing up the python packaging). |
Yep, just tried that and we are in the middle ground here. With that |
Just WIP and a bit blocked because of my previous comment... You talk about federated extensions. Is this what we gonna keep in the doc? If we were to standardize on another terminology, it would be good to align the source code also to keep the same nomenclature. I push a bit on this as it has taken me time to make sense of the options. I think a clear nomenclature and terminology usage will make life easier for users and developers. |
I agree. I'm sort of all over the place right now with terminology, trying out different terms to see how they feel, so I apologize for confusion. I still think the most user-friendly documentation probably still doesn't need to use the term "federated"? I'm still writing and rewriting that doc. |
Thought a bit more, and I can hard-code in dev mode the value of the Any other idea? |
I think there's no reason we can't have federated extensions in dev mode. (In fact, I thought it was working). |
In #8802 we removed the extension manager and associated documentation, since we'll need to update it to target
pip
andconda
. This task tracks re-instating the manager and docs.The text was updated successfully, but these errors were encountered: