-
Notifications
You must be signed in to change notification settings - Fork 414
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
Comments Pagination #6390
Comments Pagination #6390
Conversation
19cd6a9
to
4ec3aae
Compare
4ec3aae
to
c724186
Compare
c724186
to
7fb29c3
Compare
7fb29c3
to
6c80acd
Compare
https://kp.odysee.com/@Odysee:8?view=discussion is a good large discussion to test on. Some findings:
Other feedback Seems pretty solid otherwise, even on mobile! |
## Issue 6158 - Support Comment Pagination
Can be removed when bugs are fixed, but would still work if left there.
Seeing the spinner too much can be annoying. - This approach works, but currently, when the list is very long, something is taking up resources and the handler couldn't be processed, so the effect is lost (still seeing the spinner). See 6473. - Since we are now prefetching, bumped the debounceMs a bit.
It was previously only responding to scroll events.
6c80acd
to
4731588
Compare
Update
Test instance updated as well. Pending
Asking Mark if it's possible for |
## Issue - `Comment.replies` currently represent all replies, while `comment.List` returns a filtered version, so the actual replies could be less. - The actual replies is represented by `total_filtered_items`, but we only get that after making a fetch. So, users could click "Show more" but get nothing. ## Fix - Stop showing "Show more" based on `total_filtered_items`. - If there is a balance, display 1 dummy comment to represent all blocked replies. This handles the case of "Show more" being displayed but ended up with 0 replies if all replies were blocked. ## Future Note that `Comment.replies` might be changed to represented filtered comments in the near future (refer to Beamer), so the GUI is made such that the dummy just won't appear when that change happens.
Status
Known issues
Pinned comments is broken.FixedLinked comments doesn't work right if nested or yet to be fetched.FixedRough summary of changes
Issue
Closes #6158 - Support Comment Pagination