Skip to content

Lemmy moderation#388

Open
olorin99 wants to merge 4 commits intomainfrom
lemmy_moderation
Open

Lemmy moderation#388
olorin99 wants to merge 4 commits intomainfrom
lemmy_moderation

Conversation

@olorin99
Copy link
Copy Markdown
Contributor

@olorin99 olorin99 commented Apr 9, 2026

Adds endpoint for moderation actions on lemmy.

Made some changes to the reports list UI. I found the accept/reject labels for mbin moderation a little confusing. It not immediately clear what accepting or rejecting a report does. So I've changed it to be more like most of the lemmy alt frontends by replacing the accept/reject buttons with delete and resolve buttons.
Screenshot from 2026-04-09 20-25-42

olorin99 added 3 commits April 9, 2026 15:36
Rework community reports screen to better fit lemmy model.
- Ban/unban user.
- Edit community.
- Add/remove moderator
Copy link
Copy Markdown
Member

@jwr1 jwr1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can't unresolve a report on Mbin though, can you (the button is still clickable)? Same with the restore button as well for Mbin.

@jwr1
Copy link
Copy Markdown
Member

jwr1 commented Apr 11, 2026

Also, if we are changing the terminology for the buttons, should we do so as well for the displayed report status and also the reports filter?

@olorin99
Copy link
Copy Markdown
Contributor Author

You can't unresolve a report on Mbin though, can you (the button is still clickable)? Same with the restore button as well for Mbin.

Yeah its emulating the lemmy way of resolving the report being separate from deleting the post. The delete/restore button sets the state the post should be in then resolve/unresolve submits that state.

I'm thinking now that it probably would be cleaner to go the other way around and have lemmy adapt to the current UI and just change the labels.

Accept is deleting the post and reject is keeping it right? I understand the logic of why accepting the report deletes the post and rejecting the report keeps the post but my brain keeps twisting it around and confusing me.

@olorin99
Copy link
Copy Markdown
Contributor Author

Also, if we are changing the terminology for the buttons, should we do so as well for the displayed report status and also the reports filter?

Yeah I'll make this change too.

@jwr1
Copy link
Copy Markdown
Member

jwr1 commented Apr 12, 2026

You can't unresolve a report on Mbin though, can you (the button is still clickable)? Same with the restore button as well for Mbin.

Yeah its emulating the lemmy way of resolving the report being separate from deleting the post. The delete/restore button sets the state the post should be in then resolve/unresolve submits that state.

I'm thinking now that it probably would be cleaner to go the other way around and have lemmy adapt to the current UI and just change the labels.

Accept is deleting the post and reject is keeping it right? I understand the logic of why accepting the report deletes the post and rejecting the report keeps the post but my brain keeps twisting it around and confusing me.

I have to admit, I did find the new labels initially confusing (the way Lemmy has it), but that could just be that I'm just so used to clicking on buttons "Approve" or "Reject" through moderating kbin.earth.

I'll let you use your judgment though, and we can go with whichever terminology you decide to use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants