Skip to content

Web IDE blob image + default fallback

Tim Zallmann requested to merge tz-ide-blob-image into master

What does this MR do?

It provides an image preview for blobs in the Web IDE, if no current Viewer is matched then it will fallback to the Download Viewer which provides a button to download.

Image Size in KB is displayed, we determine its display size and if it is bigger then the actual display a zoom functionality is provided.

The image view will also be the base for the diff viewing in an MR.

Why was this MR needed?

To make non code blobs viewable in the Web IDE in this case especially images.

Screenshots (if relevant)

2018-04-04_23-07-33

chrome_2018-04-05_13-11-49

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Edited by Lukas Eipert

Merge request reports