Githawk: Merged icon

Created on 10 Oct 2018  路  4Comments  路  Source: GitHawkApp/GitHawk

Any reason we use the pull request icon colored purple instead of the merged icon ?

Note the proper merged icon is used everywhere (PR/Labels) but inbox/bookmarks

Sent with GitHawk

馃悰 bug 馃帹 design

Most helpful comment

I鈥檒l take it

Sent with GitHawk

All 4 comments

Oh that seems like a bug. Would love a fix!

Sent with GitHawk

I鈥檒l take it

Sent with GitHawk

@rnystrom So the icon comes from an extension on NotificationType. NotificationType has PullRequest but doesn鈥檛 have the state (merged, closed..).
I could switch the extension to be on the model which has the state information but that wouldn鈥檛 work with Bookmark who鈥檚 model doesn鈥檛 have the state.

I could change NotificationType to have pullRequest and pullRequestMerged but that would mean changing v3notificationSubject since the NotificationType is made using the rawValue of V3NotificationSubject. This doesn鈥檛 feel like a great solution to me but let me know.

I could do a simple check right before getting the icon and see if the type is pull request and see if state is merged. I鈥檇 have to do some manual check by bookmark as well. This seems like a patch not a great fix.

I just want to make sure I approach it in the best way since things seem tight nit right now.

Sent with GitHawk

@rnystrom you want to keep the icon in the bookmark section as is and fix the merge icon in the inbox?
We can revisit this after the bookmark refactor.

Sent with GitHawk

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rnystrom picture rnystrom  路  3Comments

BasThomas picture BasThomas  路  3Comments

Iron-Ham picture Iron-Ham  路  3Comments

BasThomas picture BasThomas  路  3Comments

weyert picture weyert  路  3Comments