botim / botz

The Big Bots project is a social experiment aimed at identifying bots and sock puppets in the social platforms feeds. https://botim.online
GNU General Public License v3.0
8 stars 3 forks source link

Mark all already loaded tweets as reported/bot #30

Open eranshmil opened 5 years ago

eranshmil commented 5 years ago

Actual

  1. Go to some user's profile with at least two original tweets.
  2. Report on one of the tweets.
  3. You would be able to report again.
    • This is only a UX issue, the server ignores it.

Expected

The rest report buttons of his tweets should be disabled.

Just an idea:

Add an attribute to each checked user containing the userId, then just add the class to all the elements that have this attribute. Should make the parsePosts and parseTweets simpler and we won't need to store the checked element inside the ObjectKeyMap variable.