User mapping - Handle mentions and participants in GitHub importer
What does this MR do and why?
When importing projects from GitHub we keep mentions in the issues, MRs and notes. These can lead to the wrong users being mentioned if the names don't match.
To fix this, in this MR we surround any mentions in backticks.
This affects the MRs, Issues, Notes and Releases. I believe that's everything we need to handle but please let me know if you notice anything is missing
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 |
|---|---|
How to set up and validate locally
- Enable GitHub imports
- Import a project from GitHub with user mentions
- Check the comments, issues, releases and MRs all have user mentions in backticks.
Related to #477553 (closed)
Edited by Keeyan Nejad