diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-06 16:21:46 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-06 16:21:46 -0500 |
| commit | 7fb4cf298a4e27813ce1137acf83f5cc52fba3be (patch) | |
| tree | e29347a47a53d43e74c85890e6285146cec6f171 /tests | |
| parent | 132496a6fbe5b1190d3b5cc585e940d12e3c92db (diff) | |
| download | pearl-7fb4cf298a4e27813ce1137acf83f5cc52fba3be.tar.gz pearl-7fb4cf298a4e27813ce1137acf83f5cc52fba3be.zip | |
feat(keys): add sort and grouping to the transient menu
The view-shaping commands were keymap-only. Now they're in the menu's Views group too: 5 sorts, G groups, R reverses the order. The mnemonic letters were already taken menu-wide (s and S save, g and r refresh), so sort took the digit 5 and group/reverse took the free capitals.
The menu coverage test now requires all three, and the README sort/grouping notes point at the menu keys.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test-pearl-menu.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/test-pearl-menu.el b/tests/test-pearl-menu.el index 825d6bc..d939a9e 100644 --- a/tests/test-pearl-menu.el +++ b/tests/test-pearl-menu.el @@ -78,7 +78,11 @@ menu entry that still points at it fails here." ;; set-default-view: the new Views-group entry pearl-set-default-view ;; fetch the full comment thread for the issue at point - pearl-fetch-all-comments)) + pearl-fetch-all-comments + ;; view-shaping commands added to the Views group + pearl-set-sort + pearl-set-grouping + pearl-toggle-sort-order)) (should (memq expected cmds))))) (provide 'test-pearl-menu) |
