feat(panel): Settings… in the menu bar menu and ⌘, to open Settings
AD
6d ago+38+38+01234567890123456789-3-3-0123456789
Summary
Settings is two steps away from the menu bar (open the panel, find the tab). This adds Settings… to the menu bar menu and ⌘, inside the panel, both landing on Settings.
Changes
- Menu bar menu: Settings… (
⌘,) between Show panel and Check permissions…, calling the newPanelController.showSettings(category:). ⌘,is a new case inglobalKeyAction(.openSettings), per the keyboard rules in AGENTS.md. It works from a text field, is ignored while recording a hotkey and on a held key, and does nothing on screens with no tab strip (setup, update, Permissions opened from setup), like⌘←/→.- README: key table and menu table rows.
GlobalKeyActionTests.test_commandCommaOpensSettingspins the key table.
Testing
Automated: ./build.sh (no new warnings), make test-without-xcode (1448 tests, 0 failures), make typecheck-tests.
Manual, after make reload:
- Click the bell in the menu bar. Choose Settings…. The panel opens on the Settings tab.
- Hide the panel, switch to Events, open it with the hotkey, press
⌘,. It switches to Settings. - On Sessions, press
/to focus the filter, then⌘,. It switches to Settings. - In Settings, select the hotkey row and start recording.
⌘,is recorded as the combo and does not leave the page. - With the widget on and the panel collapsed to the pill, choose Settings…. The panel expands onto Settings.
Related issues
None.
🤖 Generated with Claude Code
Summary by cubic
Adds Settings… to the menu bar menu and a ⌘, shortcut in the panel, so users can jump straight to Settings instead of opening the panel and finding the tab.
⌘,works from a text field and is ignored while recording a hotkey, on held keys, and on screens with no tab strip (setup, update, permissions from setup).