Improve column alignment by using single table layout#113
Improve column alignment by using single table layout#113phonicura wants to merge 5 commits intojenkinsci:masterfrom
Conversation
|
Hi @jenkinsci/categorized-view-plugin-developers @mPokornyETM @MarkEWaite, for this PR the code changes were a bit more extensive than usual for this plugin; therefore i would be grateful if someone would have the time for a proper code review ^-^ |
|
Just from the screenshots:
|
|
Hi @SunBlack, thanks for your feedback!
|
5254a93 to
887108b
Compare
|
Oh nice update, I like it 👍 Since there is now a clearer marking of the children by the color differentiation of the first column (and the group rows have a bold font): Is it still necessary to indent the children? Could you post a screenshot of this as a comment in case one of the reviewers wants to give an opinion? I'm still a bit conflicted between perfect column alignment and better identification of what children are 😅 |
I agree, though I would want to be sure that it also looks reasonable in a dark theme |
|
Thanks for checking! I agree that it looks fine in the dark themes as well. |
|
I don't know if you want to do it as part of this PR, but you could consider updating the screenshots in the readme after this change - the look of Jenkins has changed more in the last 2 years (was it really only 2 years ago that Jenkins looked like this?). You can also add dark and light mode images. See here. |
|
For change like this, I will try to use the data-table plugin (https://plugins.jenkins.io/data-tables-api/) |
|
Any chance this will merged? |
Since @phonicura is one of the maintainers of the plugin, he can merge it. Have you used the incremental build of the plugin and confirmed that it meets your needs? |
|
Tested it now. It works, but when you open it up, it jumps a little. At first I thought it was because some invisible cell needed more space, but that doesn't seem to be the case. And I think it would look even better if the first column had a fixed size, so that the margin around the collapse button was the same in all four directions. |
|
Hi everyone, I had some difficulties in the past few months to hold up my engagement for this plugin, but now I'm available again, and I will look into the issue next week to bring it to an end. @SunBlack thank you for testing, fixing the width of the first column seems like a suitable solution. |





This PR aims to improve the display of columns in sub-items and fixes #110, https://issues.jenkins.io/browse/JENKINS-29273 and https://issues.jenkins.io/browse/JENKINS-24723 by using a single table for all jobs, instead of nested tables.
Before:

After:

Testing done
Manual testing:
Submitter checklist