social-app icon indicating copy to clipboard operation
social-app copied to clipboard

Add ability to block account from post dropdown menu

Open rshigg opened this issue 3 months ago • 1 comments

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

rshigg avatar Nov 03 '24 15:11 rshigg