Skip to content

Add support for legacy blob viewers

What does this MR do?

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

Changes in this MR will enable us to load legacy (HAML) viewers when the :refactor_blob_viewer FF is enabled, giving us the ability to test refactored blob viewers in production with minimal impact.

Screenshots (strongly suggested)

Viewer Type Screenshot
Audio Rich Screenshot_2021-06-29_at_14.12.05
PDF Rich Screenshot_2021-06-29_at_14.25.31
Video Rich Screenshot_2021-06-29_at_14.30.19
SVG Rich Screenshot_2021-06-29_at_14.34.30
Markdown Rich Screenshot_2021-06-29_at_14.51.35
Notebook Rich Screenshot_2021-06-29_at_14.59.58
OpenAPI Rich Screenshot_2021-06-29_at_15.04.53
Image Rich Screenshot_2021-06-29_at_15.06.45
Sketch Rich Screenshot_2021-06-29_at_15.09.04
Text Simple Screenshot_2021-06-29_at_14.52.53

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Related to #333893 (closed)

Edited by Jacques Erasmus

Merge request reports

Loading