Skip to content

feat: better notification type icons #748

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 2 commits into from
Feb 13, 2024
Merged

Conversation

adufr
Copy link
Contributor

@adufr adufr commented Feb 9, 2024

Context

Make Gitify icons match Github icons

Discussion

I had to pass the state parameter to getNotificationTypeIcon because I needed this context to find the correct icon. I made it optional because it felt more accurate.

I tried to find all different states/icons but I might be missing some; if so, I default to the original icon, so there shouldn't be any regression

Before / After example

Before:
image

After:
image

Copy link
Member

@afonsojramos afonsojramos left a comment

Choose a reason for hiding this comment

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

Pretty good and harmless PR, thanks! You touch on a good point though. I think we could probably have some regression testing with https://github.com/lost-pixel/lost-pixel

@bmulholland
Copy link
Collaborator

There are snapshots from the unit tests, but I guess that's code-only

@afonsojramos afonsojramos merged commit 3dc0a95 into gitify-app:main Feb 13, 2024
@setchy setchy added the enhancement New feature or enhancement to existing functionality label Mar 27, 2024
@setchy setchy added this to the Release 5.0.0 milestone Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or enhancement to existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants