Add token selector input for work item assignees
What does this MR do and why?
- adds a token selector to Work item view
- adds 2 mock tokens user can delete from the token selector
- adds a mock local mutation to update Apollo cache on selector blur
- adds an empty state when WI has no assignees
What is missing?
- we are not able to add assignees yet
- we don't have
Add assignees
token in the token selector itself as our GitLab UI component doesn't allow this level of customization - icon for
Add assignees
is a bit different from the design - I selected the closest one I could find on https://gitlab-org.gitlab.io/gitlab-svgs/
Screenshots or screen recordings
Screen_Recording_2022-06-07_at_10.09.09
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 assignees
- Click on cross icon on token to remove assignee
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