So, browsing Lemmy.world today, I’ve noticed a green box show up a couple times in the lower left corner that says “Report Created”. Any idea what that’s about?

  • @[email protected]
    link
    fedilink
    51 year ago

    It’s a known bug, there was some talk about it on Beehaw yesterday. I’ve not spotted a pattern to it tbh but pretty sure it’s nothing is individual users are doing wrong.

  • John
    link
    fedilink
    41 year ago

    Same here. Just got one of those right after opening this post.

    Also, just noticed the upvotes count changing frequently, like from 9 to 800+, then 400+, 100+, 800+ again. lol

    • Slashzero
      link
      fedilink
      41 year ago

      Yup – that’s been reported too. It’s not a great look. I’ve been looking at the up/down vote functionality, and it is literally triggering an INSERT to the DB every single time you click either button.

      • Kushan
        link
        fedilink
        11 year ago

        Is that because of some kind of event sourcing, though? That’s not an uncommon way of handling these things.

        • Slashzero
          link
          fedilink
          1
          edit-2
          1 year ago

          Yes, of course it makes sense to do it that way. The issue is you can literally click the up arrow repeatedly as fast as you can and create some database load.

          Usually, at least from my experience, it is good practice to put some logic client-side to prevent a user from repeatedly clicking a button accidentally (or on purpose – hey, why did I get a double post?!). Even a quarter second delay can help.

          • Kushan
            link
            fedilink
            21 year ago

            Yeah, that kind of abuse prevention really shouldn’t be client side at all. It’s one thing to prevent a user accidentally causing harm, but if a bad actor can deliberately do it then we’ve got bigger problems.

    • @[email protected]
      link
      fedilink
      41 year ago

      The upvote jumping is caused by issues with the websocket implementation. As far as I heard they are going to get rid of websockets completely in the next version and have static page rendering instead.

  • @planish
    link
    31 year ago

    I think it has a bit of trouble matching requests and responses. A few times I have opened a post and gotten a page rendered for a different post.

    Maybe you are getting notifications for someone else’s reports.

  • @[email protected]
    link
    fedilink
    11 year ago

    Same thing happened to me earlier today. It popped up about 10 times while I was writing a comment.