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

🐛 BUG: Duplicated posts after scrolling to "next page" #1586

Open
1 task done
willianba opened this issue Nov 8, 2024 · 10 comments
Open
1 task done

🐛 BUG: Duplicated posts after scrolling to "next page" #1586

willianba opened this issue Nov 8, 2024 · 10 comments

Comments

@willianba
Copy link

What went wrong? 🤔

Hey!! I already reported this long ago and now the issue's back 😭

I recorded this video to illustrate. After some time scrolling, new pages come with duplicate posts.

I wouldn't complain much, but after some time there are more duplicates than new posts.

Screen.Recording.2024-11-08.at.09.57.14.mov

Expected Behavior

No duplicates

Steps to Reproduce Issue

1. Go to Homepage
2. Scroll down until you trigger more pages
3. See the error. Duplicates will begin to show

Solution Proposed

No response

Screenshots

No response

Environment

MacOS. Arc browser.

Browsers

Other

OS

Mac

Version of daily.dev

web

Additional Context

No response

Code of Conduct

  • I follow the conditions of this project.
@idoshamun
Copy link
Member

Hi @willianba,

Duplicate posts on the feed make us cry 😢
Can you share some more info on how did it happen? Did you resize your screen? Did you wait a while before scrolling?

@willianba
Copy link
Author

Hi @willianba,

Duplicate posts on the feed make us cry 😢 Can you share some more info on how did it happen? Did you resize your screen? Did you wait a while before scrolling?

actually i don't remember. but it was during work. so i'll assume i went to daily, i read couple posts, went back to work, and after some time i went to daily again.

so yes, i waited a while before scrolling again.

@idoshamun
Copy link
Member

in this case, this could happen indeed as we expire the cache after several minutes of inactivity

@willianba
Copy link
Author

got it. but being devil's advocate here: wouldn't be better to do something when the cache is expired? the dumbest thing I can think about is automatically refreshing the page.

i know this wouldn't solve having duplicates, because the posts would be there after refreshing the page. but at least we can see something happened instead of the same posts loading again

@idoshamun
Copy link
Member

you're right and we should consider a better solution for that

@willianba
Copy link
Author

great. thanks for the explanation @idoshamun! would you like me to keep the issue open so you can continue the discussion there?

@idoshamun
Copy link
Member

yap let's keep it open

@hareland
Copy link

hareland commented Nov 19, 2024

I am also experiencing this, but on a way more annoying scale: The same posts repeat every 2-3 rows up to 4 times per post on 15 rows.
It is not only a single post, but multiple, and the issue persist across reloads / cache clear.

Please see attached screenshot, i have zoomed out after the fact to show the posts in question.
image

@idoshamun
Copy link
Member

@hareland We recently deployed a new feed version that introduced this issue.
We're actively working on fixing it

@idoshamun
Copy link
Member

@hareland it should be fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants