Replace dismiss buttons with red cross icon and create reusable comp…#26118
Replace dismiss buttons with red cross icon and create reusable comp…#26118meetgoti07 wants to merge 5 commits intojenkinsci:masterfrom
Conversation
…onent - Replace text-based dismiss buttons with circular red cross icon buttons in administrative monitor alerts - Create reusable f:dismissButton component in lib/form/dismissButton.jelly - Update all 16 administrative monitor templates to use the new component
|
@timja , could you please review this when you get a chance? Thank you. |
|
One note. There is already a |
@mawinter69 |
|
@timja, could you please take a moment to review the PR when convenient? I have updated the button contrast so it better aligns with the monitor banner, as it was previously not very noticeable or clear. Thank you for your time and feedback. |



Replace dismiss buttons with red cross icon and create reusable component
Fixes #18321
Testing done
Manually tested the changes by:
The changes are purely UI-related with no functional modifications. All existing form submission logic remains unchanged.
Screenshots (UI changes only)
Before
After
Proposed changelog entries
Proposed changelog category
/label rfe,web-ui
Proposed upgrade guidelines
N/A
Submitter checklist
@Restrictedor have@since TODOJavadocs, as appropriate.@Deprecated(since = "TODO")or@Deprecated(forRemoval = true, since = "TODO"), if applicable.evalto ease future introduction of Content Security Policy (CSP) directives (see documentation).Desired reviewers
@timja