honestbleeps / Reddit-Enhancement-Suite

Reddit Enhancement Suite
http://redditenhancementsuite.com
GNU General Public License v3.0
4.15k stars 879 forks source link

Add "block user" buttons #2305

Open jewel-andraia opened 9 years ago

jewel-andraia commented 9 years ago

https://www.reddit.com/r/Enhancement/comments/3ao08f/notifications_from_blocked_users/

reddit only shows the "block" button in the messages inbox. It would be nice to also show this button on the user info / tagger dialogs and in /prefs/blocked.


This is probably only worth doing if blocking a user prevents them replying to you in public, too. edit 2020-04-20: this doesn't work that way but i think it's still worth doing

erikdesjardins commented 6 years ago

https://www.reddit.com/dev/api/#POST_api_block_user

prech commented 6 years ago

Would highly appreciate this feature, please.

Currently resorting to manually inserting CSS snippets to hide those users and avoid harassment, so something more convenient/native would be greatly appreciated!

johnnybigoode-zz commented 4 years ago

I'd like to tackle this if it's still open eh?

jewel-andraia commented 4 years ago

@johnnybigoode yeah, go for it. did you delete your mockup screenshots?

johnnybigoode-zz commented 4 years ago

@johnnybigoode yeah, go for it. did you delete your mockup screenshots?

Yeah I deleted them... I figured that making the prefs/blocked would mean adding new module, or at least, I wasn't confident about how to implement.

The tag part seems like a hassle, since anywhere in Reddit where you can tag a user you can hoover over their name and get the userInfoCard

If you think these two screens for the block button are necessary, maybe if I got some direction on how to proceed?

Oh, by the way, I think I'm done...? At least for the userInfoCard

Sadly, wasn't able to do the integration tests locally thou.

image

johnnybigoode-zz commented 4 years ago

Nope, not done

image