Fix Board Issue avatar styling
What does this MR do and why?
When exactly 2 assignees are on an issue in a board and the issue has a long enough due date, group/project name, weight and health status, then a situation can occur where the leading avatar(s) in the assignees group overlap the health status.
This also fixes some aspects of the avatar group to visually match the avatars-inline component from Pajamas:
- ordering of avatars (rightmost on top instead of leftmost on top)
- styling of "+..." counter (gray 100 bg, gray 900 text)
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
- Check out this branch locally
- Go to a group issues board in your GDK (because the project name on all issues will show there)
- Find an issue that is not closed and make sure it has
- A weight
- A due date
- Health status
Needs attention
- exactly 2 assignees
- You should see that the issue due date, weight, and health status is on one row, with the issue project name, id and avatars on the last row beneath them (note: you may need to refresh the browser before seeing the updated issue data reflected in the card on the board)
- remove one assignee from the issue
- You will see that now the due date, weight, health status, project name/id and avatars all appear on one line (Note: you may need to refresh the browser to see updated issue info after changing the assignees)
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.
Edited by Chad Lavimoniere