memmy icon indicating copy to clipboard operation
memmy copied to clipboard

added a switch to hide posts made by bot accounts and filtered out po…

Open travis-racisz opened this issue 10 months ago • 0 comments

PR Creator Checklist

Ensure you've checked the following before submitting your PR:

  • [x] You've discussed making your changes with a member of the dev team per contributing rules in the README
  • [x] Your changes are free of any lint errors
  • [x] Your changes are free of any typescript errors
  • [x] You've tested your changes

Summary

Please provide a summary of what your PR does

this PR is for issue #974

This PR adds a switch in the content section of the settings screen to allow the user to hide content made by bot accounts. In order to hide content from bot accounts I added a value in the store called hideBotContent, that has an initial value of false.

When it is checked it will filter out posts who's creator is a bot_account.

Screenshots

If the UI has been changed, include screenshots. We will not review your PR without screenshots if they are applicable.

Screenshot 2023-08-16 at 6 50 38

Test Plan

Please document the steps required to test your PR

1.) In the simulator use the search function to look up a known bot account such as redditbot. 2.) go to their profile and try to view their posts 3.) if the hide bot content option is on then none of their posts will appear on their profile

travis-racisz avatar Aug 15 '23 21:08 travis-racisz