This PR should do a couple things: 1) when revisiting a thread, will get the last post the user viewed and load the 20 threads closest to it in the initial view and 2) add infinite scroll going both up and down when viewing a thread's posts.
A couple of my concerns:
Infinite scroll going up is okay but doesn't feel 100% natural in this implementation IMO
Thread state is saved when new posts are fetched but not on navigation, so if a user loads all posts and scrolls up and down, it will still only load the thread on the next visit on the post that was loaded last. This didn't seem totally intuitive to me
It's still a bit of a work in progress so will continue tweaking it.
This PR should do a couple things: 1) when revisiting a thread, will get the last post the user viewed and load the 20 threads closest to it in the initial view and 2) add infinite scroll going both up and down when viewing a thread's posts.
A couple of my concerns:
It's still a bit of a work in progress so will continue tweaking it.