(0fd1ddc) Pick a tag in the tui, and bump to 0.27.1
The board could be cut by campaign and not by the axis `ls --tag` has answered since 2f3796e. `t` opens a picker of every tag the board declares or carries, and taking one filters every column to the cards carrying it, matched whole and case sensitively the way the listing matches. The picker is one piece of machinery over two lists rather than a second picker. `PickerRow::key` is what made that cheap: a campaign is keyed by its uuid and a tag by itself, both strings, so stepping over selectable rows, keeping the highlight across a rebuild and taking a row with `enter` are written once. Only the list and what the answer filters differ. `Tab::campaign` became `Tab::filter`, an enum of whole, campaign or tag, with `select_filter` its only writer. Picking either clears the other because they are one field rather than because two setters remember to, which is also what the shared frame slot needs: it holds one frame and can now only be asked to name one thing. The tag sections are declared above undeclared and neither is truncated, where the completed campaigns are: a finished campaign is done with and that tail only grows, while an undeclared tag is the row a reader most wants to see. `campaign` and `campaigns` would have sat one under the other here the day the second was invented. The digest stamps `tags.md`, or a tag declared elsewhere would never reach an open picker. The footer names the tag in its own colour beside `q board`, because a tag draws no frame until 2a83bd4 and nothing else would say why the cards are missing. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
3592584747
commit
7126138d46
+997
-156
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user