aboutsummaryrefslogtreecommitdiff
path: root/scripts/tests
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-06 15:14:45 -0500
committerCraig Jennings <c@cjennings.net>2026-06-06 15:14:45 -0500
commit23c741c4dc8a3e5a753b3c42389b8c673052d2ce (patch)
tree3fed12b20d86005595f83b85ff259578e4975775 /scripts/tests
parent690faf7538bb7fcd47367b4801923beea40a0ff1 (diff)
downloadpearl-23c741c4dc8a3e5a753b3c42389b8c673052d2ce.tar.gz
pearl-23c741c4dc8a3e5a753b3c42389b8c673052d2ce.zip
feat(views): pearl-set-grouping command
Phase 3 of the interactive-grouping spec: the command that ties phases 1 and 2 together. pearl-set-grouping completing-reads a dimension (status/project/assignee/priority/none), coerces and validates it, regroups the buffer, then persists the choice on the source. M-x only for now, like pearl-set-sort. The transient and keymap entries come later. pearl--apply-grouping is the non-interactive core, shaped like pearl--apply-sort. On a successful regroup it re-folds the page and writes :client-group into the header. On an empty buffer it reports no-issues and writes nothing, so a failed grouping never advertises a layout the buffer doesn't show. none ungroups and clears the override. 4 tests cover persistence, the none-clears path, the re-fold, and the no-issues skip.
Diffstat (limited to 'scripts/tests')
0 files changed, 0 insertions, 0 deletions