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

Use the GitHub logo instead of other icons #706

Merged
merged 5 commits into from
Mar 11, 2024

Conversation

janfaracik
Copy link
Contributor

Description

Small change to use the GitHub logo (as a Jenkins Symbol) for sidebar actions. IMO using the one icon verses the couple currently in use makes it more consistent and understandable what the link does at a glance.

Before
image

After
image

(Pardon the screenshot quality)

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

@NotMyFault
Copy link
Member

The GH logo is available in the ionicons API too, isn't it?

@NotMyFault NotMyFault requested a review from a team July 1, 2023 13:52
Copy link
Member

@jtnord jtnord left a comment

Choose a reason for hiding this comment

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

do we have written approval to do this?

https://github.com/logos

Do not use GitHub trademarks, logos, or artwork without GitHub’s prior written permission.

IANAL - but the do not contradicts the Do.

Also how does this look in the dark theme - as we explicitly can not change the colours (which inverting in the dark theme would do IIUC).

@jtnord jtnord requested a review from a team July 3, 2023 08:29
@jtnord
Copy link
Member

jtnord commented Jul 3, 2023

Small change to use the GitHub logo (as a Jenkins Symbol) for sidebar actions.

This also incorrectly (IMO) changes the logo used in the title of the project - it should only (if approved by GitHub) be used in the sidebar link)

image

@jtnord
Copy link
Member

jtnord commented Jul 3, 2023

FTR - inverted colours dark theme

image

@NotMyFault
Copy link
Member

https://github.com/logos

The icon is part of the icon set named "ionicons" (https://ionic.io/ionicons) licensed under MIT.

@jtnord
Copy link
Member

jtnord commented Jul 3, 2023

The icon is part of the icon set named "ionicons" (https://ionic.io/ionicons) licensed under MIT.

it is a trademark of GitHub and as such trademark rights apply - we do not care about the licence of the actual vector for this discussion. (the licence is just can we embed this icon - and it has no bearing on if we can actually use it or not - which is trademark law)

@jtnord
Copy link
Member

jtnord commented Jul 3, 2023

https://support.github.com/ticket/personal/0/2234467 created to seek approval from GitHub for the use (which is both allowed and not allowed at the same time) but also for inverting for the dark theme which is not allowed.

@jtnord
Copy link
Member

jtnord commented Jul 3, 2023

GitHub responded - as there are 2 logos in their download (mark and mark-white) - we would be okay for the dark them as long as we are using those colours.

I still beleive we need to revert the icon change for the display of the project name - which seems unintentional based on the PR description and also does not appear to correspond to the usage requirements.

@janfaracik
Copy link
Contributor Author

GitHub responded - as there are 2 logos in their download (mark and mark-white) - we would be okay for the dark them as long as we are using those colours.

I still beleive we need to revert the icon change for the display of the project name - which seems unintentional based on the PR description and also does not appear to correspond to the usage requirements.

I've updated the PR to align with this - pipelines will now use their original folder icon rather than the GitHub logo. Thanks

@jglick jglick requested a review from jtnord March 11, 2024 17:43
@jtnord jtnord merged commit a153cda into jenkinsci:master Mar 11, 2024
14 checks passed
@janfaracik janfaracik deleted the use-github-logo branch March 11, 2024 20:01
@puetzk
Copy link

puetzk commented Mar 21, 2024

Just to make the error message more searchable: this change (seemingly quite intentionally) results in the "Manage Old Data" tab showing lots of warning messages

CannotResolveClassException: iconClassName

For data in config.xml which previously looked like

          <org.jenkinsci.plugins.github__branch__source.GitHubLink plugin="github-branch-source@1767.va_7d01ea_c7256">
            <iconClassName>icon-github-branch</iconClassName>
            <url>https://...</url>
          </org.jenkinsci.plugins.github__branch__source.GitHubLink>

Because these icon-github-logo and icon-github-branch classes were indeed removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants