Skip to content

Fix issue with selecting expired milestones in RTE

Himanshu Kapoor requested to merge 439778-rte-expired-milestone into master

What does this MR do and why?

Fix issue with selecting expired milestones in RTE

When selecting an expired milestone in RTE, the "(expired)" suffix would also append to the content. This commit fixes that.

Changelog: fixed

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
Screen Recording 2024-02-05 at 16.42.03.mov Screen Recording 2024-02-05 at 16.39.50.mov

How to set up and validate locally

  1. In an issue, in rich text editor, type % to trigger the milestones autocomplete dropdown.
  2. Select an expired milestone.
  3. Notice that the (expired) suffix no longer is present in the milestone reference added to the content.

Related to #439778 (closed)

Merge request reports