googleinterns / step1-2020

Apache License 2.0
2 stars 4 forks source link

Implement Feedback Servlet #64

Closed kaylaleung closed 4 years ago

kaylaleung commented 4 years ago

Notes:

irisliu77 commented 4 years ago

if we only wants total votes in the frontend, i think we can only keep one totalvotes field

kaylaleung commented 4 years ago

if we only wants total votes in the frontend, i think we can only keep one totalvotes field

Yeah, for this PR, having multiple fields to track upvote and downvote isn't absolutely necessary, but the idea is that the list of upvotes and downvotes will be helpful in the future if we're tracking the list of people who have already upvoted vs downvoted and prevent toggling multiple times