Unify plugin settings container hierarchy (Plugins tab & Desktop Widgets)
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 15/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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 |
|---|---|
- Lingua principale
- QML
- Stelle
- 8.4k
- Fork
- 549
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di AvengeMedia/DankMaterialShell
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
AvengeMedia/DankMaterialShell#4490 ·
-
Color Picker has blurApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
AvengeMedia/DankMaterialShell#4481 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
AvengeMedia/DankMaterialShell#4465 ·
-
Hide checkmark icon as wellApertaEnhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
AvengeMedia/DankMaterialShell#4456 · 2 commenti ·
-
Enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
AvengeMedia/DankMaterialShell#4452 ·
Tutte le issue di AvengeMedia/DankMaterialShell
Issue simili
-
Render amenity=dancing_school and education=dancing_school using the existing leisure=dance iconAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
openstreetmap-carto/openstreetmap-carto#5369 ·
I maintainer di solito rispondono entro 1 giorno
-
Request: fanart.tv IconApertanew icon permissions in review
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
simple-icons/simple-icons#15207 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 64/100
storytold/designcraft#3477 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 63/100
bherbruck/solvecraft#25164 ·
-
area: bio enhancement good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
Hilal-11/snaplnk.io#36 ·
I maintainer di solito rispondono entro 1 giorno