-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix styling for commiter on diff view #11715
Conversation
I'd probably remove the commit icon and do: User1 authored 25 minutes ago GitHub combines these as one message, but I think that approach can be confusing because it's not immediately clear who authored and who commited (IIRC, author should be first): User1 and User2 committed 25 minutes ago |
The whole point of splitting the message is to make is shorter, for long emails or names the message easily goes into second line and I'd like to avoid it as it looks weird when only part of '2 days ago' is in a second line. |
Also duplicating time on committed user looks weird as hell |
Right, date duplication is weird. Maybe follow what GitHub does. |
That would make message even longer, making them problem even more evident and annoying. |
GitHub can do it for two reasons:
|
If space is scarce, maybe we should move the e-mail to a |
Also given how our default trust model for signing works, I find it useful to have it obvious who committed and who authored. |
Co-authored-by: silverwind <[email protected]>
Co-authored-by: silverwind <[email protected]>
Co-authored-by: silverwind <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Guess more improvements can be done later.
ping LG-TM |
@CirnoT please send backport :) |
* Fix styling for commiter on diff view * Update options/locale/locale_en-US.ini * Update templates/repo/commit_page.tmpl Co-authored-by: silverwind <[email protected]> * Update templates/repo/commit_page.tmpl Co-authored-by: silverwind <[email protected]> * Apply suggestions from code review Co-authored-by: silverwind <[email protected]> Co-authored-by: silverwind <[email protected]> Co-authored-by: techknowlogick <[email protected]> (cherry picked from commit 8e035f8)
* Fix styling for commiter on diff view * Update options/locale/locale_en-US.ini * Update templates/repo/commit_page.tmpl Co-authored-by: silverwind <[email protected]> * Update templates/repo/commit_page.tmpl Co-authored-by: silverwind <[email protected]> * Apply suggestions from code review Co-authored-by: silverwind <[email protected]> Co-authored-by: silverwind <[email protected]> Co-authored-by: techknowlogick <[email protected]> (cherry picked from commit 8e035f8)
* Fix styling for commiter on diff view * Update options/locale/locale_en-US.ini * Update templates/repo/commit_page.tmpl Co-authored-by: silverwind <[email protected]> * Update templates/repo/commit_page.tmpl Co-authored-by: silverwind <[email protected]> * Apply suggestions from code review Co-authored-by: silverwind <[email protected]> Co-authored-by: silverwind <[email protected]> Co-authored-by: techknowlogick <[email protected]>
I've tried adjusting width here already in #11441 but it turns out that it doesn't look so well when there are multiple parents (see image on #11709)