Skip to content

Add support for rendering icons in autocomplete suggestions

What does this MR do and why?

Adds support for rendering an icon beside the autocomplete suggestions for issues in markdown editor for comments etc.

The icon will represent the work item type of the item in the list.

This change does not add icons when searching for Epics via '&', because only Epics will be included in that list.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
Screenshot_2024-06-04_at_14.58.02 Screenshot_2024-06-04_at_14.57.12

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Visit a work item and Epic
  2. Type '#' into a new comment/discussion or the description
  3. Check the icons that appear are correct

Related to #463156 (closed)

Edited by Jack Chapman

Merge request reports