Skip to content

Add link to git blame from file blob view

What does this MR do and why?

Add link to git blame from file blob view

Screenshots or screen recordings

Before After
Screenshot_2022-06-29_at_16.04.11 Screenshot_2022-07-07_at_12.04.09

How to set up and validate locally

  1. Go to project
  2. Click on any .js or .scss or .rb or ... file
  3. Hover over the line number
  4. Hover over the git icon
  5. Click on the git icon and observe redirect to a blame page

This should work with highlight_js feature enabled and disabled

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #351582 (closed)

Edited by Nataliia Radina

Merge request reports

Loading