Description
This is something we've been wanting to do for awhile.
Goal: When viewing a post, display new comments as they come in on a post. The result would make comment threads slightly more lively destinations and chat-like.
Things to consider:
- we don't want the layout to shift automatically when this happens, so new comments should probably just result in an absolutely positioned button offering to display new comments in the branches where they'd appear
- perhaps not an MVP feature, but it'd be nice when a tab is left open to a post, its appearance changes when there are new comments (like how notifications add a red dot to the left corner, perhaps new comments can make the right corner blue)
- we'd prefer to attempt this by polling rather than using web sockets
- at some regular interval, you'd just query the backend for comments with a creation or update time >
last check
- it'll be paramount that this check is done efficiently
- at some regular interval, you'd just query the backend for comments with a creation or update time >