discuitnet / discuit

A free and open-source community discussion platform.
https://discuit.net
GNU Affero General Public License v3.0
426 stars 51 forks source link

Highlight all new comments after clicking on reply notification #94

Open previnder opened 6 months ago

previnder commented 6 months ago

Currently, if the reply notification says there are multiple new replies to the post or comment, when the user clicks on the notification and goes to the post page, none of the new comments are highlighted, making it difficult, especially with posts with many existing comments, to see which ones are the new ones.

These new comments should all be highlighted. To select the set of new comments to be highlighted, only two timestamps—one, when the first reply was created, and the other, when the last was created—would suffice.

reallytiredofclowns commented 6 months ago

I would extend this to any authenticated user who revisits a thread. One of the old Reddit Gold functions was to automatically highlight new comments in a visited post (whether I was the original poster or not), and it was extremely useful. Reddit Enhancement Suite also highlights in the feed the number of new comments, which is nice.

res