Closed jihunparkme closed 5 months ago
Definitely need to be fixed, but I'm wonder if there is better CSS solution than just trimming the job name ?
I think adding line breaks could also be a solution.
So, I found a CSS property called word-break. The word-break property specifies how words should break when reaching the end of a line. (ref. https://www.w3schools.com/cssref/css3_pr_word-break.php)
AS-IS
<tr>
<td class="pane"><a tooltip="SampleJobNaaaaaaaaaaaaaaaaaaaaaaaaaaaame" href="xxx"
title="SampleJobNaaaaaaaaaaaaaaaaaaaaaaaaaaaame">
SampleJobNaaaaaaaaaaaaaaaaaaaaaaaaaaaame</a></td>
<td tooltip="(in )" class="pane" title="(in )">2024/06/13 10:49</td>
</tr>
...
TO-BE
<tr>
<td class="pane"><a tooltip="SampleJobNaaaaaaaaaaaaaaaaaaaaaaaaaaaame" href="xxx"
title="SampleJobNaaaaaaaaaaaaaaaaaaaaaaaaaaaame" style="word-break: break-all;">
SampleJobNaaaaaaaaaaaaaaaaaaaaaaaaaaaame</a></td>
<td tooltip="(in )" class="pane" title="(in )">2024/06/13 10:49</td>
</tr>
Simply add the word-break: break-all; option to an a tag that has the job name.
For your reference, I am using version 310.v52e770651319. (https://plugins.jenkins.io/next-executions/releases/)
Thank you.
While reviewing the project for creating a pull request, I discovered that the issue I requested has already been addressed in version 327.v136ff959e97b_ https://github.com/jenkinsci/next-executions-plugin/pull/109
It seems appropriate to close this issue. Thank you.
What feature do you want to see added?
I found a problem where time information is not visible when the job name is long. I think job name is important, but time information is also important.
.
So, if the job name exceeds a certain length, I suggest replacing the later characters with "...." Please refer to the example below
.
Thank you for providing a good plug-in. Please consider my suggestion. Thank you.
Upstream changes
Are you interested in contributing this feature?
No response