Viewing files in mobile has several UX gaps

I viewed this file: https://gitlab.com/gitlab-com/www-gitlab-com/blob/master/doc/development.md on mobile.

Logged out Logged in
Screen_Shot_2018-09-07_at_15.28.33 Screen_Shot_2018-09-07_at_15.28.13

As you can see a lot of things are going on here:

  1. The duplicated "copy" icon is confusing. One copies the path, while the other copies the file contents:

    Screen_Shot_2018-09-07_at_15.34.39

  2. The Header is crowded with buttons. We should probably get rid of them entirely or move them into a "Hamburger" menu.

  3. Maybe on small screens the duplication of the path in the header and the file name is not necessary, it is barely readable anyway:

    Screen_Shot_2018-09-07_at_15.28.13_copy

  4. Blame / History / Permalink and Find file take away a lot of space as well...

/cc @jramsay @jkarthik

Assignee Loading
Time tracking Loading