Optional background images for job statuses#18
Conversation
|
Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests |
There was a problem hiding this comment.
Why that? Are you trying to prevent autoboxing or something?
There was a problem hiding this comment.
Yes, I am. This is just a matter of preference - I'm no fan of autoboxing...
There was a problem hiding this comment.
Well, I just feel this is a bit more verbose in that case. Anyway :).
Back to the very goal of that PR itself, please revert those changes as they're unrelated to the newly introduced feature, so that the code change only contains the part related to the addition.
If you really wish to replace those, please file another dedicated PR.
Thanks!
|
Hi @smurf667, thanks for your work! As is, and also because the existing code was not already perfect in the regard, I would be reluctant to add and manage again more scalar attributes. I think the existinig code and the PR should/could be reworked to avoid adding and conveying yet again 5 more attributes/parameters. Thanks again! |
| */ | ||
| public class RadiatorView extends ListView { | ||
|
|
Goal: be able to use DataBoundSetter to try and clean the currently bloated constructor (and many PR still open wanting to open yet many other new attributes :-/). See https://groups.google.com/forum/#!topic/jenkinsci-dev/58-DEvuJZWI : this new feature requires 1.535 (so choosing the next LTS above that). See also: * #18 * #17
|
Hi @smurf667 I've committed 14403e5 that uses @DataBoundSetter to avoid having a bunch of parameters in the constructor. Could you please:
Then I'll have a look again. (I'd still like to improve the code to use richer objects and aggregate related things, but that an issue outside the scope of your PR so I'll do that later if I ever find the time to do it.) |
|
Hi, |
Hello, this feature allows to show an optional and configurable background image per job status.