Skip to content
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

Replace static icon references with symbol API #7052

Merged
merged 1 commit into from
Sep 4, 2022

Conversation

NotMyFault
Copy link
Member

@NotMyFault NotMyFault commented Sep 2, 2022

This PR replaces a few static icon references with already used symbols through the symbol API. I plan to create a follow-up PR to address the leftover ones by adding the corresponding symbols.

noJob.groovy - the arrow shape change is marginal

Before

Screenshot 2022-09-03 at 22 28 29

After

Screenshot 2022-09-03 at 21 10 42

headerContent.jelly - Same symbol like on the profile page header

Before

Screenshot 2022-09-03 at 22 29 09

After

Screenshot 2022-09-03 at 21 11 24

<l:helpIcon>

Before

Screenshot 2022-09-03 at 22 30 59

After

https://github.com/jenkinsci/jenkins/blob/master/war/src/main/resources/images/symbols/help-circle.svg

Proposed changelog entries

  • Minor changes to empty state arrow icon and header user profile icon

Proposed upgrade guidelines

N/A

Submitter checklist

  • (If applicable) Jira issue is well described
  • Changelog entries and upgrade guidelines are appropriate for the audience affected by the change (users or developer, depending on the change) and are in the imperative mood. Examples
    • Fill-in the Proposed changelog entries section only if there are breaking changes or other changes which may require extra steps from users during the upgrade
  • Appropriate autotests or explanation to why this change has no tests
  • New public classes, fields, and methods are annotated with @Restricted or have @since TODO Javadoc, as appropriate.
  • New deprecations are annotated with @Deprecated(since = "TODO") or @Deprecated(forRemoval = true, since = "TODO") if applicable.
  • New or substantially changed JavaScript is not defined inline and does not call eval to ease future introduction of Content-Security-Policy directives (see documentation on jenkins.io).
  • For dependency updates: links to external changelogs and, if possible, full diffs

Desired reviewers

@mention

Maintainer checklist

Before the changes are marked as ready-for-merge:

  • There are at least 2 approvals for the pull request and no outstanding requests for change
  • Conversations in the pull request are over OR it is explicit that a reviewer does not block the change
  • Changelog entries in the PR title and/or Proposed changelog entries are accurate, human-readable, and in the imperative mood
  • Proper changelog labels are set so that the changelog can be generated automatically
  • If the change needs additional upgrade steps from users, upgrade-guide-needed label is set and there is a Proposed upgrade guidelines section in the PR title. (example)
  • If it would make sense to backport the change to LTS, a Jira issue must exist, be a Bug or Improvement, and be labeled as lts-candidate to be considered (see query).

@NotMyFault NotMyFault added the skip-changelog Should not be shown in the changelog label Sep 2, 2022
@NotMyFault NotMyFault requested a review from a team September 2, 2022 09:20
@NotMyFault NotMyFault requested a review from basil September 3, 2022 18:46
@basil
Copy link
Member

basil commented Sep 3, 2022

@NotMyFault requested a review from basil 8 minutes ago

I have no idea how to review this change. If you want me to approve it, you just need to convince me that you've tested the change sufficiently. Your PR has no "Testing Done" section, so while I generally trust your work I have no way of verifying that.

@NotMyFault
Copy link
Member Author

I have no idea how to review this change.

No worries, I updated the PR description to include a bit more context, but I wouldn't mind if you pass on your review to other UX SIG members, if you prefer that.

@timja
Copy link
Member

timja commented Sep 3, 2022

Before / After screenshots of every component changed here would make this easier rather than just the result

@NotMyFault
Copy link
Member Author

Before / After screenshots of every component changed here would make this easier rather than just the result

There we go 👍🏻

Copy link
Member

@timja timja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested locally, looks good and thanks for the screenshots

@timja timja added skip-changelog Should not be shown in the changelog rfe For changelog: Minor enhancement. use `major-rfe` for changes to be highlighted and removed skip-changelog Should not be shown in the changelog labels Sep 3, 2022
@NotMyFault NotMyFault added skip-changelog Should not be shown in the changelog and removed skip-changelog Should not be shown in the changelog rfe For changelog: Minor enhancement. use `major-rfe` for changes to be highlighted labels Sep 3, 2022
@NotMyFault NotMyFault requested a review from a team September 3, 2022 22:00
@timja timja added the web-ui The PR includes WebUI changes which may need special expertise label Sep 3, 2022
@timja
Copy link
Member

timja commented Sep 3, 2022

@NotMyFault I think this is worth adding to the changelog as a minor item, i.e. the user profile icon is changing

@NotMyFault NotMyFault added rfe For changelog: Minor enhancement. use `major-rfe` for changes to be highlighted and removed skip-changelog Should not be shown in the changelog labels Sep 3, 2022
@NotMyFault
Copy link
Member Author

This PR is now ready for merge. We will merge it after ~24 hours if there is no negative feedback.
Please see the merge process documentation for more information about the merge process.
Thanks!

@NotMyFault NotMyFault added the ready-for-merge The PR is ready to go, and it will be merged soon if there is no negative feedback label Sep 3, 2022
@basil basil merged commit 3923e45 into jenkinsci:master Sep 4, 2022
@daniel-beck
Copy link
Member

skip-changelog?

@NotMyFault NotMyFault deleted the chore/master/svgIcon-symbol branch September 5, 2022 07:40
@timja
Copy link
Member

timja commented Sep 5, 2022

Discussed in PR, could go either way

@NotMyFault NotMyFault mentioned this pull request Sep 12, 2022
13 tasks
@@ -19,7 +19,7 @@
<j:if test="${attrs.iconSize != null}">
<j:set var="iconSize" value="icon-${iconSize}"/>
</j:if>
<l:svgIcon tooltip="${tooltip}"
<l:icon tooltip="${tooltip}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caused SECURITY-2886.

@basil basil mentioned this pull request Oct 4, 2022
14 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-merge The PR is ready to go, and it will be merged soon if there is no negative feedback rfe For changelog: Minor enhancement. use `major-rfe` for changes to be highlighted web-ui The PR includes WebUI changes which may need special expertise
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants