• miguel@fedia.io
    link
    fedilink
    arrow-up
    3
    ·
    9 months ago

    I wonder if there’s a better way, like using js (ugh, but) to weight a post when it’s been expanded.

    • haverholm@kbin.earth
      link
      fedilink
      arrow-up
      3
      ·
      9 months ago

      Oh, but doesn’t that open another can of worms concerning what is acceptable tracking? I may be unclear on exactly how this is done with js.

      • haverholm@kbin.earth
        link
        fedilink
        arrow-up
        3
        ·
        9 months ago

        Also, very interesting conversation, but somewhat unexpected to have it under the subject of a Richard Cheese album 😂

      • miguel@fedia.io
        link
        fedilink
        arrow-up
        3
        ·
        9 months ago

        I don’t think tracking expansions via an ajax flag would be any different than tracking up/down votes. Presumably, you could use the exact same api. Just count ‘opens’ as upvotes.

        I’m not 100% sure how mbin/kbin/lemmy currently implement post opens (since I’ve been too uninterested to dig into it), but I’d think the mechanism would be pretty much the same as it already is.

        /edit: Ok, so I poked around. Yeah, it’s just an ajax submission form when you upvote, so it could definitely be tied to a scrolled/read/expanded action. Which is already tracked (displayed via the colors)