Integrate pdf viewer for files view.
Created by: helgrind
I have added pdf.js functionality into the files viewer to render pdfs. This is really helpful if using gitlab for collaborating on publications. However, I am moving the code from an old abandoned gem into the main code base as it's very slim. Couple of qs:
- What is the gitlab way to convert the css.erb sheet into scss? It uses background-images and the asset path currently. Would I need to convert to defining all the images in the view?
- I'm going to add a view for it - should it be in blob or shared as it is reuseable?