Update rendered iteration markup for popover support

What does this MR do and why?

Adds data-namespace-path attribute and has-popover CSS class to iteration element on rendered GFM for supporting popovers.

References

Screenshots or screen recordings

Before After

How to set up and validate locally

  1. Add iteration and cadences, follow https://docs.gitlab.com/user/group/iterations/ for guidance.
  2. Once a few iterations are available in a project, go to an issue and add a comment as *iteration:, this will autocomplete available iteration cadences.
  3. Select one of the cadence from autocomplete menu and post the comment.
  4. Hover over posted comment's iteration link and it should show popover with iteration details.

MR acceptance checklist

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

Related to #455076 (closed)

Merge request reports

Loading