Loomio

refresh stream without refreshing page

ChrisChris Mon 29 Aug 2016 4:37PMPublicSeen 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.

Creak

CreakMon 29 Aug 2016 5:19PM

I agree!

Maybe simply clicking on the menu links (like "Stream", "My Activity", "My Aspects", etc.) would load the page asynchronously and load it without refreshing the whole page (most modern websites do that now, Deezer, Sonerezh, Google+, ...)

Also it would be nice to have an icon/button saying that there are newer posts ala Google+. I'm sure that in the end it could reduce the load on the server because the users won't hit refresh all the time and load the exact same page 9 times out of 10.

jpope

jpopeMon 29 Aug 2016 9:33PM

If you don't mind using a greasemonkey userscript, you should take a look at diaspora auto update. It will update the stream when new posts are available.

Of course, it'd be nice to have this in core but, it's certainly a viable work around for now. ;)

Chris

ChrisTue 30 Aug 2016 9:07PM

Thanks. I think that'll do in the meantime, but I'd like to see it implemented by default, and perhaps in a slightly different way.

goob

goobWed 31 Aug 2016 12:11AM

I think the base issue is that the chat session gets interrupted when a page is refreshed or the users navigates from one page to another. The proposal to auto-refresh the stream only addresses one use case of this issue.

The ideal situation would be to enable the chat pane to stay active even when the users moves from one page to another in Diaspora - for example, by clicking on a timestamp to view a post in SPV, or clicking a tag to view the tag stream, or a user profile.

Karthikeyan A K

Karthikeyan A KThu 1 Sep 2016 7:36AM

Unlike twitter I don't think we must need to scroll to top to see new posts, we must come up with UX where a person can click on a link and see new post pop up just like that.

Chris

ChrisThu 1 Sep 2016 5:32PM

Perhaps if the Stream button could have a red number in the upper-right corner, indicating that there are new posts, and if the nav bar could auto-update...

Timoses

TimosesFri 9 Sep 2016 3:58PM

^ Agreeing with Chris. Whenever an update (e.g. new message, new notification) arrives it should be indicated in the navbar. And ideally, I don't even need to refresh the page but simply click on "Notifications" in order to see the updates in there in the pop-up window.

Chris

Stream auto-update notifications

proposal by Chris Closed Sun 18 Sep 2016 3:01PM

Basically, I propose that, rather than refreshing the page to see if there are notifications, the Stream button could have a red number in the upper-right corner, indicating that there are new posts, and if the nav bar could auto-update when there are new notifications or PMs.

Results

ResultsOptionVotes% of votes cast% of eligible voters
Agree158810RavenbirdKarthikeyan A KJuan SantiagoMike PowellFrode LindeijerMichael VogelChrisStefOfficieljpopeRoland HaederRobertCreakHypolite PetovanTimosesLance Gilbert
Abstain161CSammy
Disagree161Miko
Block000 
Undecided13489Jon LemmonBenjamin KnightSean TilleyFlorian Staudachermaxwell salzbergTom ScottAlex AndrewsSleepyDaddySoftwareChris BlountHans FaseBilly O'ConnorJonne HaßDevendra MahraGiuseppe CALAMITAJeremy HuffmanJason RobinsonFlaburganmovillaErwan Guyadergroovehunter

17 of 151 votes cast (11% participation)

Hypolite Petovan

Hypolite Petovan
Agree
Sun 11 Sep 2016 4:40PM

This is a proposal easy to agree on, however the actual implementation is another story. Not sure who gets to decide development priorities, but I would say this is rather low for the ratio benefit / cost.

Creak

Creak
Agree
Sun 11 Sep 2016 6:33PM

That's a good first step, but with the chat feature on its way, we'll also face another problem: refreshing the page will also close the conversation window.

We will need to address that too at some point.

Load More