Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

travis-racisz
Copy link

PR Creator Checklist

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

  • You've discussed making your changes with a member of the dev team per contributing rules in the README
  • Your changes are free of any lint errors
  • Your changes are free of any typescript errors
  • 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant