jupyterlab / lumino

Lumino is a library for building interactive web applications
https://lumino.readthedocs.io/
Other
598 stars 127 forks source link

Extract plugin handling in a `PluginRegistry` class independent of the `Application` #703

Closed fcollonval closed 1 month ago

fcollonval commented 1 month ago

Fixes #697 Fixes https://github.com/jupyterlab/lumino/issues/586

Refactor the plugins handling outside of the Application class to be able to instantiate and use it independently. Add a allowed/blocked list feature to the new class.

The new PluginRegistry class is defined in coreutils to avoid bringing the widgets package in the stack dependency of the plugin system consumer. That implies adding the algorithm package as dependency to coreutils.

fcollonval commented 1 month ago

cc @Zsailer

fcollonval commented 1 month ago

Thanks for the review @brichet