Make report type artifacts downloadable from the job details page

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

#23847 (closed) made report type artifacts downloadable from the pipeline index by introducing Ci::JobArtifact::DOWNLOADABLE_TYPES. However, additional changes are necessary for these artifacts to be downloadable from the job details page:

  1. The download button must appear when any downloadable artifact is present. Currently it only appears if an archive artifact is present

Screen_Shot_2020-05-27_at_3.41.13_PM

  1. The download feature should give the user the option to select which artifact from the job to download. The gif below shows the current behavior - the download button only downloads the archive artifact

Screen_Recording_2020-05-27_at_3.42.17_PM

  1. The keep and browse button features also need to be updated in order to work with report type artifacts
Edited by 🤖 GitLab Bot 🤖