Update labels in the sidebar when /label quick action is used
Description
The same as gitlab-ce#47932 but for the /label
quick action. The current behaviour is that using the /label
quick action doesn't update the labels in the sidebar. We don't provide feedback that would conclude the microinteraction:
Trigger > Rules > Feedback.
In our case:
- Trigger: quick action to label is used
- Rules: label changes happen in the sidebar
- Feedback: visual feedback in the discussion section
It's ok to show visual feedback immediately in the discussion section but we should reflect the change in the sidebar too.
Proposal
When /label
action is used, update the labels in the sidebar.