New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto scroll to first unread post #1064
Comments
Sounds good and would be UX friendly as well in most cases so I agree with Not sure on a priority level for this here - if at all, but hopefully it would be considered. On Wed, Feb 19, 2014 at 11:34 PM, Brian notifications@github.com wrote:
|
@barisusakli recently pushed a pretty cool update for reverse-infinite-scrolling a few days ago, clear cache and check this link out: http://community.nodebb.org/topic/302/the-unlimited-thread#5723 closing - but pls re-open if I misinterpreted or this feature doesn't meet expectations :) |
Cool! Actually I was thinking of suggesting that "back loading" feature, where if you scroll up, it will load comments from above, but thought that this was enough for one issue. |
We actually do keep track of the last post you visited (I hope! Maybe your browser is messing up on us!) Let's give it a shot. Visit this link first, and then close the tab and then visit this link: if all goes well, you should be forwarded to post id 5723, because this is the last post NodeBB saw you scroll to :) |
Ok, so it looks like it kinda works... but kind of in a different way; I On Wed, Feb 19, 2014 at 11:18 PM, psychobunny notifications@github.comwrote:
-Brian |
Yup, definitely browser. uses LocalStorage. Plus side is that it doesn't use any unnecessary DB space, but on the other hand I can see someone QQ'ing about reading something on their desktop and not being able to continue on their mobile. @barisusakli what do you think?
haha I guess the code is being "too smart". Maybe it should just remember the most recent post you've saw as opposed to the last post you saw. Thanks for the comments btw @bdharrington7 |
Yeah no problem, just trying to help :) fwiw would it really be that much more space in the DB? The number of entries to store that information (position per user per thread) would only be users*threads and that's only if every user reads every thread... It would typically be much less. I don't know how optimized redis is but if each entry was a couple bytes, you would use ~2mb for 1000 users reading all 1000 threads. -Brian
|
No no I agree with you 100%, the convinience of being able to continue a thread on a diff device far outweighs whatever extra data we store in DB. Paging the expert on this one @barisusakli |
ah, we can also throw an expiry on the key as well, so lets say after a month, we can expire the key and forget about it (at that point, who cares anymore) |
That's a good idea, but it would be nice to have that as an option to On Thu, Feb 20, 2014 at 12:48 AM, psychobunny notifications@github.comwrote:
-Brian |
... or, start loading from first unread. In most forums, threads tend to get very long, so not having to scroll through all the posts you have read (for the 10th time) would be extremely user friendly
The text was updated successfully, but these errors were encountered: