Skip to content

Fixed bug emoji reacts on channel posts#251

Merged
filic2005 merged 3 commits intomainfrom
gc-15-emoji-reactions-allow-a-user-to-react-with-the-same-emoji
Mar 26, 2026
Merged

Fixed bug emoji reacts on channel posts#251
filic2005 merged 3 commits intomainfrom
gc-15-emoji-reactions-allow-a-user-to-react-with-the-same-emoji

Conversation

@hannahstorer
Copy link
Copy Markdown
Contributor

Added duplicate reaction guard to handleReactionToggle that makes sure that one user can't react with the same emoji multiple times.

Added invalidate so that the reactions do not disappear when the page is refreshed.

First React
Screenshot 2026-03-25 at 11 16 23 PM
After Refresh
Screenshot 2026-03-25 at 11 16 46 PM
After Clicking Emoji Icon to React Again
Screenshot 2026-03-25 at 11 16 57 PM
If you click the + button and select the same emoji, it does not remove the current reaction it just prevents a second reaction of the same emoji. If you click the emoji reaction bubble that you already reacted with, it does remove the reaction.

@linear
Copy link
Copy Markdown

linear bot commented Mar 26, 2026

Copy link
Copy Markdown
Contributor

@filic2005 filic2005 left a comment

Choose a reason for hiding this comment

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

LGTM

@filic2005 filic2005 merged commit 827f2f3 into main Mar 26, 2026
2 checks passed
@filic2005 filic2005 deleted the gc-15-emoji-reactions-allow-a-user-to-react-with-the-same-emoji branch March 26, 2026 18:03
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.

2 participants