Skip to content

Fix pagination on empty timeline - #2523

Open
ivan-magda wants to merge 1 commit into
Dimillian:mainfrom
ivan-magda:fix/empty-timeline-pagination
Open

ivan-magda wants to merge 1 commit into
Dimillian:mainfrom
ivan-magda:fix/empty-timeline-pagination

Conversation

@ivan-magda

@ivan-magda ivan-magda commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #2522.

An empty timeline was still marked as having a next page, so the footer tried to load one without a status ID and showed Retry.

The next-page footer now only appears when the data source contains at least one status. The check uses the unfiltered data, so pagination still works when content filters hide the loaded posts. It also handles deleting the last status. Gap loading and request error handling stay the same.

The empty Home timeline still has no placeholder. We could use PlaceholderView to show "No posts yet", possibly with a "Find people to follow" action in a follow-up.

Before After
Empty Home timeline showing Retry Empty Home timeline after the fix

@ivan-magda ivan-magda changed the title Prevent pagination on an empty timeline Fix pagination on an empty timeline Oct 15, 2026
@ivan-magda ivan-magda changed the title Fix pagination on an empty timeline Fix pagination on empty timeline Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Empty Home timeline shows a Retry button

1 participant