diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-02 12:56:09 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-02 12:56:09 -0500 |
| commit | 42f3a75651ed8d2f8e601c654e482dc85363bb83 (patch) | |
| tree | fa737d9aab0afc407bcc2264ab1ff03a99590e0c /docs/issue-representation-spec.org | |
| parent | 293c9f2a097991ca64f05f6252d0725f510d2e47 (diff) | |
| download | pearl-42f3a75651ed8d2f8e601c654e482dc85363bb83.tar.gz pearl-42f3a75651ed8d2f8e601c654e482dc85363bb83.zip | |
feat(views): default-view resolver and open command
Phase 1 of the default-view spec. I added the data and dispatch; keymap and the setter come in later phases.
pearl-default-view (defcustom) holds the legacy-mode default: nil for my open issues, or a local-view name. In accounts mode the per-account :default-view key wins instead, so pearl--resolve-account now carries :default-view in its context plist and pearl--resolve-default-view reads from the active account, falling back to the global only in legacy mode.
pearl-open-default-view dispatches the resolved default: nil runs pearl-list-issues, a known local-view name runs pearl-run-local-view, and a name that's since been deleted falls back to pearl-list-issues with a message instead of erroring. pearl-list-issues keeps its contract — it's still literal my-open-issues, the keymap rebind is phase 3.
Nine tests cover the resolver in both modes and the three dispatch paths. Suite 792 to 801, compile and lint clean.
Diffstat (limited to 'docs/issue-representation-spec.org')
0 files changed, 0 insertions, 0 deletions
