From 31a6293e982e212ea5136659dcccce271fe37be1 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Fri, 16 Oct 2026 11:18:31 +0200 Subject: feat(desktop): pages can open other pages and step back to them Page gains go(name), wired to the drawer's show(). Module gains up, the page back() returns to, empty for the grid as before. The back arrow now calls back() instead of clearing the page itself, so the arrow, Escape and the mouse's back button agree. For the git page, opened from the user page. Co-Authored-By: Claude Sonnet 5.5 --- desktop/Module.qml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'desktop/Module.qml') diff --git a/desktop/Module.qml b/desktop/Module.qml index 2ce2939..50b4235 100644 --- a/desktop/Module.qml +++ b/desktop/Module.qml @@ -42,6 +42,10 @@ QtObject { // some other way: the user page opens from the drawer's header row. property bool tiled: true + // The page back() returns to from this module's page. Empty is the grid. + // The git page sets "user", the page it is opened from. + property string up: "" + // Rendered inside the tile, below the icon: a short state line. Null for // a tile that says nothing beyond its label. property Component tileContent: null -- cgit v1.2.3