Replace local mutation for updating WI assignees with a real one
What does this MR do and why?
This MR replaces a local mock mutation for adding assignees with a real workItemUpdate
mutation. It also implements a proper error handling and fixes an issue where current user's token had a gray background
Screenshots or screen recordings
No visual changes
How to set up and validate locally
-
Enable the MVC-2 feature flag
Feature.enable(:work_items_mvc_2)
-
Open work item view
-
Click on the assignees field and add a few new assignees
-
Try to remove assignees
-
You should see a mutation called in the
Network
tab and assignees should update
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.
Related to #334810 (closed)
Edited by Natalia Tepluhina