Skip to content

Better display of tags and branches in commits view and tree

Description

It is currently note easy to see tags and branches in the commit lists. In commits/<branch> there's no indication of tags and branches, and the individual commit view (commit/<SHA>) makes no distinction between branches/tags containing the commit and those whose tip is at the commit. Also, the tree view (network/<branch>) displays branches and tags only as a tooltip and without distinction. See https://gitlab.com/gitlab-org/gitlab-ce/issues/2132#note_33951645.

Further details

Current Proposed
Screen_Shot_2019-06-07_at_2.59.08_PM Artboard_20190607_30318-1

Proposal

  1. Show branches and tags that match each commit in the commits view (commits/<branch>)

  2. In the commit view (commit/<SHA>) show prominently and uncollapsed the branches and tags that match the commit. Show a collapsible list (maybe like now with the ... button) with other branches/tags that contain the commit.

  3. In the tree view (network/<branch>), show a collapsible list of branches and tags next to each commit, with distinction between branches and tags.

Use cases

Any repository with many branches (like one per developer) and tags (like one per daily build).

Edited by James Ramsay (ex-GitLab)