Integrate blame preferences frontend
What does this MR do and why?
- Add a method to detect whether or not there is a
.git-blame-ignore-revsfile in the default branch of the project. - Show the checkbox apply the ignore revs to the blame when the file exists
References
Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.
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
When the file exists:
When the file does not exist:
It looks a little funny but I think we will fix this up in Ignore revs on Blame page - backend/frontend in... (#514684 - closed)
How to set up and validate locally
- Enable the
blame_ignore_revsfeature flag - Create a project and add a
.git-blame-ignore-revsfile to the default branch - Try removing the file and check that the blame preferences component is not showing the checkbox
Edited by Jerry Seto

