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

Display badges on a user's posts and comments for when a user is banned in communities or from the instance #2743

Open
3 tasks done
DraconicNEO opened this issue Oct 8, 2024 · 1 comment
Labels
enhancement New feature or request extra: help wanted Extra attention is needed

Comments

@DraconicNEO
Copy link

DraconicNEO commented Oct 8, 2024

Requirements

Describe the feature you'd like

It would be useful to know when reading a user's comments or posts in a community or in the feeds if the user has been banned from the community or from the instance. I think it would be a good idea to implement badges showing when a user is banned in a community or when they are banned from the site. That way people are well aware the user they are interacting with is banned and likely won't respond to them.

Example mockup I made to show what it would look like in the scenario of a user being banned from a community and the instance at the same time.

image

Here is banned from the instance on its own:
image

Here's banned from the community on its own:
image

@DraconicNEO DraconicNEO added the enhancement New feature or request label Oct 8, 2024
@dessalines dessalines added the extra: help wanted Extra attention is needed label Oct 15, 2024
@dessalines
Copy link
Member

If you'd like to take a crack at this, feel free. The place to look is src/shared/components/common/user-badges.tsx , and it'd entail separating the banned prop into banned and banned_from_community.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request extra: help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants