9
submitted 9 months ago by vamp07@lemm.ee to c/mlemapp@lemmy.ml

If I want to hide read posts, what causes something to be read? It does not seem to be just scrolling by it as in other similar apps.

top 5 comments
sorted by: hot top controversial new old
[-] ericbandrews@lemmy.ml 8 points 9 months ago

Posts are marked as read when you interact with them (vote/save/reply/etc) or tap them to view the comments.

We have an issue open for marking read on scroll. The trouble with that feature is that the API only supports marking a single post as read at a time, so we either have to fake it locally or spam the API. The former is problematic because it either introduces what amounts to a memory leak as we track every read post or results in posts being displayed as read and then popping back up when the cache evicts that info. The latter is obviously unacceptable and constitutes extremely poor API citizenship.

We're currently working with the Lemmy devs to get a batch mark read endpoint, which will let us implement this feature without either of those problems.

[-] vamp07@lemm.ee 2 points 9 months ago

Oh, that would explain why other apps such as Bean and Avery become unresponsive if I scroll a lot of unread posts. Thanks for the detailed explanation. I would have no problem with implementing this locally until lemmy has a solution at the API level. If those read marks could be in iCloud, that would be a bonus.

[-] sjmarf@sh.itjust.works 1 points 9 months ago

We’re hoping that Lemmy will add a way to mark posts as read in batches - this would mean that we could locally store ~50 posts as being read at a time, then notify Lemmy of those changes with a single request. This would be the ideal solution for us, and we’re working with the Lemmy devs to make this happen.

Storing read posts entirely locally would certainly be possible, but doing it well would take up a significant amount of our development time. We are currently prioritising other highly-requested changes (supporting Lemmy v0.19.0, image uploading, and a better search tab to name a few) in the next few updates whilst we work things out with Lemmy :)

[-] gregorum@lemm.ee 1 points 9 months ago

Also, can we get an option to “mark read on scroll” please? Thanks that would be super helpful!

[-] vamp07@lemm.ee 3 points 9 months ago

Yes not seeing read seems pointless without this option.

this post was submitted on 28 Sep 2023
9 points (90.9% liked)

Mlem for Lemmy

5379 readers
2 users here now

Official community for Mlem, a free and open-source iOS Lemmy client.

Rules

  1. Keep it civil.
  2. This is a forum for discussion about Mlem. We welcome a degree of general chatter, but anything not related to Mlem may be removed at moderator discretion. This is not a forum for iPhone/Android debate. Posts and comments saying nothing but "iOS bad/I use Android" will be removed as off-topic.
  3. We welcome constructive criticism, but ask that it be both precise and polite.

FAQ

Download Mlem for iOS

GitHub

Website

Donate to Mlem

founded 1 year ago
MODERATORS