-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
[Run][Plugin Manager] Move plugin specific settings under the plugin settings #9655
Comments
Here are three examples when we have an indirect reference from PowerLauncher project to plugin projects. We should get rid of them. PowerToys/src/modules/launcher/PowerLauncher/SettingsWatcher.cs Lines 121 to 127 in 419a143
PowerToys/src/modules/launcher/PowerLauncher/SettingsWatcher.cs Lines 104 to 109 in 419a143
PowerToys/src/modules/launcher/PowerLauncher/ViewModel/MainViewModel.cs Lines 896 to 899 in 419a143
|
@enricogior
|
@mykhailopylyp |
Should we create a spec here how json should be formated and what elements are allowed. Example (In xml format.): <settingsGroup name="Result settings">
<checkbox name="test" default="on" settingsJsonString="ShowExampleResult" />
<radioGroup name="Show redults of type">
<radio order=1 name="all" description="test" default="on" settingsJsonString="ShowAllResults" />
<radio order=2 name="games only" description="test" default="on" settingsJsonString="ShowGameResult" />
</radioGroup>
</settingsGroup> |
@htcfreek |
What I mean is we should strict define what elements are allowed (edit, text, button, ...) and what attributes (name, description, settingValue, ...) can be defined. I think we should introduce an independent config file for settings and shouldn't integrate them into the general plugin metadata json. (This is more flexible.) As you see in my example I used a xml for demonstration. Maybe xml is here a better choice.
Why only for third-party plugins? Why not use it for integrated once too. |
I think I am not following.
You mean to define it for additional plugin settings, right? We agreed above that we go with an array of checkboxes for now.
If you think about it we have not introduced any new settings to |
Yes, thats what I meant. Okay. This is not much flexible. But let's go with that in the first step. Imo there will come plugins for that a checkbox isn't the best for all settings. (Example: Websearch plugin with selection of search provider.)
I think we should splitt between plugin metadata definition and complex settings definition. But in the first step we con go with one file. |
@enricogior |
Great news! This was resolved in the newly released 0.33 version of PowerToys! Head to https://aka.ms/installpowertoys to grab latest. |
Link to parent issue #5273
It should be possible for plugins to have different settings.

Now we only have one option
Disable drive detection warning for the file search plugin
The text was updated successfully, but these errors were encountered: