Commit Graph
8 Commits
Author SHA1 Message Date
Ansho ReiandClaude Opus 5 ddbd45e332 (dca0b61) Add priority as a ticket field
Priority lived in tags, as p1 to p3, which ls could neither sort nor
filter on, nothing validated, and a typo like P1 passed silently. ls
sorted by title only, so a backlog of any size gave no ordering signal.

Levels are 1 to 5 with 1 most urgent, matching what the tags meant.
Omitting the flag leaves the field _Not set_, like Due and Owner: there is
no implicit middle level, because a priority nobody chose is worse than
none. clap rejects anything outside the range before a ticket is written.

Priority parses to three states rather than two. A stored value outside
the range is Invalid, kept distinct from Unset, so a typo cannot read as
"no priority": it shows as ? and sorts just ahead of the unset tail.

ls sorts on priority and falls back to the old title sort, and --priority
filters, composing with the status filter in both the grouped and the
filtered listing. TicketItem becomes a struct, since a sixth tuple field
was past reading.

Migrated the 31 tickets already carrying p1 to p3 tags: the level moves to
the field and the tag is dropped.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-20 15:36:19 +02:00
Anshorei cd19e4e6cf (a0dc5e3) Display comments under worklane show 2026-05-15 12:00:22 +02:00
Anshorei bc3ee0c53b (339c65a) Add comment command 2026-05-15 11:11:40 +02:00
Anshorei d668a24a3d (0b1a129) Add the mv command 2026-05-15 01:52:59 +02:00
Anshorei e29616d30f The ls subcommand now shows created_at before uuid 2026-05-15 00:46:15 +02:00
Anshorei 94da69a1b2 Make ls status non-flag argument 2026-05-14 22:32:17 +02:00
Anshorei fd216b056c (177665) Add ls command 2026-05-14 21:37:11 +02:00
Anshorei 17a02b906e Initial commit 2026-05-14 20:41:40 +02:00