Create todo when user is mentioned in a task description
What does this MR do and why?
- Renames description and weight widgets services
update
callbacks tobefore_update_callback
, to differentiate between work item update service methods and widget specific callbacks. - moves the callbacks from
WorkItems/UpdateService#update
toWorkItems/UpdateService#before_update
hook.
Why
This is needed mainly because of the move we made to use description widget, which sets the description attribute into the work item(issuable) before we get the chance to compute the mentions.
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 Alexandru Croitor