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

Janky solution to show blacklist exceptions #391

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

atomicBlaze21
Copy link

@atomicBlaze21 atomicBlaze21 commented Nov 25, 2024

If a blacklisted post has an exception (whitelist, favorite, or user upload), this solution shows the post on initial load on the post page. It does not recognize that the post isn't "blacklisted" because of the exception, and disabling/re-enabling the active filter re-hides the post.

Ideally, this would use the BlacklistEnhancer module so that the blacklist UI in the sidebar could be handled, as well as any parent/child posts that also have exceptions. However, that would require overhauling the module to allow it to also be present on Post pages, which would in turn require a similar overhaul for the BetterSearch module since the two are dependent on each other. This works as an ugly stopgap in the meantime, but any guidance for making it more robust would be appreciated.

Resolves #390

If a blacklisted post has an exception (whitelist, favorite, or user upload), this solution shows the post on initial load on the post page. It does not recognize that the post isn't "blacklisted" because of the exception, and disabling/re-enabling the active filter re-hides the post.
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.

[Feature Request] Excluding uploads/favorites from blacklist should extend to the post page itself
1 participant