TcMenu / tcMenu

Menu library for Arduino, mbed and ESP with designer UI and remote control capabilities.
https://www.thecoderscorner.com/products/arduino-libraries/tc-menu/
Apache License 2.0
293 stars 25 forks source link

Easier support for new integrations #527

Open vzahradnik opened 1 month ago

vzahradnik commented 1 month ago

Is your feature request related to a problem? Please describe. At the moment, TcMenu allows extensibility through the plugins. However, the way how it works is not very straight-forward. We should think about how to improve this and to allow independent developers make their own extensions. Similar to the Home Assistant where the core code base is maintained by the core team and the integrations, albeit still part of the same repository, are maintained by external contributors. Each integration has a manifest with the contact to the maintainer who is notified about each pull request.

davetcc commented 1 month ago

All the code to do this is already in the designer, it can load plugins from anywhere on disk, we just need to make a new repository for "packaged plugins" that are not part of core, but easily installed afterwards. Now, any number of extra directories can contain plugins, we just need to make the conventions for it easier, and maybe create a third-party plugins repo.