Display issuable state only in notes
Description
In https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9462 we introduced a visual indication when an issue or a merge request is closed or merged. This applies to the whole GFM, so it includes:
- notes
- issue description
- issue title
- wiki
- Markdown files
- ...
In some cases it may be unfortunate, for example:
-
https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/blob/master/CHANGELOG.md. Also
CHANGELOG.md
of GitLab CE is kind of a special case, but it's really long and there is a significant number of merge requests referenced. We can't estimate the impact on performance right now because it's broken (https://gitlab.com/gitlab-org/gitlab-ce/issues/30874), but it may be high.
Proposal
Display issuable state only in notes.
Potential problems
We share a lot of code for previewing Markdown, so it may be hard to display the state in the preview of a note.