Skip to content

Rename icon assets #465

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

Merged
merged 4 commits into from
Sep 1, 2020
Merged

Rename icon assets #465

merged 4 commits into from
Sep 1, 2020

Conversation

BenJetson
Copy link
Contributor

Greetings, Octicons maintainers!

I was writing a small library that uses Octicons today and noticed a couple of small problems with your file names.

Firstly, I corrected this typo: unverifed-24.svgunverified-24.svg.
Secondly, I renamed file-symlink-24.svgfile-symlink-file-24.svg.

The goal of the second rename is to make the names more consistent. The smaller asset was already named file-symlink-file-16.svg and the entry in keywords.json is for file-symlink-file.

Let me know if I need to update these names elsewhere in the repository. I did a global search and didn't see any references, so I think the rename is sufficient.

Cheers,
Ben

@vercel
Copy link

vercel bot commented Jul 13, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/primer/octicons/je1ft2ymz
✅ Preview: https://octicons-git-fork-benjetson-master.primer.vercel.app

@vercel vercel bot temporarily deployed to Preview July 13, 2020 00:03 Inactive
@vercel vercel bot temporarily deployed to Preview July 13, 2020 03:59 Inactive
@BenJetson
Copy link
Contributor Author

Hi all, I have just updated this PR with changes for a couple of other icons that had inconsistent names.

fire-24.svgflame-24.svg
eye-slash-24.svgeye-closed-24.svg

Both of these now match the name in keywords.json.

However, I would note that eye-slash would probably be a better name for that icon, given that others like it use that convention (for example bell-slash, bookmark-slash, and circle-slash). I'd be interested in hearing your thoughts about this.

Best,
Ben

Copy link
Contributor

@colebemis colebemis left a comment

Choose a reason for hiding this comment

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

Thanks for fixing these names, @BenJetson! 🙇


@ashygee I'd call this a patch release even though renaming icons is technically a breaking change. I consider these name changes to be bug fixes. However, if someone feels strongly about this being a major release, I could be convinced (cc @joelhawksley).

When we release this, we will have to update one usage of unverifed (typo) in dotcom: https://github.com/github/github/blob/master/app/views/businesses/security_settings/team_sync/_settings_unsupported.html.erb#L3

@joelhawksley
Copy link
Contributor

@colebemis this should be a major release, due to the breaking API changes 👍

@colebemis colebemis changed the base branch from master to release-11.0.0 September 1, 2020 17:07
@colebemis colebemis merged commit 150d490 into primer:release-11.0.0 Sep 1, 2020
@colebemis colebemis mentioned this pull request Sep 1, 2020
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants