diff options
| author | Danilo M. <danix@danix.xyz> | 2026-11-18 16:56:01 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-11-18 16:56:01 +0100 |
| commit | 44f947c642fe842fae80c7407399265aa47e9909 (patch) | |
| tree | fba51fa5ddbfb9033a63aa1fda9b720f262848af /desktop/modules/deckit/DeckItModule.qml | |
| parent | 403d88813622c45ea270d5168e9875e582bad4d4 (diff) | |
| download | quickshell-44f947c642fe842fae80c7407399265aa47e9909.tar.gz quickshell-44f947c642fe842fae80c7407399265aa47e9909.zip | |
feat(deckit): Start, Stop and Restart in the drawer
Running deck-it is a runtime operation, so it moves out of the settings
window into a drawer tile: the deck-it page shows its status line and
Start, Stop and Restart. The Server settings page keeps only the status
line in its header.
DeckIt.control(op) replaces restart(): the buttons stay disabled until
deck-it status shows the result (running or waiting after a start,
stopped after a stop) or 30s pass. A Restart waits 2s before believing
the status, so the old instance's last answer does not count. The
snackbar went with it: the drawer has none, and its page shows the
status line instead.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'desktop/modules/deckit/DeckItModule.qml')
| -rw-r--r-- | desktop/modules/deckit/DeckItModule.qml | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/desktop/modules/deckit/DeckItModule.qml b/desktop/modules/deckit/DeckItModule.qml index f3986e9..a47e7da 100644 --- a/desktop/modules/deckit/DeckItModule.qml +++ b/desktop/modules/deckit/DeckItModule.qml @@ -15,7 +15,7 @@ import "../.." import "../qtmaildir" // deck-it, the tablet dashboard: Server, the first of its four pages, with -// its state and Restart in the header. See README.md. +// its state in the header; Start, Stop and Restart are the drawer's deck-it tile. See README.md. Module { id: mod name: "deckit" @@ -57,11 +57,6 @@ Module { : Theme.red font { family: Theme.fontFamily; pixelSize: Theme.fontSize - 4 } } - Button { - text: DeckIt.restartAt ? "Restarting…" : "Restart" - enabled: !DeckIt.restartAt - onClicked: DeckIt.restart() - } SaveBar { dirty: DeckIt.store.dirty; valid: DeckIt.store.valid; error: DeckIt.store.error onSave: DeckIt.save(); onDiscard: DeckIt.store.discard() |
