git-up / GitUp

The Git interface you've been missing all your life has finally arrived.
http://gitup.co
GNU General Public License v3.0
11.45k stars 1.24k forks source link

[Feature Request] annotate time units in map view #947

Open notrobpike opened 11 months ago

notrobpike commented 11 months ago

The map view draws nodes on the commit graph at each commit. These seem to be spaced at some regular distance apart, not sensitive to the time and date of each commit. If a light horizontal "rule" or guide were drawn at constant intervals, say 1 month, this would vastly improve the visualization.

The intervals could be chosen automatically using some heuristic or just a constant 1 month. Or there could be major and minor markings.

lucasderraugh commented 11 months ago

Thanks for the suggestion. This has many complexities however. There can be times where months go by without a commit and times where multiple happen a day. So a fixed timeline doesn't make a lot of sense here. Ultimately the idea would need to be fleshed out more before any action can be taken here.

prostolyubo commented 6 months ago

So why not make it simple? Keep spacing the same and visualise the time that passed between each commit with color coding. You could still clearly see the "stagnation periods" and adjust the sensivity. This may function as an optional overlay as this might not be important information to everybody.

lucasderraugh commented 6 months ago

This doesn't work when you have other branches that run alongside it. The commits of a different branch aren't in the same time space as adjacent branches when the commits are equal distances apart.