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] Profile screens only load 3 posts #1192

Open
setch-l opened this issue May 24, 2024 · 1 comment
Open

[Bug] Profile screens only load 3 posts #1192

setch-l opened this issue May 24, 2024 · 1 comment
Assignees
Labels
bug Something isn't working regression A bug that was fixed in a previously released version

Comments

@setch-l
Copy link

setch-l commented May 24, 2024

Steps to reproduce: Build 290 or 297

  1. Open Nos on a mac

  2. Search for Meredith Whittaker npub15s3hussvmv9nyvw3w8lg0x72udazmdat7tcj5vmmjafnwcvv8tpqzz6r6y
    Issue: only her 3 most recent posts load.

  3. Open Nos on a mac

  4. Search for We Distribute

  5. Scan their list of profile posts for the one they wrote about Nostr
    Issue: only the three most recent posts load.

  6. Pull to refresh looks like it is doing soemthing but then older posts do not load.

Expected: If I pull to refresh the page then the app so go grab more posts on the network.

@setch-l setch-l added bug Something isn't working regression A bug that was fixed in a previously released version labels May 24, 2024
@mplorentz
Copy link
Member

This bug happens if the user posts 20 replies (or deletes) in a row without publishing a new root note. The problem is that the PagedRelaySubscription won't be told to load the next page because no cells were added to the PagedNoteDataSource from the previous page when the "Notes" tab is selected on the profile screen. A workaround is to select the "Activity" tab - it pages fine.

I'm working on a fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working regression A bug that was fixed in a previously released version
Projects
Status: QA
Development

No branches or pull requests

2 participants