this post was submitted on 19 Jul 2023
24 points (100.0% liked)
Thunder App
2803 readers
3 users here now
An open-source, cross-platform Lemmy client for iOS and Android.
This community is intended to discuss features and feature suggestions for Thunder; as well as friendly, respectful talks about Lemmy in general.
Please use the GitHub repository linked below to submit bug reports, so keeping track of them is easier, and make sure to search first if you already can find an issue for your report.
If there are any developers who would like to contribute, feel free to reach out on GitHub!
General Links
Website: Link
GitHub Repository: Link
Matrix Space: Link
Android Releases
IzzyOnDroid: Link
Google Play: Link
iOS Releases
Apple App Store: Link
TestFlight Beta: Link
Related Communities
Nightly Community: Link
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
This was added in #281 but the code is disabled due to the API we are using missing the ability to mark comments on a post as read. Or at least, we've not found how to do it.
Lemmy does not track which comments on a post are new, only how many there are. The Lemmy webUI is just highlighting any comments that have been made in the last 10 minutes.
For the reddit website I had an user script with a slider that was using the time of the last page visit... And that you could adjust.
So maybe something similar? Like the app remembers last time a post has been visited (with some garbage collection after a while), then the user can use a slider to highlight the new comments since X time.
Also if the API provides you the number, can't you just iterate back from the latest in time and count until you reach 0?
That would be a cool way to do it actually.
I think cache the list of comments (if there's at least an unique identifier to use as reference) on viewed posts and compare to a new request could be a solution, but I don't know how the api works, so all this is assumptions on how I would handle this problem.. I think you would find a solution to this soon!