Ability to download single file

Description

A lot of times when browsing a repository, I want to download a single file. Yes, there are possibility to accomplish this now with

  • Save as… in Raw view
  • or using curl.

But, sometimes I want the comfort of a good hosting service instead of terminal :)

Design

  • Add icon button to download file to disk
  • SVG can be found in http://gitlab-org.gitlab.io/gitlab-svgs/
  • Tooltip: Download

image

original description:

### Proposal I think it would be nice when viewing single file to have button `Download` which will download single file.

Final design

We add a split button with the options Raw and Download

Resting state

file--raw-split

Expanded

file--raw-split-expanded

Edited Jun 26, 2018 by Andreas Kämmerle
Assignee Loading
Time tracking Loading