diff options
| author | Danilo M. <danix@danix.xyz> | 2026-10-16 11:18:31 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-10-16 11:18:31 +0200 |
| commit | 31a6293e982e212ea5136659dcccce271fe37be1 (patch) | |
| tree | a4e013f5a3298f5af0c7bcea001637423cdc2eac /desktop/Page.qml | |
| parent | b81fe900056e4c14738d4ceb4e2dfe80ae2e4bff (diff) | |
| download | quickshell-31a6293e982e212ea5136659dcccce271fe37be1.tar.gz quickshell-31a6293e982e212ea5136659dcccce271fe37be1.zip | |
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 <noreply@anthropic.com>
Diffstat (limited to 'desktop/Page.qml')
| -rw-r--r-- | desktop/Page.qml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/desktop/Page.qml b/desktop/Page.qml index cb717e8..8365c51 100644 --- a/desktop/Page.qml +++ b/desktop/Page.qml @@ -23,6 +23,9 @@ Item { // Closes the whole drawer, for a page whose action is finished once done // (the clipboard copies and gets out of the way). signal dismiss + // Opens another module's page by name, for a page that links to one (the + // user page opens the git page). + signal go(string name) Item { id: header |
