Closed MarkEWaite closed 5 months ago
my proposal are not mandatory, @MarkEWaite let me know if you want to change it or not.
my proposal are not mandatory, @MarkEWaite let me know if you want to change it or not.
Thanks for your comment @mPokornyETM . I didn't see any proposed changes in your comment. Maybe your proposed changes are not yet submitted?
Maybe your proposed changes are not yet submitted?
sorry, I mean my comments
I've replaced indexOf
with startsWith
so that the code is clearer. Interactive testing of the failure case shows that the change is behaving as I had expected.
I'd like a review from @strangelookingnerd if time allows. However, I'd also like to resolve the bug before the end of the week if possible. My interactive testing of #130 did not detect that regression and I'd like to fix it promptly so that other users are not disturbed by it.
I've replaced
indexOf
withstartsWith
so that the code is clearer. Interactive testing of the failure case shows that the change is behaving as I had expected.I'd like a review from @strangelookingnerd if time allows. However, I'd also like to resolve the bug before the end of the week if possible. My interactive testing of #130 did not detect that regression and I'd like to fix it promptly so that other users are not disturbed by it.
I‘ll have a look at it later today, tomorrow latest.
Use size class for all icons, not just symbols
Symbols do not require height or width but icons without height and width will render at their original size instead of rendering at the standard size for icons.
Fixes https://github.com/jenkinsci/badge-plugin/issues/148
Testing done
Confirmed that before this change, the following icon renders incorrectly as a 48x48 image:
Confirmed that before this change, the following icon renders correctly:
Confirmed that after this change, the following icon renders correctly as a 16x16 image:
Confirmed that after this change, the following icon renders correctly: