report system shutdown progress during poweroff #22

Manually merged
x1ddos merged 2 commits from poweroff-report into master 1 year ago
x1ddos commented 1 year ago
Owner

this greatly improves UX during shutdown: no need to guess at which point it's ok to unplug the power cord.

image

closes #5

also, improves on #17. as in, it successfully kills ngui but only when poweroff is initiated. in a normal operational mode it's still hanging due to the blocking comm.read calls.

this greatly improves UX during shutdown: no need to guess at which point it's ok to unplug the power cord. ![image](/attachments/9a151201-7c48-45c5-b35d-cabf58a59c28) closes https://git.qcode.ch/nakamochi/ndg/issues/5 also, improves on https://git.qcode.ch/nakamochi/ndg/issues/17. as in, it successfully kills ngui but only when poweroff is initiated. in a normal operational mode it's still hanging due to the blocking `comm.read` calls.
x1ddos added 2 commits 1 year ago
c4fea2edcd
nd: poweroff with progress report to ngui
the daemon now sends info about the system shutdown progress: a list of
important services which may require up to several minutes to stop such
as lnd lightning daemon and bitcoin core.

see next commit for how this info is displayed and used by the GUI.
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/pr/woodpecker Pipeline was successful Details
7c9e30192b
ngui: display poweroff progress during system shutdown
this greatly improves UX during shutdown: no need to guess at which
point it's ok to unplug the power cord.

the commit also includes a GUI playground. a sort of a fake daemon which
sends hardcoded messages to ngui. useful for manual debugging and trying
different UX scenarious.
x1ddos force-pushed poweroff-report from 7c9e30192b to 532581a246 1 year ago
x1ddos merged commit 532581a246 into master manually 1 year ago
This repo is archived. You cannot comment on pull requests.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: nakamochi/ndg#22
Loading…
There is no content yet.