That would be a much appreciated feature.

  • EeeDawg101@lemm.ee
    link
    fedilink
    English
    arrow-up
    9
    ·
    1 year ago

    While I think if people want this, it should be added as an option, it’s definitely not a feature I’d use.

    I’d actually prefer a slight refinement of the current hiding read post feature. Allow us to tap the little eye button to toggle between show read and don’t show read posts.

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

      Agreed. I would also like a clear visual cue in the feed showing what I have read. Bold to normal, or normal to italics, or a little status icon

  • SeanM
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 year ago

    No we can’t really do it. What if someone scrolls really fast, then we have to mark like let’s say 20 posts as read. Each mark as read is a separate API call. We can’t make a call with all the posts, the lemmy API isn’t that advanced. If we tried to make that many api calls it would get rate limited and you’d get errors from the backend.

    • ebits21@lemmy.ca
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      1 year ago

      Ah. Would the lemmy api need something like mark this list of posts (in a single call) as read to do this?

      Edit: I see the api has things like getComment and getComments.

      So something like markPostsAsRead instead of just markPostAsRead so you can send a list.

      • SeanM
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 year ago

        Yep exactly, it would need to offer us an option to send a list of post ids at once to mark as read.

        • eggvng@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          ·
          1 year ago

          what about adding a button to mark a post as read? i would find that more convenient than needing to open each post in order to mark it as read.

          • SeanM
            link
            fedilink
            English
            arrow-up
            5
            ·
            1 year ago

            I believe we’re looking into adding a swipe to mark as read feature for feed items.

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

      I’m out of my element here, but Voyager has mark read on scroll. Is there something in their PWA that could be helpful to establish this in Memmy, or is it only a thing because it’s a PWA?

      • SeanM
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        1 year ago

        What voyager does isn’t something we want to do - imo it’s a little rude to spam requests to the server owners like what they are doing. (If you scroll really fast like i described in my comment above) We could do the same thing, and maybe we will at this point, but i don’t really want to. If it were a big company with lots of servers then it’d be one thing, but that’s not the case with Lemmy.

  • anon_water
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 year ago

    If it’s optional I like the idea of it being optional per community.

    • DuckGuy@lemmy.zip
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      from a thread

      I’m not sure I follow. If you open a thread/post, it will be marked as read by default.

      Do you mean “mark post as read on image view”? Without having to open a thread/post? Because we do have this option.

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

        I have all three of those marked yes and when i view an image from my feed (without viewing the actual thread) it does not mark it read. It does mark it read when i vote, or view the thread.