refactor(desktop): drop the Quit Luke buttons now that Luke is a full desktop app
Merged
DA
10d ago+68+68+01234567890123456789-116-116-012345678901234567890123456789
Luke is a full desktop app with a menu bar, so the app menu's Quit Luke (āQ) is the way out. This removes the in-window Quit buttons:
- Sign-in gate: the "Quit Luke" footnote under the provider buttons is gone; the gate offers only Continue with Google / GitHub.
- Settings front page: the "Quit Luke" button below Account is gone.
- Settings search: the "Quit Luke" row is gone, so searching "quit" finds nothing.
- Dead code left behind: the
window.quitact (kind, declaration, router row, test fixture),PowerIcon, theonQuitprops, theSETTINGS_SEARCH_ROW.QUITanchor, and the.sign-in-quit/.quit-buttonCSS. The tests that usedwindow.quitas their sample payload-less act now usewindow.focusPanel.
The app menu's { role: "quit" } and the main process's own quit paths (all windows closed, update restart, shutdown) are unchanged.
Tests
sign-in-gate.test.ts(new): the gate draws only the two provider buttons.desktop-settings.test.ts: the Settings front page draws no Quit button.settings-search.test.ts: searching "quit" matches no row.
All three fail on main and pass here. ./scripts/check.sh exits 0.
Mac verification
CI could not verify this. It is a UI change and CI builds nothing for the Mac. This was written in a Linux sandbox, so ./scripts/verify.sh has not been run, and there is no visual evidence. The change only deletes markup and the CSS rules that styled it.
š¤ Generated with Claude Code