-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Add ability to block account from post dropdown menu #6091
Add ability to block account from post dropdown menu #6091
Conversation
Yes! Please add this. I was just about to make an issue for this. This makes blocking have less friction and makes the UX much better, especially in terms of a11y. In addition, being able to easily add to a moderation list from the same menu would be great. |
c53a92a
to
1614df3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! I made a small change to use useProfileShadow
and just use ProfileViewBasic
in the profile
arg type (since all we ever need from the profile is did and viewer, which is available in all of the ProfileViewX
types), no need for the Pick
.
Really appreciate this one, been something on the todos for a while and just never had time to do it.
Thank you! |
Details
While #3708 already exists, it hasn't been updated sine April and I personally don't think including the mute option is necessary. If it is decided that a mute button is needed/wanted, I can update this PR or I could open a separate PR.
Note: I don't consider this PR complete since I assume we will want some sort of visual feedback that a user was blocked while in a feed. My initial thinking was to hide the post after blocking but it felt a little janky. I would appreciate some feedback.
Demo
(Sorry Abby and Jerry, it's not personal 😅 )
block_from_feed.webm
block_from_profile.webm
Screen.Recording.2024-11-03.at.12.34.53.PM.mov
Screen.Recording.2024-11-03.at.12.35.13.PM.mov