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

Show hidden community content in user profile #5468

Open
5 tasks done
Demigodrick opened this issue Mar 1, 2025 · 2 comments
Open
5 tasks done

Show hidden community content in user profile #5468

Demigodrick opened this issue Mar 1, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@Demigodrick
Copy link

Requirements

  • Is this a feature request? For questions or discussions use https://lemmy.ml/c/lemmy_support
  • Did you check to see if this issue already exists?
  • Is this only a feature request? Do not put multiple feature requests in one issue.
  • Is this a backend issue? Use the lemmy-ui repo for UI / frontend issues.
  • Do you agree to follow the rules in our Code of Conduct?

Is your proposal related to a problem?

When using the API to hide communities from /all, it also has the effect of hiding the posts from a user's profile.

This happens even if you're subscribed to a community, you still can't see that user's posts on their profile from that community, which makes following a particular person hard.

Similarly, it also makes discoverability of hidden communities tricky too.

Describe the solution you'd like.

It would be ideal if there was a way to just hide the communities from /all, but still allow the rest of the features for the profile and the community. I don't want certain NSFW to spam the all /feed, but at the same time I don't want to completely kill those communities for my users who want to see them, or interactions between users because the community is hidden from /all, but there doesn't appear to be a middle ground option here. Just a way to hide from /all without affecting any other content or functionality would be great.

Describe alternatives you've considered.

Alternative way of hiding communities from the /all feed that doesn't also hide the communities from users if searched for.

Additional context

No response

@Demigodrick Demigodrick added the enhancement New feature or request label Mar 1, 2025
@Demigodrick Demigodrick changed the title Change hidden communities to not kill discoverability Change the way hidden communities work (or implement a different way of removing communities from /all) Mar 1, 2025
@dessalines
Copy link
Member

We shouldn't be hiding posts from hidden communities for the subscribed view: https://github.com/LemmyNet/lemmy/blob/main/crates/db_views/src/post/post_view.rs#L471

When using the API to hide communities from /all, it also has the effect of hiding the posts from a user's profile.

As far as whether to show them on either the users profile, or from search, needs some discussion. Hidden is supposed to mean hidden from discoverability, so I'd like to keep the exceptions to that rule to a minimum.

@Demigodrick
Copy link
Author

Demigodrick commented Mar 3, 2025

We shouldn't be hiding posts from hidden communities for the subscribed view

Not from subscribed view, but from the poster's profile even if the user is subscribed to the community the poster is posting in.

For example, User A posts in Community A. I have hidden community A from /all which then prevents any unsubscribed users from seeing the content of Community A. User B subscribes to that community, and can now see the content. However when User B goes to the profile of User A, all the content from Community A is still missing, even though User B is subscribed and can see that content in the community.

I'd be happy if it wasn't specifically "hide", I'm looking for a solution that doesn't stop discoverability but allows me as an admin to stop some content from appearing on /all. What you can see with some NSFW communities is that a user will suddenly post 5 or 6 times to a community, or a couple of communities, and suddenly the /all feed is basically just NSFW content. While this doesn't affect users who have it turned off, it can be a bit overwhelming for those who have it enabled for things like spoilers.

Ideally, I'd like these to just not show on /all, but still be searchable if the user wants to look for it.

Hope that makes sense :)

@Nutomic Nutomic changed the title Change the way hidden communities work (or implement a different way of removing communities from /all) Show hidden community content in user profile Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants