You are browsing as a guest. Sign up (or log in) to start making projects!

Open comments for this post

2h 4m 21s logged

Comment likes and replies

  • You can now like meme comments (and comment replies since they’re counted as normal comments) by clicking on the heart icon on each comment
  • You can also see how many people liked the comment
  • When you click on the reply option on a comment, an input field for your reply and post/cancel buttons show up for you to post your reply
  • The replies show up as nested inside their parent comments to show the discussion flow, and you can technically thread replies infinite levels deep
  • Spent a ton of time trying to figure out how to generate the threaded tree structure, tried recursion and loops and ended up using hashmaps and pointers to nest parent/child comments (I was not locked in while making the algorithm because of the finals I was going to have the next day)
  • Updated schema and styling
0
8

Comments 0

No comments yet. Be the first!