Draft: Moved draft notes publishing to be async
What does this MR do and why?
This moves the creation of notes from draft notes to be done inside of a worker. This speeds up the publish endpoint substantially, taking a request that could take seconds to now only taking a few 100ms.
There is a UX change here in that review comments don't all get removed when the publish request finishes, we remove them once the backend has converted the draft note into the normal note.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Phil Hughes