-
Notifications
You must be signed in to change notification settings - Fork 28
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
support for enabling/disabling a plugin #36
Comments
Actually no, restart is not required (at least we try not to make it required), and that should be the case in npe2 as well. We need a disabled list, and it needs to be restored from settings on startup (it should block addition of manifests from disabled plugins). We then need events to alert things like menus to remove items when disabled |
Note, the plugin manager in napari is a subclass of the one in npe1, partially so that it can be evented |
this was resolved in napari/napari#4086 |
napari's plugin install dialog allows plugins to be:
I believe (un)install can be handled entirely on the napari side. When a plugin is uninstalled, I think we require napari to be restarted for the changes to take effect. That system should work for npe2 plugins as well.However, some functionality should be added to npe2 to support enable/disable.
Some requirements:
I would love thoughts and input on the requirements. The description of this issue can be updated to keep them accurate.
Reference: Napari plugin install dialog
The text was updated successfully, but these errors were encountered: