Skip to content

Blob refactor: Use PDF Viewer when vewing a PDF blob

Jacques Erasmus requested to merge 324339-pdf-blob-viewer into master

What does this MR do and why?

This is part of a bigger effort to refactor the repository browser.

In this MR we use the PDFViewer component when viewing a blob through the refactored blob viewer.

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

Screenshots or screen recordings

Screenshot_2021-11-29_at_12.54.06

How to set up and validate locally

Example below:

  1. Enable the blob refactor
    Feature.enable(:refactor_blob_viewer)
  2. Upload a PDF
  3. View the PDF

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

Edited by Jacques Erasmus

Merge request reports