You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The most recent Github update hides the latest commit message on a project page. Instead, it only shows the author, commit date, and SHA:
This seems like a misfeature to me - there's always enough space to display at least part of the commit message. Seeing a commit message by default is much more useful than a SHA - I have no reason to want to copy a SHA until I know what the commit does.
I think it would be useful to hide the SHA and use the extra space to display as much of the commit message as will fit.
Reacted by Nicolò Ribaudo, ash, fregante and darkred
I agree with @sersorrel, it's hard to discover in my opinion.
Can we always show the first line of the commit message (and user click expand to see the rest of the message and description)? (#3278 (comment))
Activity
kidonng commentedon Jun 25, 2020
Maybe we can just expand the commit message by default.
There is a problem that the commit message can be lengthy, like Linux kernel:
Aaron1011 commentedon Jun 25, 2020
@kidonng: That's what I ended up implementing: #3278
fregante commentedon Jul 1, 2020
This piece of information is actually already on the page. What if we inconspicuously highlighted the latest commit in the filelist?
Bold:
Blue line:
keysmashes commentedon Jul 1, 2020
That's not much help for repositories with many top-level files (e.g. git), though it's an interesting idea.
kidonng commentedon Jul 1, 2020
I agree with @sersorrel, it's hard to discover in my opinion.
Can we always show the first line of the commit message (and user click expand to see the rest of the message and description)? (#3278 (comment))
fregante commentedon Jul 2, 2020
This doesn't look great
But messing with negative margins and
text-graymight fix it:If "yes no no," then this feature could be added.
fregante commentedon Jul 6, 2020
I realized I want this. PR welcome to fix it as described above: only the commit title + centered on the avatar.
However the centering might have to be inside a media query because in small windows the commit title has to be on a second line:
yakov116 commentedon Jul 7, 2020
its comming back

fregante commentedon Jul 7, 2020
They're onto us!!
However that change moves 2 links next to the branch selector, breaking
latest-tag-buttonkidonng commentedon Jul 8, 2020
@fregante Changing the selector from

.breadcrumbto.file-navigation .flex-autoworks on both layout, but...Change it to
#branch-select-menu(append it after the branch select button), better but still not ideal: