-
Notifications
You must be signed in to change notification settings - Fork 106
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
UI renovation #328
UI renovation #328
Conversation
f86aec4
to
561f5d6
Compare
- remove all style attributes and replace with classes - use only standard jenkins variables and color so everything looks good with dark theme as well - do all styling via an explicit css file - use jenkins-table where appropriate - use a grid layout instead of tables to arrange the portlets - wrap the portlet in a div instead of a table - use new weather icons for job statistics - sort jobs by full name for job grid
561f5d6
to
5a8e0fa
Compare
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.
Looks awesome so far. Still need to test myself and would like to get some feedback from downstream (do they still exist?) plugin authors...
Pinging downstream plugin developers for tests: @tyanai @dalvizu @centic9 @JayDVector @uhafner |
update docu
this avoids that the portlets start overlapping when the screen width becomes too small and the tables can't be shrinked any further remove some wrong classes
This looks better, yes.
Why don't you create a new class that does work inside of a widget: this class can be based on the properties of the jenkins-table? I think it would look even better if there is no gap at the bottom (and no additional corners). Maybe it would also make sense to get in touch with @timja and @janfaracik as well as they might plan something similar for the main pages (without an extra plugin). Maybe they have some styles for these widgets already. |
- border around the content - dedicated jelly for tables with tweaked styling - move implementation guide to separate file
I see, then this is another regression that has been introduced by the UI changes in core |
Interesting, this is something I noticed in the "Next Executions" Widget also (if browser window is between 900px & 1170px wide): jenkinsci/next-executions-plugin#78 |
373b110
to
66c0e95
Compare
Before you are merging this we need to make a plan how to update the affected plugins. |
plugins implementing the portlet are not broken with this change. It's just that when they use inner tables it becomes more obvious that they use the old styling. Some plugins show images (graphs), that should work without issues. |
UI tests are broken in my plugin now. I am not sure if others have UI tests though... |
I would really like to merge this, but also don't want to break @uhafner's UI tests 😉 - Any progress on that front? (I assume this is fine with other plugins, since we haven't received any feedback from their authors so far...) |
I am currently preparing a bigger release that breaks UI tests as well. So feel free to merge, I will take care of it when the changes will be visible in the BOM. |
This PR probably also caused all the failures in https://ci.jenkins.io/job/Core/job/acceptance-test-harness/job/master/lastCompletedBuild/testReport/ |
fixes: #326
fixes: #294
fixes: #254
fixes: #202
fixes: #233
fixes: #230
Screenshots
normal theme:
Testing done
Interactive testing
Submitter checklist