diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-01 23:40:11 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-01 23:40:11 -0500 |
| commit | 8bae955521cdf3e2f8d5ff015b3ae36b5b8a75e8 (patch) | |
| tree | 2d765a0aba944e0af418f0dbf736e10d07eef73d /docs/multi-state-filter-spec.org | |
| parent | 5ef986c880fa6fdfafe3f11943524119065bd044 (diff) | |
| download | pearl-8bae955521cdf3e2f8d5ff015b3ae36b5b8a75e8.tar.gz pearl-8bae955521cdf3e2f8d5ff015b3ae36b5b8a75e8.zip | |
feat(filter): :state accepts a list of state names
I made :state polymorphic, mirroring :state-type. A string still compiles to state.name.eq. A list now compiles to state.name.in, so (:state ("Todo" "In Review")) matches issues in either state. The reverse-compile inverts state.name.in back to a scalar (one name) or a list (several), so copy-down no longer refuses a Linear view filtering on a set of named states. The validator accepts a string or a list of non-empty names, the same shape it already enforces for :labels, and a list-valued :state keeps its precedence over :state-type and :open.
Phase 1 of docs/multi-state-filter-spec.org. Suite, compile, and lint green.
Diffstat (limited to 'docs/multi-state-filter-spec.org')
0 files changed, 0 insertions, 0 deletions
