aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-02 13:41:02 -0500
committerCraig Jennings <c@cjennings.net>2026-06-02 13:41:02 -0500
commitaf89859dc2ff772f9acf2d5b784e587e4d0243cc (patch)
treeb514ba8b61b9bd175c2bad20e62d7eb8c757b2ee
parentc11592ed56b895dc3ec4cfae7e9df8e77d641c2c (diff)
downloadpearl-af89859dc2ff772f9acf2d5b784e587e4d0243cc.tar.gz
pearl-af89859dc2ff772f9acf2d5b784e587e4d0243cc.zip
feat(views): offer open-default-view in the transient menu
The keymap's l hot key opens the default view, but the transient could only run literal my-open-issues, so the menu couldn't reach a configured default. Now the Fetch group's l mirrors the keymap and runs pearl-open-default-view. Literal my-open-issues moves to m so it stays reachable from the menu. Suite holds at 809, compile and lint clean.
-rw-r--r--pearl.el3
-rw-r--r--tests/test-pearl-menu.el1
2 files changed, 3 insertions, 1 deletions
diff --git a/pearl.el b/pearl.el
index 3652b7a..a6d7438 100644
--- a/pearl.el
+++ b/pearl.el
@@ -6723,7 +6723,8 @@ body stay."
["Workspace"
["Fetch"
("P" "pick source" pearl-pick-source)
- ("l" "my open issues" pearl-list-issues)
+ ("l" "open default view" pearl-open-default-view)
+ ("m" "my open issues" pearl-list-issues)
("p" "by project" pearl-list-issues-by-project)
("f" "build a filter" pearl-list-issues-filtered)]
["Views"
diff --git a/tests/test-pearl-menu.el b/tests/test-pearl-menu.el
index 48ce723..8d23023 100644
--- a/tests/test-pearl-menu.el
+++ b/tests/test-pearl-menu.el
@@ -60,6 +60,7 @@ menu entry that still points at it fails here."
"A representative slice of the command surface is reachable from the menu."
(let ((cmds (mapcar #'cdr (test-pearl-menu--pairs))))
(dolist (expected '(pearl-list-issues
+ pearl-open-default-view
pearl-run-linear-view
pearl-run-local-view
pearl-publish-local-view