Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Add-on: Live refreshing discussion list
This discussion has been closed.
Comments
if vanilla would have a state of the art js library included by default like jquery or prototype, all the live checks and refreshes should be done within some hours of work...
Edit: I could make this a two-part add-on. One part would deal with the main discussions page and just perform a normal update. There's enough indication of new comments in a discussion to simply simulate a page refresh.
On the comments page I quite like the rainbow effect. If it's added by javascript then it will automatically disappear on a discussion refresh. As for pagination, new comments will be visually just added to the bottom if you're on the last page. If you refresh it will be paginated as normal. If you're not on the first page then if a new comment's added, the pagination links at the bottom would be somehow highlighted and a hint would appear with the amount of comments that have been added so far.
I will try to send the minimum amount of data via Ajax to reduce server overhead. What do people think is an appropriate update time? 2 minutes? Anything less would make it into a chat rather than a forum.
I would definitely use such an addon. Could the update time be configurable?
Surely, if you are expecting a reply, you would get on with your life then check back every so often.
Then there's the danger of walking away and leaving it to eat up your monthly bandwidth allowance!
Just wondering out loud as I do a lot.
That way, the feature would only get used by the users who want it, and only during the times when those users want it. Users don't need it running 24/7. They don't need it running if they're only doing a quickie 5-minute forum check on their work break. If it's on by default, lazy users won't bother to turn it off, and if it's persistent, neither would they turn it off after turning it on.
I know it would be a little annoying to have to turn it on every time you log in, but considering the potentially heavy server strain this extension could cause, it sounds like a good compromise between users & admins.