diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-02 13:04:01 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-02 13:04:01 -0500 |
| commit | c11592ed56b895dc3ec4cfae7e9df8e77d641c2c (patch) | |
| tree | 53b24a6abfcdc120b1fcad710a6bea5f6f77e810 /tests/test-pearl-menu.el | |
| parent | 1a34cb26cbaec7af31a0d93a8f1c563eb5e45be5 (diff) | |
| download | pearl-c11592ed56b895dc3ec4cfae7e9df8e77d641c2c.tar.gz pearl-c11592ed56b895dc3ec4cfae7e9df8e77d641c2c.zip | |
feat(views): wire the default view into the keymap, transient, and docs
Phase 3, the last of the default-view spec: surface the phase 1-2 commands and flip the hot key over.
Top-level l now runs pearl-open-default-view instead of pearl-list-issues, so it opens your default. The literal my-open-issues fetch stays reachable at f o, and l is unchanged until you set a default. v D binds pearl-set-default-view (the slot the keybinding reconciliation reserved), and the transient Views group gets a . suffix for it. D there stays save-locally.
README documents the default view: what l does, how to set and clear it, the Customize persistence, and the per-account scoping under multiple accounts.
Keymap and menu tests updated for the l rebind, the v D binding, and the transient suffix. Suite holds at 809, compile and lint clean.
Diffstat (limited to 'tests/test-pearl-menu.el')
| -rw-r--r-- | tests/test-pearl-menu.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test-pearl-menu.el b/tests/test-pearl-menu.el index 8e18274..48ce723 100644 --- a/tests/test-pearl-menu.el +++ b/tests/test-pearl-menu.el @@ -73,7 +73,9 @@ menu entry that still points at it fails here." ;; previously missing from the menu -- added in the ;; keybinding reconciliation so both surfaces agree pearl-switch-account - pearl-copy-issue-url)) + pearl-copy-issue-url + ;; set-default-view: the new Views-group entry + pearl-set-default-view)) (should (memq expected cmds))))) (provide 'test-pearl-menu) |
