refresh stream without refreshing page
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.
Timoses
Sun 11 Sep 2016 8:02PM
I think the navbar notification button already does refresh without complete site refresh when clicking on it (opens refreshed pop-up window). Alongside live update with number of updates indicated = sounds perfecto.
StefOfficiel
Sun 11 Sep 2016 10:20PM
D* need many modernity!
Roland Haeder
Mon 12 Sep 2016 9:52AM
This surely requires some 3rd-party software like meteor.
Karthikeyan A K
Mon 12 Sep 2016 11:24AM
This will make user experience better
Lance Gilbert
Wed 14 Sep 2016 11:42PM
This would be great, especially for chat. That said, it's easier said than done. Our pod works around it by forcing jsxc presence to 'Online' whenever the page is loaded. Next we will try to persist the most recent presence and set it after page load
jpope
Thu 15 Sep 2016 1:10AM
I'm going to agree but, only having the navbar update only partially solves the issue. The new posts need to populate within the stream as well without refreshing the page (or opening it up elsewhere).
Juan Santiago
Sat 17 Sep 2016 2:56PM
genial para vagos!!! :)
Frode Lindeijer
Sat 17 Sep 2016 4:01PM
:frog:
CSammy
Sat 17 Sep 2016 11:59PM
There is no need to vote on this subject. It is a desired feature which does not have the "needs loomio" tag on the github issue. If you want this feature badly, you may implement it and are welcome to do so, as nobody else could afford the time yet.
Miko
Sun 18 Sep 2016 1:25PM
I'd open the pod in a new tab to refresh, if not wanting to interrupt anything in the stream.
There s several possibilities to keep one session going on and still be doing sth "else", so don't really see the need.
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?
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.
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.
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.
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.
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.
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.