Skip to content

Combining commit list and commit graph

Proposal

Combine the "repository graph" and "commits".

The information in the repository graph can be useful to better understand how the current branch is made up or how all branches are currently connected to each other. However when a user wants to dive deeper into the commits that make the graph it is not possible.

The commit list contains all of this information SHA's, exact timings, and/or pipeline information.

The relationship of these two pages are related and users can benefit by having these pages combined:

Proposed changes

  • Condensed single line per commit for better graph representation
  • Consider updating framework used to generate the graph lines
    • Currently using Raphael but there are newer frameworks available
  • Remove the "Repository graph" from the sidebar and keep the "Commits" menu item.

Visuals

This is what the pages look like individually currently as of 17.0.

Repository graph Commits
image image

The combined view could look similar to this mockup:

image

The graph can be toggled on and off via the preference menu

CleanShot_2024-05-22_at_11.43.41

Related issues

https://gitlab.com/gitlab-org/gitlab-ce/issues/18640

Edited by Michael Le