Skip to content

Display correct action buttons when viewing non-text files

Jacques Erasmus requested to merge 324330-display-correct-action-buttons into master

What does this MR do?

Displays the correct action buttons when viewing an image

Screenshots or Screencasts (strongly suggested)

before after
Screenshot_2021-08-26_at_13.59.09 Screenshot_2021-09-01_at_09.25.34

How to setup and validate locally (strongly suggested)

This feature is behind the :refactor_blob_viewer feature flag.

  1. run rails c in the project root
  2. run Feature.enable(:refactor_blob_viewer) in the rails console
  3. upload an image to a repository
  4. view the image

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Related to #324330 (closed)

Edited by Jacques Erasmus

Merge request reports

Loading