GNOME Bugzilla – Bug 702643
Provide a more useful overview
Last modified: 2018-05-22 13:07:57 UTC
The Projects view is currently a list of repositories. It would be better if it could show more information about each one, such as recent commits, new branches, uncommitted changes, etc. This might require that you change the layout from the list to something else. It might also be good to have a "pull all" option so you can update all your repositories at once.
We can start with something simple as providing a small text under the title of the repository. The text can be: Commits in the branch ahead of master? Initially, pbor had suggested this as a button in the repository view, but the Dash view is more appropriate for this, IMO. Marking bug as NEW and enhancement.
Sounds like a good first step. I was imagining a grid of repositories, each of which would have a header and a list of the most recent commits underneath. Imagine Google Plus for Git. :)
So, some more brainstorming/ideas for the overview - I quite like the list view instead of a grid (I find the grid harder to scan) and the list allows the nice and intuitive back/forward animation - As Sindhu mentioned I would really like to have "badges" on the repository icon with the number of local unpushed commits (similar in look to the gnome-shell conversation badges) - It would be extremely cool if in the list row we could have an activity chart like the ones shown in the "graphs" tab of a github project
Hi! I have started work on this by the side, https://git.gnome.org/browse/gitg/log/?h=wip/sindhus/branch-info. In the first iteration, the idea is to add a subtext below branch_name in the gitg-repository-list-box.vala. This subtext is called branch_info. In the next iteration, I plan to add a function that will return a string for the number of local unpushed commits and then of course show this text in branch_info label. The commits can also be found at https://github.com/sindhus/gitg/commits/wip/sindhus/branch-info (added nacho and pbor as collaborators for review/comments). As of writing this comment, my first commit (https://github.com/sindhus/gitg/commit/7f57f1dc6d37c6cea67c7a2445265f639f867285) gives a few "assertion 'self != NULL' failed" errors.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gitg/issues/23.