eramdam / BetterTweetDeck

A browser extension to improve TweetDeck with a lot of features
https://better.tw
MIT License
1.11k stars 115 forks source link

CW flag not being picked up #824

Closed WizardShotTheFood closed 1 year ago

WizardShotTheFood commented 2 years ago

Describe the bug A pair of tweets that came across my timeline have identical content warnings, but have the warnings formatted slightly differently. Only one was flagged as having CWs. The one that didn't began with "( cw", while the one that did was just "cw". The parentheses seem to break the detection.

To Reproduce Steps to reproduce the behavior:

  1. Examine the following tweets in TweetDeck with content warning collapse enabled: False negative: https://twitter.com/KorpsPropaganda/status/1372541131725082625 True positive: https://twitter.com/KorpsPropaganda/status/1315208344173522944

Expected behavior Both tweets should have CW collapses.

Desktop (please complete the following information):

eramdam commented 2 years ago

This will be in the next release and soon in a nightly release (for Firefox), I'll link it here when it's built

eramdam commented 2 years ago

After running the nightly with the "fix" I've noticed it introduced a bunch of false positives so I'll need to figure out a better fix.