aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-24 14:39:01 -0500
committerCraig Jennings <c@cjennings.net>2026-05-24 14:39:01 -0500
commitba58f66332e6a8692d985f4d5478c743fca9bcb7 (patch)
tree77e602831da177e866273e491e15820b2d221595 /tests
parent049661b4c2f9047b2bf40868a6f327a4eae7075c (diff)
downloadpearl-ba58f66332e6a8692d985f4d5478c743fca9bcb7.tar.gz
pearl-ba58f66332e6a8692d985f4d5478c743fca9bcb7.zip
refactor: extract the label-category picker out of pearl-new-issue
pearl-new-issue was 129 lines — long but linear (a run of creation prompts), and untested since it is eight interactive reads. I pulled out the one intricate, self-contained piece: the issue-type label selection that groups labels by their " - " category prefix and does the two-stage category-then-label pick. It is now pearl--read-issue-label, called for selected-type. Verbatim move, no logic change; new-issue drops to 93 lines. 353 tests green.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions