jupyterlab / lumino

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

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

Closed fcollonval closed 6 months ago

fcollonval commented 6 months 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 6 months ago

cc @Zsailer

fcollonval commented 6 months ago

Thanks for the review @brichet