Multi-Type Post Reactions System#72
Open
GaneshKulakarni wants to merge 3 commits into
Open
Conversation
|
@GaneshKulakarni is attempting to deploy a commit to the flashcodes-themayankjha's projects Team on Vercel. A member of the Team first needs to authorize it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📌 Overview
This PR introduces a multi-type reaction system for posts in HashTribe, replacing the previous single Like interaction with multiple expressive reactions.
The update enhances engagement and allows users to express different sentiments toward content, making the platform feel more like a modern social developer community.
Original Repository:
https://github.com/the-mayankjha/hashtribe
Updated Implementation:
https://github.com/GaneshKulakarni/hashtribe_1
❗ Previous Behavior
Previously, posts supported only a single "Like" interaction, which had several limitations:
✅ New Implementation
🎯 Multi-Type Reaction System
Posts now support multiple reactions:
⚡ Reaction Features
🧩 UI Improvements
🛠 Backend Enhancements
Updated post schema to support multiple reaction types
Stored reactions with:
userIdreactionTypeEnabled backend persistence for reaction counts
Note: Reactions currently trigger on double-click interaction to prevent accidental reactions during scrolling; this can be easily switched to single-click in future updates if required.
🧪 Testing
The feature was tested for:
🎯 Impact
This feature improves the platform by:
🔗 Related Issue
Closes #66