aboutsummaryrefslogtreecommitdiffstats
path: root/desktop/modules/deckit/DeckItDashboardPage.qml
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-11-10 20:14:04 +0100
committerDanilo M. <danix@danix.xyz>2026-11-10 20:14:04 +0100
commitdd3e17cb9765f7643c8a5ccdfa36481618fa897a (patch)
tree09eee2c8c7e07d7662203f7755d24639365866aa /desktop/modules/deckit/DeckItDashboardPage.qml
parentcd7035be76c82c15d172a6827c3c8f81df723424 (diff)
downloadquickshell-dd3e17cb9765f7643c8a5ccdfa36481618fa897a.tar.gz
quickshell-dd3e17cb9765f7643c8a5ccdfa36481618fa897a.zip
feat(deckit): tabs and dashboard parts in separate lists
deck-it's [modules] were one list mixing tabs and dashboard parts. The General page now lists the tabs (Windows, OBS, K1C printer, Assistant) and the Dashboard page the parts, each under a readable name; Modules.js holds the split. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'desktop/modules/deckit/DeckItDashboardPage.qml')
-rw-r--r--desktop/modules/deckit/DeckItDashboardPage.qml9
1 files changed, 5 insertions, 4 deletions
diff --git a/desktop/modules/deckit/DeckItDashboardPage.qml b/desktop/modules/deckit/DeckItDashboardPage.qml
index 658f07b..0ab032f 100644
--- a/desktop/modules/deckit/DeckItDashboardPage.qml
+++ b/desktop/modules/deckit/DeckItDashboardPage.qml
@@ -12,6 +12,7 @@
import QtQuick
import "../.."
import "../qtmaildir"
+import "Modules.js" as Modules
// deck-it's Dashboard page: its panels, its action icons, the hardware it reads.
Column {
@@ -31,13 +32,13 @@ Column {
Small { visible: DeckIt.defaultsError !== ""; color: Theme.red; text: DeckIt.defaultsError }
- Heading { objectName: "modules/"; text: "Modules" }
- Small { text: "The dashboard's panels and tabs." }
+ Heading { objectName: "modules/"; text: "Dashboard parts" }
+ Small { text: "What the Dashboard shows. The OBS and K1C tabs, on the General page, also feed its running row." }
Repeater {
- model: Object.keys(col.def("modules") ?? {})
+ model: Modules.parts(Object.keys(col.def("modules") ?? {}))
BoolSetting {
required property string modelData
- store: col.st; section: "modules"; key: modelData; label: modelData
+ store: col.st; section: "modules"; key: modelData; label: Modules.name(modelData)
fallback: col.def("modules", modelData) ?? true
}
}