aboutsummaryrefslogtreecommitdiff
path: root/tests/testutil-request.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-25 20:26:50 -0500
committerCraig Jennings <c@cjennings.net>2026-05-25 20:26:50 -0500
commit684068a81103e9a9dace2f5cc6fd49edc1f01ab1 (patch)
tree1a38b043c64f77be4370aa9a9c82d6579fbb9a44 /tests/testutil-request.el
parent09cf1f02161aaef9bb1ad26907472bea52f53a24 (diff)
downloadpearl-684068a81103e9a9dace2f5cc6fd49edc1f01ab1.tar.gz
pearl-684068a81103e9a9dace2f5cc6fd49edc1f01ab1.zip
feat(save): add the priority, state, and labels savers
These are three more savers on the atomic engine, each the same spec shape the assignee saver proved, with its own field handling. Priority reads the cookie's number, diffs it against LINEAR-PRIORITY, and pushes priority. State is the picker arm — the explicit LINEAR-STATE-ID against LINEAR-STATE-ID-SYNCED, pushing stateId, with use-remote rewriting the keyword and name from the fetched node (the keyword-cycle arm stays gated on the derivation task). Labels canonicalize the id set to a sorted space-joined string so the diff is order-insensitive, and push labelIds. Canonicalizing labels to a string also keeps the missing-baseline check honest: an issue with no labels has a present-but-empty baseline, which a nil-vs-empty-list comparison would misread as a legacy file. A shared set of pearl--node-* helpers pulls each field out of the raw issue node. I also fixed pearl--get-linear-priority-name, which mapped None to "Medium" — it now reads "None", so the conflict prompt names the priority honestly. It's still not wired into save-issue — the next commit does that.
Diffstat (limited to 'tests/testutil-request.el')
0 files changed, 0 insertions, 0 deletions