Blob refactor: Show correct control buttons when viewing a blob

What does this MR do and why?

This MR ensures that the correct control buttons are rendered when viewing a blob in the refactored blob viewer.

Note, changes in this MR are behind the :refactor_blob_viewer feature flag.

Screenshots or screen recordings

before after
Screenshot_2021-12-13_at_14.26.59 Screenshot_2021-12-20_at_14.58.34

How to set up and validate locally

Enable the Blob Viewer Refactor feature flag

Feature.enable(:refactor_blob_viewer)

Open a source file

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

Edited by Jacques Erasmus

Merge request reports

Loading