Skip to content

Make tree, blob and blame pages more consistent

Douwe Maan requested to merge dm-tree-blob-blame-consistency into master
  • Adds the breadcrumb to the blame page
  • Adds the latest commit widget to the tree page. Not to the blame page, since that is explicitly not about one specific commit/version of the file, and not to the tree as displayed on the project homepage, since that already has a latest commit widget above the breadcrumb
  • Adds "Find file" button to blob and blame pages
  • Moves "Blame | History | Permalink" buttons from "file content header" to the breadcrumb bar. The difference is roughly "actions pertaining to the file's context in GitLab" vs "actions pertaining to the file content itself"
  • Adds a little distance between the latest commit widget and the contents, similarly to the commit and MR info widgets
  • Other minor style changes, like removing double borders and making padding and border radii consistent

Before

Tree

Screen_Shot_2017-05-08_at_19.22.25

Blob

Screen_Shot_2017-05-08_at_19.22.35

Blame

Screen_Shot_2017-05-08_at_19.22.44

After

Tree

Screen_Shot_2017-05-08_at_19.25.12

Blob

Screen_Shot_2017-05-08_at_19.25.20

Blame

Screen_Shot_2017-05-08_at_19.25.27

/cc @tauriedavis

Merge request reports