Githawk: Tap reaction to +1 and the use menu for same emoji lets you react twice

Created on 5 Oct 2017  路  7Comments  路  Source: GitHawkApp/GitHawk

API figures this out and negates the second, but our UI +1s twice which is wrong.


Bug Report Dump (Auto-generated)

Version 1.11.0 (1943)
Device: iPhone 7 Plus (iOS 11.0.1)
TestFlight: false

馃悰 bug

Most helpful comment

All the reactions visible looks super sloppy. Puts more strain on you to find what is the most popular reaction, etc. Im also trying to keep GitHawk鈥檚 UI consistent with GitHub so you don鈥檛 have to learn new behaviors.

Sent with GitHawk

All 7 comments

Uh-oh.

Should it noop or remove the +1?

Good question. I think no-op since the menu is sort of an additive action.

Sent with GitHawk

https://github.com/rnystrom/GitHawk/blob/a904020a1c2c7a2b2d1d233451be60cc418d92d2/Classes/Issues/Comments/Reactions/IssueCommentReactionCell.swift#L102

Could we just not add items to the action array if it already exists in the tray? Keep it as a purely "add a new reaction"?

Out of curiosity what's stopping us from just having all of the reactions visible but with the label at 0 and slightly faded? 馃

Additionally the desktop UI just removes the +1 if you already have it selected. Similar problem? Same solution?

Maybe better still:

https://github.com/rnystrom/GitHawk/blob/a904020a1c2c7a2b2d1d233451be60cc418d92d2/Classes/Issues/Comments/Reactions/IssueCommentReactionCell.swift#L117-L125

We could return false here if the user has already selected it, this essentially disables the button but keeps it visible?

All the reactions visible looks super sloppy. Puts more strain on you to find what is the most popular reaction, etc. Im also trying to keep GitHawk鈥檚 UI consistent with GitHub so you don鈥檛 have to learn new behaviors.

Sent with GitHawk

You can even get up to 1000 reactions atm if you want 馃榿

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rnystrom picture rnystrom  路  3Comments

BasThomas picture BasThomas  路  3Comments

BasThomas picture BasThomas  路  3Comments

BasThomas picture BasThomas  路  3Comments

viktorgardart picture viktorgardart  路  3Comments