diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-02 11:56:55 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-02 11:56:55 -0500 |
| commit | 0dccaaee955c99d2affcf33c145feba2ef1fdcda (patch) | |
| tree | d34273a2a01a5866d118daad1a84fe47ccb9fd1f /tests/test-pearl-menu.el | |
| parent | 93c70b2b42174caa101d3de1fc46630dcdbcf941 (diff) | |
| download | pearl-0dccaaee955c99d2affcf33c145feba2ef1fdcda.tar.gz pearl-0dccaaee955c99d2affcf33c145feba2ef1fdcda.zip | |
feat(keys): dedicated views group, de-overloaded fetch, account binding
The C-; L keymap and the transient menu had drifted into two different letter schemes for the same commands, the fetch sub-map carried both issue-fetching and view-movement, and pearl-switch-account was bound nowhere.
Give views their own group under v: l/L run local/Linear, c/e/k create/edit/delete, u/U publish local/current, d save a Linear view locally. Fetch (f) is now issue sources only. A new workspace group (w) binds switch-account plus the setup commands, which previously lived only in the transient. v D is reserved, unbound, for the not-yet-built set-default-view.
The transient already had an issue-only fetch group and a dedicated views group, so its changes are additive: switch-account and copy-issue-url were both missing from the menu and are added, and save/save-all/edit-description take s/S/d to match the keymap's hot keys. Matching those three cascades a few view and edit letters because the transient is a flat keyspace where every command needs a unique key.
Suite 789 to 792, compile and lint clean.
Diffstat (limited to 'tests/test-pearl-menu.el')
| -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 9c97384..8e18274 100644 --- a/tests/test-pearl-menu.el +++ b/tests/test-pearl-menu.el @@ -69,7 +69,11 @@ menu entry that still points at it fails here." pearl-edit-state pearl-create-comment pearl-create-issue - pearl-delete-current-issue)) + pearl-delete-current-issue + ;; previously missing from the menu -- added in the + ;; keybinding reconciliation so both surfaces agree + pearl-switch-account + pearl-copy-issue-url)) (should (memq expected cmds))))) (provide 'test-pearl-menu) |
