diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-26 00:31:44 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-26 00:31:44 -0500 |
| commit | 8c42615b09471db089d81b7d702c60917fb85c79 (patch) | |
| tree | 34b847a3e92658ad5c6d1cc6f566ff6622c14495 /docs/comment-deletion-spec.org | |
| parent | 5ee0bdcc4a1bd4b935973be7201b20380ec8cb80 (diff) | |
| download | pearl-8c42615b09471db089d81b7d702c60917fb85c79.tar.gz pearl-8c42615b09471db089d81b7d702c60917fb85c79.zip | |
feat: resolve a cycled TODO keyword to its Linear state at save
Cycling a ticket's TODO keyword (C-c C-t) now counts as a state edit. The dirty scan gains a keyword-cycle arm: state is dirty when the explicit id moved off its baseline (the picker arm, as before) or when the keyword diverged from the synced state name's slug. At save, the picker arm pushes the explicit id; the keyword-cycle arm resolves the keyword to a team state id by slug match, first by position, and pushes that. A keyword no team state matches is reported skipped rather than guessed.
set-heading-state now slugifies the keyword instead of the static-map lookup, so the picker writes the same keyword the renderer derives. Without that, a picker edit to a non-standard state would read as permanently cycled. That retires pearl--map-linear-state-to-org, whose only caller this was, and its tests.
Diffstat (limited to 'docs/comment-deletion-spec.org')
0 files changed, 0 insertions, 0 deletions
