Skip to content

feat: implement reaction picker with emoji-only popup#75

Merged
dizzpy merged 2 commits intodizzpy:mainfrom
mrakiyaaa:main
Apr 12, 2025
Merged

feat: implement reaction picker with emoji-only popup#75
dizzpy merged 2 commits intodizzpy:mainfrom
mrakiyaaa:main

Conversation

@mrakiyaaa
Copy link
Collaborator

Summary

Implemented post reactions in the feed:

  • Clicking the Like button now shows a popup with 6 emojis.
  • Users can select one emoji to react to the post.
  • The selected emoji is shown next to the like count below the post.
  • Reaction counts are stored in MongoDB and synced to frontend.
  • Reaction popup now hides all numbers for a cleaner UI (emoji-only).

Improvements

  • Reactions persist after refresh.
  • Current user's selected reaction is visually highlighted.
  • Reaction count is calculated dynamically.
  • Updated Poster.jsx and API config accordingly.

Screenshot

Screenshot 2025-04-12 141235

Closes #<issue_number_if_any>

@mrakiyaaa mrakiyaaa added the feat add new feature label Apr 12, 2025
@mrakiyaaa mrakiyaaa requested a review from dizzpy April 12, 2025 08:44
@vercel
Copy link

vercel bot commented Apr 12, 2025

@mrakiyaaa is attempting to deploy a commit to the dizzpy's projects Team on Vercel.

A member of the Team first needs to authorize it.

@dizzpy dizzpy merged commit d6fb75e into dizzpy:main Apr 12, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat add new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants