-
-
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
2939 multiline commit message #2944
2939 multiline commit message #2944
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2944 +/- ##
==========================================
- Coverage 27.24% 26.82% -0.42%
==========================================
Files 89 90 +1
Lines 17640 17807 +167
==========================================
- Hits 4806 4777 -29
- Misses 12146 12351 +205
+ Partials 688 679 -9
Continue to review full report at Codecov.
|
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.
Also title should be added page.tmpl
element <h3>
where commit message is rendered
templates/repo/commits_table.tmpl
Outdated
@@ -60,7 +60,7 @@ | |||
</a> | |||
</td> | |||
<td class="message collapsing"> | |||
<span class="has-emoji{{if gt .ParentCount 1}} grey text{{end}}">{{RenderCommitMessage .Summary $.RepoLink $.Repository.ComposeMetas}}</span> | |||
<span class="has-emoji{{if gt .ParentCount 1}} grey text{{end}}" title={{.Message}}>{{RenderCommitMessage .Summary $.RepoLink $.Repository.ComposeMetas}}</span> |
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.
Quotes seems to be missing
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.
I added the quotes and title in page.tmpl
It still seems strange to me that attribute value contains newlines. It needs to be verified that it works on all supported browsers |
Yes on these were also I tested :) I'm more worried about Safari and IE on windows. These are usually the most problematic ones |
I don't really like the idea of viewing multiline commits in a tooltip, both GitHub and GitLab show multiline commits with a |
I can try and implement this, but I'm new to a project, so I might need some guidance. |
@makarchuk you can use vue.js |
I'd love to help but I'm in the middle of all my exams for this semester, I can help over Christmas if this is still open 😃 |
@sondr3 jQuery for this would be ok |
I've created my own version of multiline commits in #2980, but the implementation is very rough and not finished, I'd love if any of you would give me a helping hand. |
My own version is now done (or so I hope), if any of you would like to test it I'd really appreciate it. |
Closing this as other PR has implemented this with expandable button |
View of multiline commit messages as tooltips.
Fixes #2939