Place Control Center tiles freely and host plugin widgets as tiles

Tiles keep the cell they are dropped in, so gaps stay where they are
left; moving or resizing onto other tiles pushes those straight down.
Enabled plugins with a Noctalia controlCenterWidget entry point are
offered as tiles in edit mode.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
mxandClaude Opus 5.5 committed 2026-10-17 22:02:18 +02:00
1 parent 72a21c9363
commit 7f1189606c
14 files changed
+412 -157

No files matched your search

+7 -4
View File
@@ -114,10 +114,13 @@ failures do not cause restart loops. Song artwork never changes the global accen
## Phase 7 system controls
`ControlCenter` is an active-monitor overlay with a registry-driven module layout.
Modules are `CCModule` tiles on a 4-column grid (`controlcenter/GridLogic.js` packs
them first-fit in configured order); each has a default size in `ControlRegistry`
and an optional per-module `w`/`h` (1–4) in `controlCenter.modules`, set from the
panel's edit mode. Tiles adapt their layout to their size. A tile can extend below
Modules are `CCModule` tiles placed freely on a 4-column grid
(`controlcenter/GridLogic.js`): each entry in `controlCenter.modules` may store its
cell (`x` 0–3, `y`) and size (`w`/`h` 1–4, else the `ControlRegistry` default).
Tiles without a cell take the first free spot; moving or resizing one in the
panel's edit mode pushes overlapped tiles straight down and saves every cell, so
gaps persist. Enabled plugins with a Noctalia `controlCenterWidget` entry point
add `plugin:<id>` tiles hosted by `modules/Plugin.qml`. Tiles adapt their layout to their size. A tile can extend below
its cells (`extraHeight`: the Sound mixer, power confirmation) and the grid moves
the tiles underneath down. Config version 2 split the old Connectivity and Audio
cards into Wi-Fi/Bluetooth/Network and Output/Input. `CaffeineService` holds a