Skip to content
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

Option to set/change plugin configuration #142

Open
chapulina opened this issue Nov 3, 2020 · 0 comments
Open

Option to set/change plugin configuration #142

chapulina opened this issue Nov 3, 2020 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@chapulina
Copy link
Contributor

Currently, support for plugin configurations is limited to passing them at the moment the plugin is loaded. This configuration can only be passed programmatically or from the command line. This makes it impossible to configure a plugin that's inserted from the top-right menu, for example.

It would be nice to add the ability of changing a plugin's configuration during runtime.

  • On the GUI, this could be an extra field on the plugin's Settings menu.
  • To make things simple, we could just let users input the config string in an XML format through the GUI. In the future, we could consider a way for plugins to declare their schema so we can generate an interface with fields to be filled.
  • In the code, we could add a new optional callback for plugins to implement when they receive a new configuration, similar to LoadConfig. Maybe UpdateConfig, which receives an XML element with the new config.
@chapulina chapulina added enhancement New feature or request help wanted Extra attention is needed labels Nov 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant