You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add an optional indicator to the post view to tell the user if the post has new comments since they last viewed it.
Backend:
It looks like the API has something approaching support for this--read_post performs a count of the comments at the time of read. If we can get that information when we fetch a post, we could use in the obvious manner to determine if there are new comments.
Frontend:
Replace the standard comment indicator with text.bubble when there are new replies
Ideally we could then highlight the comments themselves. It may be necessary to perform client-side caching of read comments, which shouldn't be too expensive--all we'd need to store is the id, which is only a few bytes.
The text was updated successfully, but these errors were encountered:
Add an optional indicator to the post view to tell the user if the post has new comments since they last viewed it.
Backend:
It looks like the API has something approaching support for this--
read_post
performs a count of the comments at the time of read. If we can get that information when we fetch a post, we could use in the obvious manner to determine if there are new comments.Frontend:
Replace the standard comment indicator with
text.bubble
when there are new repliesIdeally we could then highlight the comments themselves. It may be necessary to perform client-side caching of read comments, which shouldn't be too expensive--all we'd need to store is the
id
, which is only a few bytes.The text was updated successfully, but these errors were encountered: