Closed kennyphan100 closed 5 months ago
I'm not sure why my branch removed some new code for the Voting functionality. Ill fix that.
I'm not sure why my branch removed some new code for the Voting functionality. I'll fix that.
It should be good now.
It hides the comment, but if there's any replies, all the replies get removed as well, because of our nested comment system. Instead, we can use a system similar to Reddit, where if a user deletes their message, the system simply displays This message has been deleted.
, and any replies are still shown (in fact, this is why isDeleted
is a boolean value for message now).
It hides the comment, but if there's any replies, all the replies get removed as well, because of our nested comment system. Instead, we can use a system similar to Reddit, where if a user deletes their message, the system simply displays
This message has been deleted.
, and any replies are still shown (in fact, this is whyisDeleted
is a boolean value for message now).
I made the changes. Let me know what you think.
Created a new Delete button to remove the unwanted messages.
This closes #548