-
Notifications
You must be signed in to change notification settings - Fork 0
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
[QoL] Multiple or no config dropdown for plugins #247
Comments
This does not fit in the current dependency logic. Extensions depend on other extensions, activating a dependency extension activates its configuration. Allowing multiple configurations per extension would also need clarity on the following:
If clutter is the problem, I suggest we remove clutter as much as possible with #236 and #237 and not complicate the dependency graph. |
I would argue, it makes more sense, to have this clutter removed on the backend, than adding it to the frontend and just filtering it out. Hence my original suggestions stands with its implications! -> It would need restructuring of the config. I would tho: Say that if a dependency doesn't specify a certain configuration or specify explictly 'no configuration' in their dependency, then it should use the default configuration of a plugin: That way we can keep all existing logic, and just add onto it, by giving the dependency another property, that should work in a yaml, if i understand it correctly? |
Currently it is like this: dependencies:
A: ">= 1.0.0" I think you want: dependencies:
- extension: A
version: ">= 1.0.0"
configuration: "default" We need to tackle these three things:
Currently, what you propose only tackles the easy situation: when no configuration is asked for, it defaults to a default configuration. Situation A - name: C
dependencies:
- extension: A
version: ">= 1.0.0"
configuration: "config2"
- extension: D
version: ">= 1.0.0"
configuration: "config1"
- name: B
dependencies:
- extension: A
version: ">= 1.0.0"
configuration: "config1"
- extension: D
version: ">= 1.0.0"
configuration: "config1"
- name: D Options
GUI If option 1 or 3 is preferred, the GUI can be relatively simple: extension A would display which of their configs are currently selected. This displayed config name can change if extensions are activated that make a different dependency-demand. Situation B Options
|
It would be great for certain plugins, if we had the option to preconfigure multiple configurations or be even able to just load them as files.
Currently we have two plugins for this, say any of the AI plugins, they have a normal version, containing just files and one with just the configuration, named 'applied'
-> This clutters up the list of plugins and also confuses users
It would be better if we had the option to define multiple configurations for a plugin, and even have the option to load a plugin without its configuration. I would also be neat if the plugin creator could then define a default configuration to be loaded and how the other options are called and if they are available. Most of the time it comes down to loading plugins just for their files to use them in other plugins and dropping the configuration.
I would propose the option of another dropdown just like with the version number of the plugin. I would say picking a configuration for the plugin can come after its activation, but ofc. we could also make it save the user selected configuration per plugin within the overall UCP / GUI status file which we already need for launch parameters to be saved.
The text was updated successfully, but these errors were encountered: