GithubHelp home page GithubHelp logo

Comments (5)

Xyphyn avatar Xyphyn commented on August 19, 2024

I want the cohesion model of the feeds not to be based on the order you opened things in, so I won't refresh on the click of the photon logo.

If you want, I can add a scroll to top button and a refresh button at the top.

from photon.

DarkArc avatar DarkArc commented on August 19, 2024

I want the cohesion model of the feeds not to be based on the order you opened things in, so I won't refresh on the click of the photon logo.

I see, you can press that as a sort of "go back" button from a post and not lose your spot. I never thought to try that.

If you want, I can add a scroll to top button and a refresh button at the top.

I think this would be the best solution with your design goals. Maybe just an outright button right aligned in this area on the same row as the sort options?

image

from photon.

DarkArc avatar DarkArc commented on August 19, 2024

I am going to add ... I think the decision here leads to some (perhaps undesirable affects).

For instance, consider account switching. I think it makes a lot of sense to be able to stay on the same post while switching accounts (I actually find that really handy).

However, when you're on the home feed, and you switch between accounts ... you have the feed of the previous user but any new data is fetched as-if by the new user. So it's kind of a franken feed. Then, if you run out of content (e.g., from an account that's not following anything) and switch back, you're just "out of content".

So, even if you don't add "clicking the same thing you're already on refresh it" behavior, some amount of contextual refreshing might be beneficial.

from photon.

Xyphyn avatar Xyphyn commented on August 19, 2024

The feed should refresh automatically if the user's instance changes

from photon.

DarkArc avatar DarkArc commented on August 19, 2024

The feed should refresh automatically if the user's instance changes

In the case of switching instances ... the home feed is definitely broken (without content being reloaded in some way -- glad to hear that does trigger a refresh!). However, even switching users on the same instance can result in the above "feed stops loading properly" behavior (I actually encountered this from two users on the same instance, my main account and a bot account I check the inbox on).

from photon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.