Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix WebUI pagination of following, followers, follow requests, blocks and mutes lists #13445

Merged
merged 2 commits into from
Apr 12, 2020

Conversation

ClearlyClaire
Copy link
Contributor

@ClearlyClaire ClearlyClaire commented Apr 10, 2020

The WebUI sometimes made concurrent queries to the API for the same pages, and added the duplicate results in the same lists, resulting in duplicate results as well as “mysterious gaps” when some copies of a given item are detected as hidden by the intersection observer.

This change does not perform any deduplication (that shouldn't be needed if the queries are correct), but prevents concurrent queries to the same page by using the same isLoaded mechanism as for other lists featuring pagination.

@ClearlyClaire ClearlyClaire changed the title Fix following, followers and follow requests pagination Fix WebUI pagination of following, followers, follow requests, blocks and mutes lists Apr 10, 2020
@ClearlyClaire ClearlyClaire marked this pull request as ready for review April 10, 2020 12:45
@Gargron Gargron merged commit ec31b1b into mastodon:master Apr 12, 2020
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.

2 participants