BandarHL / BHTwitter

Awesome tweak for Twitter
1.91k stars 285 forks source link

Feature requests / bugs #52

Closed addisonxx closed 2 months ago

addisonxx commented 2 years ago

The "promoted tweet" banner still shows up in the comments section when viewing a tweet from a user's profile. I'm not sure if it has a different class name than elsewhere in the app, but the good news is that this is the only section I ever see it in anymore. 18C39B84-FF71-4F2F-A207-A6936C228C85 6EA6459F-F652-4D88-B6F7-6123F3A97FDD

In the comment view section there's now these annoying extra labels on top of some accounts. If there could be an added toggle to hide these that would be great!

2294A129-4EC2-4D80-AD06-1E227B332ED5 0C8A1237-EB53-4B12-90FF-876D02289617

On the main timeline I would be nice to have a toggle to hide all tweets that show "AccountName liked" and also "AccountName follows." I'm not totally sure how tweaks are written, but maybe if there's a way to check if UILabel contains the word liked or follows and then hide the tweet? Since retweeted tweets also use the same T1TimelinesItemSocialContextView class I think there would have to be some filter to only catch the liked and follows recommendation type of tweets.

5CC505C9-2537-41AA-85AD-2EFC44D3A7A1 99A83776-7D7F-49A5-A635-8C60869B6787 DC6D8684-4C26-4B5D-893F-DF519BDD757F 2C5313EB-689D-4E53-B5BE-B0FCD408F6B1 66123A4C-0049-41D1-8C77-F697A107D0EF E509E070-F0AE-473A-AA6E-26BD52D14C21

Another way might be by using the T1StandardStatusView. Each tweet has a dictionary that shows what "suggestion type" it is. If there's a way to filter out tweets with the suggestion type of ActivityTweet (to hide liked tweets) and ScTweet (to hide follows tweets).

AA6D67C6-7016-4093-A7D9-FE3EEA32A7A0 7459E37E-55C5-4622-B56A-8C815B80CFE5 70308EB7-2364-4BDC-8645-E8D96C1CC06A DD8201ED-9D14-42C7-B6E2-793F92149AEB A2C1969E-7429-4FEE-87E2-3346DF3010D4 EB680299-2823-4073-A9D0-28E37269F1B4

Thank you so much for your hard work! This is one of my favorite tweaks!