Removed the dismiss button and added X#26076
Open
Rahul-2006 wants to merge 2 commits intojenkinsci:masterfrom
Open
Removed the dismiss button and added X#26076Rahul-2006 wants to merge 2 commits intojenkinsci:masterfrom
Rahul-2006 wants to merge 2 commits intojenkinsci:masterfrom
Conversation
daniel-beck
reviewed
Jan 6, 2026
Member
daniel-beck
left a comment
There was a problem hiding this comment.
The lines I commented on need explanation or fixing, they seem wrong.
| <form method="post" action="${rootURL}/${it.url}/act" name="${it.id}"> | ||
| <f:submit name="yes" value="${%Tell me more}"/> | ||
| <f:submit name="no" value="${%Dismiss}"/> | ||
| <l:isAdmin> |
| <form method="post" action="${rootURL}/${it.url}/act" name="${it.id}"> | ||
| <f:submit name="yes" value="${%Manage}"/> | ||
| <f:submit name="no" value="${%Dismiss}"/> | ||
| <l:isAdmin> |
| <f:submit value="${%Dismiss}"/> | ||
| <button type="submit" | ||
| class="jenkins-button jenkins-button--tertiary" | ||
| name="no" |
| <f:submit value="${%Dismiss}"/> | ||
| <button type="submit" | ||
| class="jenkins-button jenkins-button--tertiary" | ||
| name="no" |
| <form method="post" action="${rootURL}/${it.url}/act" name="${it.id}"> | ||
| <f:submit name="more" value="${%Learn more}"/> | ||
| <f:submit name="dismiss" primary="false" value="${%Dismiss}"/> | ||
| <l:isAdmin> |
| <div class="jenkins-alert jenkins-alert-warning"> | ||
| <form method="post" action="${rootURL}/${it.url}/disable"> | ||
| <f:submit value="${%Dismiss}"/> | ||
| <l:isAdmin> |
| <button type="submit" | ||
| class="jenkins-button jenkins-button--tertiary" | ||
| value="${%Dismiss}" | ||
| name="no"> |
Comment on lines
+29
to
+36
| <l:isAdmin> | ||
| <button type="submit" | ||
| class="jenkins-button jenkins-button--tertiary" | ||
| value="${%Dismiss}" | ||
| name="dismiss"> | ||
| <l:icon src="symbol-close"/> | ||
| </button> | ||
| </l:isAdmin> |
Member
There was a problem hiding this comment.
Formatting inconsistent with the rest of the file.
Author
|
@daniel-beck Hey, Can you please elaborate your Why!? Like i haven't understood What's behind that Why? |
Member
Every line I commented on lacks justification and seems unrelated to this PR's goal. |
Author
|
So as far as I understood the issue and tested the way towards the issue, I find it the issue is getting solved by the above fixes... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #18321
Testing done
Previously: This uses Dismiss button:


Now:
Since we have replaced the Dismiss button with X this is the after changes UI:
Tested the change of deleting physically via UI:

Verifying the disabled or not via scripting too!

So a clear view of the changed lines in the code reflected accurately in the UI as tested both via UI and scripting
Screenshots (UI changes only)
These are the same as attached above, added both the before and after states.. right above, not adding them again to reduce the redundancy!!
Proposed changelog category
/label rfe,web-ui
Proposed upgrade guidelines
N/A
Difference between other commits and this one:
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
@mention
Before the changes are marked as
ready-for-merge:Maintainer checklist
upgrade-guide-neededlabel is set and there is a Proposed upgrade guidelines section in the pull request title (see example).lts-candidateto be considered.