-6

Could the live-updating box auto update everything? Instead of showing a box, why not:

  1. Just get the new post content, unless you're on SO

  2. Do this:

window.setInterval(function() {
   var activity = $('.new-post-activity');
   activity.click();
}, 1000);

This would auto click the box, meaning the new answers/questions/edits will show up.

NOTE: This is what I'm talking about.

4
  • What live updating? You mean the banner?
    – Tim
    Commented Aug 18, 2015 at 9:47
  • @TIm yep that one Commented Aug 18, 2015 at 9:48
  • No thanks. I don't like auto growing pages like FB Commented Aug 18, 2015 at 9:52
  • 1
    If this were to happen (which I wouldn't want!), SE would probably remove the box entirely and probably use $.get("/posts/ajax-load-realtime/{postIdsSemiColonDelimited}?title=true".formatUnicorn({ postIdsSemiColonDelimited: post.id }), refreshPost(div.find('.postcell, .answercell'), post)); as soon as it receives the WebSocket info, so they'd edit the postEdit() function to remove the box and auto-refresh the post. Commented Aug 18, 2015 at 9:55

1 Answer 1

4

I have thought of it often too, and it seems a nice feature to have. The problem is though that when you are reading the front page, it is very annoying that it constantly scrolls down to make place for the new content (this is the same for questions and answers, which could benefit from the same auto-update functionality).

I agree this issue is a lot smaller argument on low-traffic sites since the posts aren't changing that frequently, but still then I wouldn't like the page to scroll away to make place for new content.

What I would like see is that it updates posts that are already there. There is no scroll-down necessary to update the modified, answered by X, etc. which often causes the notification to appear.

3
  • If the modified timestamp was updated inline, what about reordering?
    – grg
    Commented Aug 18, 2015 at 11:33
  • 1
    No, I don't think that is good. That will still cause the reader to lose the post he was reading. Commented Aug 18, 2015 at 11:36
  • Yes apologies, that was my point; this would lead to the posts being out of order. Is that not a problem?
    – grg
    Commented Aug 18, 2015 at 11:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .