MLTSHP / mltshp

Source for the application that runs mltshp.com
https://mltshp.com/
Mozilla Public License 2.0
50 stars 21 forks source link

comment deletion option for moderators #539

Open jessamynwest opened 5 years ago

jessamynwest commented 5 years ago

Sometimes we need to delete a comment. Anyone marked as a moderator should have this ability.

jessamynwest commented 1 year ago

I imagine it would look something like this (Reply only shows up on mouseover, this could be the same)

Screenshot 2023-07-08 at 12 53 01
smallsaucepan commented 3 months ago

Should this reuse the "user can delete their own comment" mechanism? Or does it need to be something distinct i.e. we can tell which comments were owner deleted and which were moderator deleted?

jessamynwest commented 3 months ago

We probably need a way to distinguish, and I think comments maybe need to be visible to moderators even if they've been removed (just in case there's an odd dispute)

smallsaucepan commented 3 months ago

Will add a "Mod Delete" button to all comments, and a "Deleted by ModName" label and "Mod Undelete" button to any that have been deleted. All only visible to moderators.

Is "hide" possibly better terminology? Distinguishes this from user deletion and possibly more descriptive of the intent?

jessamynwest commented 3 months ago

Hide is definitely better, thank you. As I see it there are maybe three kinds of visibility: visible, hidden (i.e. moderated) and deep-deleted from the database. The last part would be a legal/brad thing and probably doesn't need any special tools. Does that all make sense?

smallsaucepan commented 3 months ago

It does. User can delete their comment (flagged as deleted in db), mod can hide or unhide any comment (flagged with mod's id in db), and to nuke something completely someone needs to do it at the database level as there won't be a UI for that.

jessamynwest commented 3 months ago

Fantastic, that sounds perfect.