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.
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
PR Creator Checklist
Ensure you've checked the following before submitting your PR:
Summary
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
Test Plan
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