this post was submitted on 27 Jan 2026
7 points (100.0% liked)

Mlem for Lemmy

6784 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 2 years ago
MODERATORS
 

So when scrolling my feed I can see the total comments and total new comments, for example 27 +19 (where the +19 is in green). Would it be possible to have those 19 new comments “marked” in some way so I can quickly scroll and identify them? Wouldn’t have to be flashy, maybe even just a green dot or something next to the commenter’s username, or some sort of different binding/italicizing to highlight it?

TIA!

you are viewing a single comment's thread
view the rest of the comments
[–] wjs018@piefed.social 5 points 1 month ago (1 children)

@blaze@piefed.zip has been asking for this feature for ages and @Skavau@piefed.social made an issue for it on the codeberg already. The reason this isn't in the api yet is because it isn't anywhere in piefed yet. AFAIK, the read/unread status of comments isn't currently tracked anywhere within piefed. Additionally, for this feature, I don't believe we track the timestamp at which you do interact with a post...so doing something like calculating the number of new comments that have occurred since you last opened that post isn't possible...yet.

I don't have a great idea of how to do this in a db-efficient way. Keeping track of when every user opens each post sounds like db-query hell. However, there might be clever caching tricks to make it a bit less computationally intense. @rimu@piefed.social would likely have a better idea of how to do this.

[–] sjmarf@lemmy.ml 2 points 1 month ago* (last edited 1 month ago)

Thanks for the info :) Lemmy 1.0 tracks a readAt timestamp; maybe it's worth looking at how they're doing it.