DevCom-IITB / DevCom-IITB/instiapp-api

Reaction on Comments Doesn't Work properly as reacting on posts

Open
#512 0 comments 1 reaction 0 assignees View on GitHub
discussion DOPE-contribution effort3: high flag: breaking change priority2: important severity3: broken type: performance
Dominant language
Python
Stars
26
Forks
77
PR merge metrics
No merged PRs in 30d

Description

# How to replicate the issue on app
1. React on a comment
2. Go back from the full post view
3. Come back you will see your reaction still in the combined reactions
4. But will also see add new reaction icon instead of your reaction
5. On clicking on your previous reaction your reaction wont delete
6. To do so you have to click twice on your previous reaction
# Probable Reasons
1. Reaction by the user is not saved properly
2. The logic applied while saving isn't foolproof
# How to Solve
1. Think of a better logic to save the user reactions
2. Document that logic and also have a conversation regarding that logic with @SanskarGosavi2003 or @PalMit2002
3. Code :)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.