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

Duplicate Loading of Home Page Topics #5

Open
KUN1007 opened this issue Feb 16, 2024 · 0 comments
Open

Duplicate Loading of Home Page Topics #5

KUN1007 opened this issue Feb 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@KUN1007
Copy link
Owner

KUN1007 commented Feb 16, 2024

This is a minor issue that can be ignored because the error rate is not high. If the number of forum visitors increases in the future, certain measures will be taken.

Explanation:

The topics on the homepage are sorted based on the update time, where actions like liking or visiting a topic are considered updates.

During the process of loading new topics while scrolling down the page, the timestamp changes. If someone updates the status of a topic during this timeframe, it alters the overall sorting of topics.

So, if pagination is performed on this updated topic, the pagination result will be in the order of the latest timestamped topics. This can lead to the last few topics from the previous pagination being requested again, resulting in the rendering of duplicated topics.

@KUN1007 KUN1007 added the bug Something isn't working label Feb 16, 2024
@KUN1007 KUN1007 pinned this issue Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant