Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User Details: Get Modlog Entries #75

Open
1 of 4 tasks
tgxn opened this issue Oct 26, 2023 · 4 comments · Fixed by #96
Open
1 of 4 tasks

User Details: Get Modlog Entries #75

tgxn opened this issue Oct 26, 2023 · 4 comments · Fixed by #96
Assignees
Labels
enhancement New feature or request frontend
Milestone

Comments

@tgxn
Copy link
Owner

tgxn commented Oct 26, 2023

Add user moderation to the popup and maybe also community?
Modlog

mod log needs a bunch of work, mainly around rendering content that was actioned.

create views for each type of report
ensure correct icons and action is taken (eg. "removedPost" has "removed" attribute that could be true if it is restored)
need upstream api support to support "local only" filtering'

  • show recent moderations and users when hover community community_id?
  • show recent mod actions made ON this user other_person_id?
  • show recent reports done by this person (for admins and mods) mod_person_id?
  • also get modlog for the community the report is in (maybe they have heaps of removed posts?)
@Pdzly
Copy link
Collaborator

Pdzly commented Oct 28, 2023

In some time, i would recommend do caching of that result. As on some mod logs it is just repetitive and that should be cached. Could reduce the api calls to the lemmy instnace

@tgxn
Copy link
Owner Author

tgxn commented Oct 31, 2023

At the moment, there's no backend - I was thinking I could cache these in localStorage?

I have been avoid adding any features that would need me to have my own backend for like #50 and #60

I'm drafting up a ticket with lemmy in order to add some more sorting/filtering options to the administration API's at the moment, so maybe we could create an issue with Lemmy to support moderation notes and stuff directly...

@tgxn tgxn added enhancement New feature or request frontend labels Oct 31, 2023
@Pdzly
Copy link
Collaborator

Pdzly commented Oct 31, 2023

Frontend caching would be better but not best case. But yeah without adding a backend it would be difficult. If #60 will get implemented those could cache it.

@tgxn tgxn self-assigned this Nov 1, 2023
@tgxn tgxn linked a pull request Nov 4, 2023 that will close this issue
@tgxn
Copy link
Owner Author

tgxn commented Nov 4, 2023

image

@tgxn tgxn added this to the modlog milestone Nov 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request frontend
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants