-
Notifications
You must be signed in to change notification settings - Fork 90
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
Update values table CSS style and number formatting #47
Conversation
@radekdoulik thanks a lot, it looks really nice 👍. I'm going to test this out soon (today-tomorrow) and we can release the change right after that. |
9912637
to
4a5b1e4
Compare
Updated the commit message. Hopefully it is OK now. |
@radekdoulik well, it's still not 🙃It should be like |
Added `<style>` section to the *jelly* file with CSS style for data values table, nice borders and light gray header background. Added `formatNumber` method to format the numbers in the table for improved readability and used it in the *jelly* file.
4a5b1e4
to
47b957b
Compare
OK, the updated the commit message 47b957b |
Context: https://jenkins.mono-project.com/view/Xamarin.Android/job/xamarin-android/plot/Build%20times/ The Jenkins plot plugin does not seem to be able to render decimal numbers in the table displaying the CSV file. Radek has sent a PR upstream to the plugin: jenkinsci/plot-plugin#47 In the meantime, we can fix this ourselves by only emitting whole numbers to the CSV file. Since the build times are taking multiple seconds and we are storing milliseconds in the CSV, this loss of precision won't affect us much.
Here're my test results: BeforeFull table AfterAnd after the change table is more compact and more elements fit on screen.
@radekdoulik Thanks you so much for this improvement 💪 |
@radekdoulik fix was released as part of 2.0.5 🎉 (link to changelog). |
Thank you for the quick release! 👍 |
What has been done
Screenshots
How to test
Checklist