With the addition of Cleaner as in #76, we need to make sure that the actions taken by admins, moderators and cleaners are logged for future purposes and references
What to do?
The following stuffs needs to be done
[x] Add a new table in the DB, something like "moderationLogs" or whatever makes proper sense
[x] For every action taken by the team, i.e. remove user from team, delete a pr, disqualify team etc, logs those actions in the table
[ ] Add a page in the frontend where we can see these actions and search for specific action type (filter by type and so-on)
[ ] Show the logs for a specific PR when checking the team page?? Need to discuss more on it
Add logs table for moderation actions
As discussed here https://github.com/novuhq/hacksquad-website/issues/47#issuecomment-1269390960
With the addition of Cleaner as in #76, we need to make sure that the actions taken by admins, moderators and cleaners are logged for future purposes and references
What to do?
The following stuffs needs to be done