Skip to content

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 to before_update_callback, to differentiate between work item update service methods and widget specific callbacks.
  • moves the callbacks from WorkItems/UpdateService#update to WorkItems/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.

#368198 (closed)

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.

Edited by Alexandru Croitor

Merge request reports

Loading