Skip to content

Add previous blame link to blob blame

Jacques Erasmus requested to merge 425267-add-prev-blame-link into master

What does this MR do and why?

Adds a link to the blob blame feature to view the previous blame.

Screenshots or screen recordings

Before After
Screenshot_2023-11-02_at_11.12.21 Screenshot_2023-11-02_at_11.12.40

How to set up and validate locally

  1. Enable the graphql_git_blame, blob_blame_info and highlight_js_worker feature flags
  2. Open a .json file via the repository files browser
  3. Click the Blame button in the blob header
  4. A link to view the previous blame should be rendered
  5. Clicking the link should navigate to the previous blame on the blame page

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 #425267 (closed)

Edited by Jacques Erasmus

Merge request reports