social-app
social-app copied to clipboard
Add ability to block account from post dropdown menu
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.
- I matched the blocking flow from the profile header but made it one-directional.
- I grouped the block option with the report option because they are both moderation actions.
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 😅 )
From a feed | From a profile page |
---|---|