Yeah, or even the inbox in lemmy. It’s a surprisingly common thing.
Regarding your first paragraph, this results limit is per page. To get the next page, you take your timestamp of the last item and use it in from_time
, or whatever you’ve called it. It’s still a pagination technique.
Regarding custom sorting, some of the techniques in the article can do this, some of them can’t. Obviously timestamp based pagination can’t, however the ID-based pagination that I mentioned can.
This whole article was sprung from a discussion of exactly that case, because users often simply don’t delete notifications. It’s very common for users to have years of undismissed notifications stacked up under the notification bell, and it’s not a good experience to load them all at once.
Thank you! It’s lovely to hear it was helpful to someone 😊
They fixed this in version 0.19 pr #3872 (note that the cursor here is a way of hiding a post ID to continue from, as far as I can see).
Also, lame article? 😖
Not right now.