tuskyapp / Tusky

An Android client for the microblogging server Mastodon
https://tusky.app
GNU General Public License v3.0
2.47k stars 391 forks source link

[FR] Disable infinite scroll #2471

Open Doomsdayrs opened 2 years ago

Doomsdayrs commented 2 years ago

Infinite scroll is known to be bad for ment health etc.

Add an option under wellbeing to disable infinite scroll.

Gryzor commented 2 years ago

I'm curious, (I think it's a nice idea) but what would be the alternative? Scroll N number of times? N number of posts? N number of minutes?

Doomsdayrs commented 2 years ago

I'm curious, (I think it's a nice idea) but what would be the alternative? Scroll N number of times? N number of posts? N number of minutes?

It depends on what is easier and what the community wants.

I believe the easiest to code is to limit the scroll to N# of appends. With each append requiring you to press a button to load more in.

N# of minutes is more of an overall usage consideration, and can be implemented separately.

N# of posts would be harder to implement because you would have to count visible items on the screen.

charlag commented 2 years ago

Mastodon already only keeps 400 latest posts in home timeline. Does it really make sense for us to invent something else?

Doomsdayrs commented 2 years ago

Mastodon already only keeps 400 latest posts in home timeline. Does it really make sense for us to invent something else?

That is such an absurd amount of posts considering you only see 3-5 per screen at a time.

Yes it makes sense to limit it or make it difficult to go through 400 (outside of an "infinite" scroll).

charlag commented 2 years ago

@Doomsdayrs does it help that there's "load more" button (if you see it at all)? I think "infinite scroll" is usually when next pages are loaded automatically