Make draft toggle idempotent
A community contributor proposed making /draft
idempotent (!89874 (closed)) which will require a few separate steps
- Add backend support for
ready
and a temporary idempotentdraft
method - we may not use this new draft method right away, but since it's a simple reverse, we should implement it at the same time - Add
/ready
as a quick-action - Reroute frontend, API, etc events to use the new idempotent actions
- Confirm any side-effects or implicit expectations around toggling
draft
status on the DB record - Cleanup - migrate the idempotent
draft
method and remove the old code
Some brainstorming and discussion in thread !89874 (comment 992757722)