Loomio

refresh stream without refreshing page

C Chris Public Seen by 97

As so often happens to me, this has probably been discussed already, and I am unknowingly kicking a dead horse. If this is the case, just point me in the direction of previous conversation and we can stop wasting our time.

TO THE POINT!

Now that chat has been mainlined pretty hard, it might be time to figure out a way to keep a chat session going, i.e. keep from logging out of the XMPP server when refreshing the stream.

Could there be a way to refresh the stream without refreshing the page? I'm thinking of a refresh button somewhere.

MV

Michael Vogel Sun 11 Sep 2016 4:09PM

In Friendica we have implemented this in two ways. At first we show a number of new posts at the top of the page (in the style of the notifications) that is constantly updated so that people always see if there is something new. @chris26 In Friendica it is mostly like you said.

Additionally we do an automatic refresh if the person is at the very top of the page and hadn't scrolled down a little bit. This refresh can be turned of by the users since there are mixed feelings about this feature.

C

Chris Sun 11 Sep 2016 8:22PM

@timoses , you're right. The list itself does update. Just need the number.

I feel like someone might bring up the issue of server load. Anyone care to shed light on that subject in regards to this proposal?

KAK

Karthikeyan A K Mon 12 Sep 2016 11:26AM

If grease monkey plugin can do it without meteor, we can use the same Ruby on Rails platform to do it.

RH

Roland Haeder Mon 12 Sep 2016 12:58PM

This requires users to have an addon installed in their browser. For example GNUSocial does not require this from users.

G

goob Thu 15 Sep 2016 1:05PM

I don't think there needs to be any vote on whether to enable some means of updating content on the page (posts, notifications, etc) without refreshing the entire page, as this is not a controversial issue - probably everyone wants it.

The issue is how best to implement it technically. We can certainly discuss that here, or contribute technical solutions to the existing GitHub ticket for this feature.

R

Ravenbird Sun 18 Sep 2016 5:53AM

@CSammy: That is the reason why I hardly don't use Loomio in matters of Diaspora. To discuss here is in most cases no more than a sham fight with no real impact.

C

CSammy Mon 19 Sep 2016 10:33AM

To clarify my vote: goob did a good job at explaining it over there, thank you goob.

As for technical reasons why this is wanted (among others): A background request to update the stream is a lot less traffic and computing time intensive than to refresh the entire page. The chat argument is a valid point as well, though there is more to that.