24
Mark new coments from last visit?
(feddit.it)
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
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.