A reboot folder: restarting the PC takes opening it and picking its one row #125

Merged
merge-queue merged 1 commit from FZTA-23-reboot into main 2026-11-18 16:50:33 -08:00
Owner

Work package: https://openproject.home.romaine.life/wp/FZTA-23

Adds folder:reboot, a command folder whose one row, "restart now", runs shutdown /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 /f and 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) and TestRebootTakesNoArguments. Not run for real: a restart.

Work package: https://openproject.home.romaine.life/wp/FZTA-23 Adds `folder:reboot`, a command folder whose one row, "restart now", runs `shutdown /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 `/f` and 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) and `TestRebootTakesNoArguments`. Not run for real: a restart.
A reboot folder: restarting the PC takes opening it and picking its one row (FZTA-23)
All checks were successful
merge-queue landed on main
Suite release / check-package (push) Has been skipped
Suite release / finalize (push) Has been skipped
Suite release / reused-checks (push) Has been skipped
Suite release / home-sync (push) Has been skipped
Suite release / publish (push) Has been skipped
Suite release / dispatch (push) Has been skipped
Suite release / deploy-image (push) Has been skipped
Suite go / scope (pull_request) Successful in 10s
Suite default / scope (pull_request) Successful in 11s
Suite go / check-services (pull_request) Has been skipped
Suite default / check-fetches (pull_request) Has been skipped
Suite default / check-rules (pull_request) Has been skipped
Suite release / scope (pull_request) Successful in 10s
Suite release / module (pull_request) Has been skipped
Suite release / reserve (pull_request) Has been skipped
Suite release / check-build (go, ubuntu-latest) (, go, false, ubuntu-latest, , go) (pull_request) Has been skipped
Suite release / check-package (pull_request) Has been skipped
Suite release / build (go, ubuntu-latest) (, go, false, ubuntu-latest, , go) (pull_request) Has been skipped
Suite release / finalize (pull_request) Has been skipped
Suite release / home-sync (pull_request) Has been skipped
Suite release / publish (pull_request) Has been skipped
Suite release / dispatch (pull_request) Has been skipped
Suite release / deploy-image (pull_request) Has been skipped
Suite go / check-format (pull_request) Successful in 12s
Suite default / reused-checks (pull_request) Successful in 11s
Suite release / reused-checks (pull_request) Successful in 11s
Suite go / check-test-linux (pull_request) Successful in 15s
Suite go / check-test-windows (pull_request) Successful in 1m9s
Suite go / reused-checks (pull_request) Successful in 7s
5dddcc3939
merge-queue deleted branch FZTA-23-reboot 2026-11-18 16:50:33 -08:00
Sign in to join this conversation.
No description provided.