Skip to content

Fix assignee avatar tooltip w special char names

What does this MR do?

This MR fixes an issue where user names that have special characters like ' were being too eagerly escaped in assignee tooltips.

Thanks for pairing on this @leipert @leetickett @cwoolley-gitlab & @markrian! See pairing video on Unfiltered.

Screenshots or Screencasts (strongly suggested)

Before After
Screen_Shot_2021-08-02_at_8.22.25_PM Screen_Shot_2021-08-02_at_7.32.24_PM

How to setup and validate locally (strongly suggested)

  1. Open a MR
  2. Assign multiple people including one with a ' in the name
  3. Set the one with a ' to either "Busy" or "Cannot merge"
  4. Hover over their avatar
  • Previous (bug): The tooltip will be too eagerly escape '
  • New (fix): The tooltip will show ' properly

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

References

Related to #227563 (closed)

Edited by Paul Slaughter

Merge request reports