Unify plugin settings container hierarchy (Plugins tab & Desktop Widgets)

Open
#4,392 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
15/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Active
Domain
design, frontend

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

breaking discussion

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):

  1. Auto-wrap bare rows inside PluginSettings and drop the outer SettingsCard from PluginSettingsPage / PluginDesktopWidgetSettings (keeps backwards compatibility).
  2. Require plugins to use SettingsCard / SettingsGroup directly (cleaner, but breaking for bare-row plugins).

For comparison (the after got 1 less container so it is much cleaner)

Before After
Screenshot-2026-11-23_12-11-49 Screenshot-2026-11-23_12-16-11
Dominant language
QML
Stars
8.4k
Forks
549
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from AvengeMedia/DankMaterialShell

All issues in AvengeMedia/DankMaterialShell

Similar issues

More Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.