Project-Chirp / chirp-frontend

Frontend of Chirp
2 stars 3 forks source link

Reply order glitch #87

Closed Dennull closed 6 months ago

Dennull commented 6 months ago

Problem:

Currently replies are sorted by likes, but when posts have the same amount of likes there's no "tiebreaker" to sort them by, so it seems as if they are ordered randomly

Image

Solution:

It was decided that we should continue sorting replies by likes then sort by timestamp (descending) after. So, if a post has the same amount of likes as another post, they will be sorted from most recent to least recent