-
-
Notifications
You must be signed in to change notification settings - Fork 13
Build Is misogynistic & Isn't misogynistic buttons and send tweet to external database #66
Comments
corresponding backend change is: opt-out-tools/public_api#5 |
Relies on /pull/64 to be complete |
…istic` buttons -disabled all other functionality except crossed-trough -added injectReportMisogynisticButtons function -found and inspected issue with memory leak -fixed memory leak issue caused by repeated sending of already sent server requests -added css for reportMisogynisticButtons and reportMisogynisticButtonsHolder -added isn't and is misogynistic buttons creation in injectReportMisogynisticButtons function -added event listener for clicks on document from reportMisogynisticButtons -added reportMisogyny function for sending request for reporting tweet -added permission in manifest.json for reporting tweet api -fixed bug where text sent to prediction api has html code
-add tweetId to sent object for api endpoint -fixed hide/unhide locally
I have resolved tasks:
I'll need a separate branch Questions:
Or did I understood wrong, and should inject only one button instead of two on a tweet?
..I can generate |
|
Thank you. That's what i needed. |
How is this implemented? A task this sprint is to document backend. Do we have an endpoint for this? |
Todo: |
Stretch goal: personalised content that is hidden or not based on personal labelling |
Objective
Add buttons that allow the individual to correctly label a tweet and send this information to the external database.
Description
In order to better understand the mis labelled tweets, we want to implement buttons that will update the status of the falsely labeled tweet and also inform us of the incorrect labeling, allowing us to better understand the false positives and negatives of our model
Flows
Only the cross-through functionality is available. When the user uses Twitter and they find:
A tweet that is labeled as misogynistic and is not misogynistic
They click isn't misogynistic button
Tweet is sent to new API
A tweet that is labeled as misogynistic and is misogynistic
They do nothing
A tweet that is not labeled as misogynistic and is not misogynistic
They do nothing
A tweet that is not labeled as misogynistic and is misogynistic
They click is misogynistic button
Tweet is sent to new API
Skills
JS
Tools
PFA wireframe:
report_buttons.pdf
Time Estimation
Task
The text was updated successfully, but these errors were encountered: