Display artifacts in browser
Description
Some build artifacts are often files that a web browser could display as they are. For instance README, build logs, ChangeLog, to some extend PDF files, and more interestingly HTML files like the documentation produced by Doxygen. Instead, we are forced to download them and to open them locally with this message:
The source could not be displayed because it is stored as a job artifact. You can download it instead.
While this is a minor inconvenience for things like PDF files, it gets a bit more annoying for HTML documentation.
Proposal
Figure out the magic/mime-type of the files and offer to directly view those that can be viewed from the browser (as an alternative to downloading them, not in replacement of). Using an iframe would be best so as to not lose the navigation links and not feel like we're taken out of GitLab. HTML pages that use relative paths would work out of the box and would really be fantastic.