From ecf306d043b62c1646a95027b4e2144be7c69178 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Fri, 16 Oct 2026 09:50:42 +0200 Subject: feat(perf): the performance page moves to the drawer, with ~/.cache The island's performance icon and panel are gone: the drawer page covers them. With only one host left, the panel drops its three-column grid for one card per row at a larger size, since the page scrolls; temperatures get a card of their own as tiles. The files move from island/perf to modules/perf. A cache card ports conky's: ~/.cache and its five largest children, measured with du each time the page opens (28ms over 2 GiB here) rather than read from conky's 15-minute sampler file. The largest is yellow, red past half the total, as conky had it. The warning dot now shows only on the drawer tile. Co-Authored-By: Claude Opus 5.5 --- desktop/modules/perf/PerfModule.qml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'desktop/modules/perf/PerfModule.qml') diff --git a/desktop/modules/perf/PerfModule.qml b/desktop/modules/perf/PerfModule.qml index d0ddf35..e596f9a 100644 --- a/desktop/modules/perf/PerfModule.qml +++ b/desktop/modules/perf/PerfModule.qml @@ -11,11 +11,9 @@ import QtQuick import "../.." -import "../../island/perf" -// The island's performance panel at drawer size. Perf.qml stays in -// island/perf and is shared: its always-on sampling already runs for the -// island's warning dot, so this module adds no service of its own. +// The figures the conky dashboard used to show, as a scrolling page. Perf.qml +// samples them; the tile's dot is its severity. Module { id: mod @@ -38,7 +36,7 @@ Module { + " ยท RAM " + (Perf.mem ? Math.round(100 * Perf.mem.used / Perf.mem.total) + "%" : "--") } - // The same dot as the island icon. Never the accent (AGENTS.md). + // The worst severity. Never the accent (AGENTS.md). Rectangle { anchors.verticalCenter: parent.verticalCenter width: 8 -- cgit v1.2.3