Skip to content

Improve UX multi assignees in MR

Samantha Ming requested to merge 22058-improve-ux-multi-assignees-in-mr into master

(CE Port: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/31545)

What does this MR do?

Issue: https://gitlab.com/gitlab-org/gitlab-ee/issues/11058

Move the warning icon from the side to the avatar.

Testing Case

  1. Go to a Merge Request
  2. Add some assignees that can merge and can not merge

Open View

  • It should look like this:

image

image

Tooltip text

  • If assignee can merge, $Name
  • If assignee can't merge, $Name (cannot merge)

Collapsed View

  • It should look like this:

image

Tooltip text

  • If all assignees cannot merge: No one can merge
  • If the current assignee cannot merge: Cannot merge
  • If some assignees cannot merge: 2/5 can merge

Dropdown (search) View

  • It should look like this:

image

Tooltip text

  • If assignee can't merge, Cannot merge

Warning Icon

  • Should only appear on the assignees that can't merge

Assignees

  • The assignees should be ordered with those that can merge first

Does this MR meet the acceptance criteria?

Conformity

Performance and testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Rémy Coutable

Merge request reports