It’s something I’m missing in all the apps I’ve tried so far, but it would be cool to be able to quickly see the new coments since last visit on a post.

I guess using different background would be enough and maybe provide a way to navigate between them.

  • MentalEdge@sopuli.xyz
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    1 year ago

    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.

    • 3v1n0@feddit.itOP
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      1 year ago

      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?

    • P3D7O@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      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!