MbinOrg / mbin

Mbin: a federated content aggregator, voting, discussion and microblogging platform (By the community, for the community)
https://joinmbin.org
GNU Affero General Public License v3.0
167 stars 17 forks source link

Profile overview infinite scroll not working #866

Open BentiGorlich opened 1 week ago

BentiGorlich commented 1 week ago

Describe the bug When you have infinite scroll enabled and go to a profile that has too many posts for one page the infinite scroll will not work when going to the end of the page

On which Mbin instance did you find the bug? [gehirneimer.de]

Which Mbin version was running on the instance? [1.6.0 ~ f37b5968a3df9ab98e40c02a0b0b8803aaba9ae2]

To Reproduce Steps to reproduce the behavior:

  1. Enable infinite scroll
  2. Go to an active profile
  3. Scroll down to the end of the page
  4. Pagination pops up, but not more results

Expected behavior It should add the next posts down there

e-five256 commented 1 week ago

I have another branch like my search infinite PR #770 one here https://github.com/MbinOrg/mbin/tree/e5/user-infinite which started this work (only on overview page atm)

But I can't seem to figure out on either one why results don't appear. If I look at the AJAX response, the results are right there in between entries, but on the actual page they aren't appearing, it'll be sparse where some are missing, and I haven't been able to figure out why yet

Edit: I think it's clearly comments that aren't showing. This is viewing user1's profile that comments on some admin entries, and the comments aren't shown, only the entry is that they posted on

non-infinite results infinite results
image image

I'm just confused as to how this same template can render comments when not infinite scroll but fails when infinite

Edit: But post comments appear to work with infinite scrolling on tag pages :thinking: and once again the same template