tattle-made / Uli

Software and Resources for Mitigating Online Gender Based Violence in India
https://uli.tattle.co.in
GNU General Public License v3.0
40 stars 29 forks source link

Fix the feedback feature post the twitter DOM changes #232

Open Bhargav-Dave opened 1 year ago

Bhargav-Dave commented 1 year ago

The feedback feature allows the user to send feedback regarding the ML feature to the backend server. The users can press the flag icon to report false classifications by the model.

After the twitter DOM changes and the parser changes, there seems to be some error occurring in sending the feedback.

The relevant blocks of code are here: Frontend: https://github.com/tattle-made/OGBV/blob/e6f2e5d7d9d55fcdf79dd235ab243fb7d882a28a/browser-extension/plugin/src/twitter/tweet-controls.jsx#L169 Backend: https://github.com/tattle-made/OGBV/blob/e6f2e5d7d9d55fcdf79dd235ab243fb7d882a28a/browser-extension/api-server/index.js#L64

The current response from the server is 501 not implemented. More investigation needs to be done on exactly what feature is breaking.

Bhargav-Dave commented 1 year ago

Is related to: https://github.com/tattle-made/OGBV/issues/125