Skip to content

feature: add Avatars commit graph style - #2779

Open
bertyhell wants to merge 1 commit into
sourcegit-scm:developfrom
bertyhell:feature/bigger-git-tree
Open

bertyhell wants to merge 1 commit into
sourcegit-scm:developfrom
bertyhell:feature/bigger-git-tree

Conversation

@bertyhell

@bertyhell bertyhell commented Oct 12, 2026 •

Copy link
Copy Markdown

Adds a "Commit Graph Style" option in Preferences > Appearance (Classic stays the default).

image

settings appearance option:
image

branch or tag overflow menu
image

user tooltips
image

right click column titles also opens the column options:
image

The Avatars style shows:

  • a resizable BRANCH / TAG column with left-aligned refs, connector lines to the commit, a +N badge with a dropdown for refs that do not fit, and tooltips for trimmed names
  • a resizable GRAPH column with author avatars (or initials) as nodes, small dots for merges, rounded straight lines and lane colored row bands
  • a separate COMMIT MESSAGE column, with left-aligned column headers

Also:

  • tooltip on graph avatars with author and date
  • right-click on column headers opens the history options menu
  • align the graph overlay with the rows below the header separator

Adds a "Commit Graph Style" option in Preferences > Appearance (Classic stays the default).

The `Avatars` style shows:
- a resizable BRANCH / TAG column with left-aligned refs, connector lines to the commit, a `+N` badge with a dropdown for refs that do not fit, and tooltips for trimmed names
- a resizable GRAPH column with author avatars (or initials) as nodes, small dots for merges, rounded straight lines and lane colored row bands
- a separate COMMIT MESSAGE column, with left-aligned column headers

Also:
- tooltip on graph avatars with author and date
- right-click on column headers opens the history options menu
- align the graph overlay with the rows below the header separator

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@love-linger

Copy link
Copy Markdown
Collaborator

This implementation cannot meet the requirement of quickly browsing branch status (some refs are folded) and is also a waste of horizontal space. I have replied in more than one ISSUE that SourceGit does not intend to adopt this design philosophy.

@love-linger love-linger self-assigned this Oct 13, 2026
@love-linger love-linger added the not-planned It's not planned in the future label Oct 13, 2026
@bertyhell

bertyhell commented Oct 13, 2026 •

Copy link
Copy Markdown
Author

so if the branches stay in the description column this would be acceptable?

personally i have a widescreen, so plenty of space
but it's true that some people work on smaller screens
that's why i made it an option and not the default

@love-linger

Copy link
Copy Markdown
Collaborator

Even for widescreens, lots of users will enable the Horizontal history layout to see more commits. For example:

image

@bertyhell

Copy link
Copy Markdown
Author

hmm, i see
we can also gain some width, since the author column isn't that needed anymore with the avatars
but that depends a lot on the project. if you know the people or if it's opensource
one option could be to hide the author column when you switch to this git tree visualisation (you can still re-enable it by right clicking the column headers or the column options button)

anyway, if anyone else wants to play around with the tree visualisations, you can try a dev build here:
https://github.com/bertyhell/sourcegit/releases/tag/v2026.22.1

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

not-planned It's not planned in the future

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants