Hide state in issue popover if request fails

What does this MR do and why?

We should not show an incorrect state if the request for the extra issue metadata fails

References

Screenshots or screen recordings

Before After
Screenshot_2025-07-18_at_3.47.14_PM Screenshot_2025-07-18_at_3.47.33_PM

For reference, when the request succeeds, this is how it looks:

Screenshot_2025-07-18_at_3.46.38_PM

How to set up and validate locally

  1. Create a closed issue in project-a
  2. In another project's issue, create a comment with a reference to the previous issue. (e.g. project-a#1)
  3. Rename project-a to project-b
  4. Hover over the comment's reference and the popover now shows an incorrect "Open" state

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.

Edited by Heinrich Lee Yu

Merge request reports

Loading