Unify plugin settings container hierarchy (Plugins tab & Desktop Widgets)
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 15/100
Research direction
Start by reading PluginSettingsPage and PluginDesktopWidgetSettings alongside the SettingsCard and SettingsGroup components to see the current double-wrapping, and review PR #4391 for the partial Desktop Widgets attempt. The thread is an open design question between auto-wrapping bare rows and requiring plugins to declare their own containers, so the first step is a maintainer decision rather than a patch. Done means both host containers share one layout approach and bare-row plugins still render correctly.
Written by the indexing model from the issue text.
Description
Right now both PluginSettingsPage and PluginDesktopWidgetSettings wrap plugin settings inside an outer SettingsCard. That works for plugins with bare rows (ToggleSetting, SliderSetting, etc.), but plugins that define their own SettingsCard / SettingsGroup sections end up double-wrapped and need darker slotColor workarounds.
I opened https://github.com/duxlabs-dev/dux-shell/pull/4391 as a partial fix for Desktop Widgets, though it's still a bit of a workaround and doesn't cover the Plugins tab (PluginSettingsPage).
Since changing the host container could break existing bare-row plugins, I wanted to check what direction maintainers prefer before doing a proper fix (and unifying the settings layout across official dux-plugins):
- Auto-wrap bare rows inside
PluginSettingsand drop the outerSettingsCardfromPluginSettingsPage/PluginDesktopWidgetSettings(keeps backwards compatibility). - Require plugins to use
SettingsCard/SettingsGroupdirectly (cleaner, but breaking for bare-row plugins).
For comparison (the after got 1 less container so it is much cleaner)
| Before | After |
|---|---|
- Dominant language
- QML
- Stars
- 8.4k
- Forks
- 549
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from AvengeMedia/DankMaterialShell
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
AvengeMedia/DankMaterialShell#4490 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
AvengeMedia/DankMaterialShell#4481 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
AvengeMedia/DankMaterialShell#4465 ·
-
Enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
AvengeMedia/DankMaterialShell#4456 · 2 comments ·
-
Enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
AvengeMedia/DankMaterialShell#4452 ·
All issues in AvengeMedia/DankMaterialShell
Similar issues
-
Render amenity=dancing_school and education=dancing_school using the existing leisure=dance iconOpen
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
openstreetmap-carto/openstreetmap-carto#5369 ·
Maintainers usually reply within 1 day
-
new icon permissions in review
Difficulty 1/5 Under an hour Newbie friendliness 92/100
simple-icons/simple-icons#15207 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 64/100
storytold/designcraft#3477 ·
Maintainers usually reply within 1 day
-
enhancement needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 63/100
bherbruck/solvecraft#25164 ·
-
area: bio enhancement good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Hilal-11/snaplnk.io#36 ·
Maintainers usually reply within 1 day