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

Switch to SVGs for most icons #393

Merged
merged 10 commits into from
Apr 19, 2021
Merged

Switch to SVGs for most icons #393

merged 10 commits into from
Apr 19, 2021

Conversation

timja
Copy link
Member

@timja timja commented Feb 21, 2021

Description

A brief summary describing the changes in this pull request. See
JENKINS-XXXXX for further information.

Light branch

image

Dark branch

image

Light repo

image

Dark repo

image

Light github logo

image

Dark github logo

image

Fixes jenkinsci/dark-theme-plugin#104

Requires jenkinsci/jenkins#5065

I've left the scm navigator icon alone, it's only used on the new job page as far as I could tell, I didn't think any of the icons I found were a good fit

Submitter checklist

  • Link to JIRA ticket in description, if appropriate.
  • Change is code complete and matches issue description
  • Automated tests have been added to exercise the changes
  • Reviewer's manual test instructions provided in PR description. See Reviewer's first task below.

Reviewer checklist

  • Run the changes and verify that the change matches the issue description
  • Reviewed the code
  • Verified that the appropriate tests have been written or valid explanation given

Documentation changes

  • Link to jenkins.io PR, or an explanation for why no doc changes are needed

Users/aliases to notify

@bitwiseman @dwnusbaum @fqueiruga

pom.xml Outdated Show resolved Hide resolved
@@ -1585,54 +1586,54 @@ public boolean test(SCMTraitDescriptor<?> scmTraitDescriptor) {

IconSet.icons.addIcon(
new Icon("icon-github-logo icon-sm",
"plugin/github-branch-source/images/16x16/github-logo.png",
Icon.ICON_SMALL_STYLE));
"plugin/github-branch-source/images/svgs/sprite-github.svg#github-logo",
Copy link
Member Author

Choose a reason for hiding this comment

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

I've left the old github-logo image file in as it's used here:

+ "/plugin/github-branch-source/images/" + size + "/github-logo.png");

I'm not aware of a way to trigger that code though

Copy link
Contributor

Choose a reason for hiding this comment

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

Could we return the same SVG regardless of size value?

Copy link
Member Author

@timja timja Feb 25, 2021

Choose a reason for hiding this comment

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

Yes we can, I'm just wary of touching UI code I can't test.

My point was I don't know if this code is possible to hit, at least on github.com

@bitwiseman
Copy link
Contributor

This looks good to me.

pom.xml Outdated Show resolved Hide resolved
pom.xml Outdated Show resolved Hide resolved
@bitwiseman
Copy link
Contributor

@timja What are we waiting on here?

@timja timja marked this pull request as ready for review April 19, 2021 20:19
@timja
Copy link
Member Author

timja commented Apr 19, 2021

nothing

@timja timja requested a review from bitwiseman April 19, 2021 20:20
@bitwiseman bitwiseman merged commit 87fe08f into jenkinsci:master Apr 19, 2021
bitwiseman added a commit that referenced this pull request May 3, 2021
This reverts commit 87fe08f, reversing
changes made to 523fad3.
bitwiseman added a commit that referenced this pull request May 7, 2021
This reverts commit 87fe08f, reversing
changes made to 523fad3.
@timja
Copy link
Member Author

timja commented Jun 4, 2021

@bitwiseman can this get re-released please?

@bitwiseman
Copy link
Contributor

@timja Updating to use the 2.289.x LTS. This means we now have three release lines. 😭

@timja timja deleted the use-svgs branch June 5, 2021 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants