-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
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
fix: change icon to symbol #7229
fix: change icon to symbol #7229
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey,
thanks for your PR! The icon has three states, according to the corresponding Java class: https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/scm/EditType.java#L57-L59
The appropriate icon is filled in depending on the SCM operation that took place. We should keep that up, rather than replacing the icons with a generic symbol, no?
Where i can test the changes? I fixed it already in the right way. which screen can I test every single states? (the edit icon I know) Edit Any problem, let me know! |
I went ahead and cleaned up the improper merge. Although, I'm not too sure about changing the reference from 'delete' to 'trash', because it's available in Jelly. |
Any change needed? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As above.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I went ahead and updated the screenshots matching the new output, looks good to me, thanks for the PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is better than before! I'm not sure if it is a good idea to reuse the pencil, as this icon has a meaning for me: to actively edit something. But since there is no +/- symbol available right now I am fine with this change (in the Git forensics plugin I am using this one: https://github.com/jenkinsci/forensics-api-plugin/blob/master/src/main/resources/images/symbols/diff-stat.svg).
Would someone from @jenkinsci/core-security-review mind taking a look, please? :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay, from a security aspect, I see no issues with this PR 🙂
/label ready-for-merge This PR is now ready for merge. We will merge it after ~24 hours if there is no negative feedback. |
See JENKINS-69715.
Before
After
File addtion:
File modification:
File deletion:
Proposed changelog entries
Proposed upgrade guidelines
N/A
Submitter checklist
@Restricted
or have@since TODO
Javadocs, as appropriate.@Deprecated(since = "TODO")
or@Deprecated(forRemoval = true, since = "TODO")
, if applicable.eval
to ease future introduction of Content Security Policy (CSP) directives (see documentation).Desired reviewers
@mention
Maintainer checklist
Before the changes are marked as
ready-for-merge
:upgrade-guide-needed
label is set and there is a Proposed upgrade guidelines section in the pull request title (see example).lts-candidate
to be considered (see query).