A reboot folder: restarting the PC takes opening it and picking its one row #125
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
queue
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
romaine-life/fzt-automate!125
Loading…
Reference in a new issue
No description provided.
Delete branch "FZTA-23-reboot"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Work package: https://openproject.home.romaine.life/wp/FZTA-23
Adds
folder:reboot, a command folder whose one row, "restart now", runsshutdown /r /t 0.Why a folder: the menu's search reaches every row of the static tree, so a plain restart entry would be one stray Enter away from a search. A command folder's rows exist only once it is opened, so restarting takes opening "reboot" and then picking its row.
Why
/t 0: it is the same restart as Start's, where an app with unsaved work can still hold it. Any delay over 0 implies/fand closes those apps without asking.Leaves alone: every other built-in. The menu entry that points at it (
pc/→reboot) is a separate tree edit in romaine-life/at once this release is on the PCs.Tests:
TestRebootIsAFolderWithOneRestartRow(a folder, its row loads only when opened, the row is quick and runs shutdown directly) andTestRebootTakesNoArguments. Not run for real: a restart.