Page MenuHomePhabricator

Flow shows new messages only after I reload the page
Open, MediumPublic

Description

I think Flow should query the server every few seconds or minutes and show new messages on a page I opened, without me having to reload it.


(from merged task)
When a user posts a message on a Flow board and goes to the previous page, the message appears to be lost (page is not reloaded).
The same when a message is posted on a Topic and when you go back to the Board.

Also see this screencast.

Idem after posting a message: if post a message, go to an other page and then go back to the Flow board, the message you have posted is not visible.

Details

Reference
bz61086

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:52 AM
bzimport set Reference to bz61086.
bzimport added a subscriber: Unknown Object (MLST).

The ability to show real-time updates to Flow conversations is definitely on our roadmap, but the functionality to do this will need to be added to mediawiki core, as it doesn't currently exist in any WMF software.

There are two different ways this could be achieved. The first, which is possible right now, would just be to query the server after a certain interval, maybe 60 seconds. This wastes resources and isn't nice to the server either.

The second is to use real time updates, probably sent using websockets. [[mw:Requests_for_comment/Publishing_the_RecentChanges_feed#websockets]] has some relevant info about that. It was informally discussed at the Architecture Summit, but I haven't had time to follow up on it.