-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
๐ฎ MODERATIONFeatures for reporting, reviewing, and managing user-generated content.Features for reporting, reviewing, and managing user-generated content.
Description
Allow users to report posts or comments that violate community guidelines.
Moderators will review reported content and take appropriate actions.
โ Tasks
-
Database Integration
- Implement
Reportmodel linked toUser(reporter) and target (PostorComment). - Include fields: reason, status (
pending,reviewed,resolved), createdAt.
- Implement
-
UI/UX
- Add "Report" option in post and comment actions menu.
- Create report modal with predefined reasons + optional custom text.
- Show confirmation after report submission.
- Add moderator dashboard view for managing reports.
-
Backend / Fullstack Logic
- Implement server-side action to submit reports.
- Restrict reports to authenticated users.
- Implement moderator actions: mark report as reviewed/resolved, delete related content if needed.
-
Testing & QA
- Add unit tests for report creation & status updates.
- Add integration tests for report flow (submit โ review โ resolve).
- Test UI interactions (modal, form validation, feedback).
๐ Acceptance Criteria
- Authenticated users can report posts or comments.
- Reports contain reason, status, and reporter info.
- Moderators can view and manage reports via dashboard.
- Reported content can be removed by moderators if necessary.
- Feedback is provided after submitting or resolving a report.
Metadata
Metadata
Assignees
Labels
๐ฎ MODERATIONFeatures for reporting, reviewing, and managing user-generated content.Features for reporting, reviewing, and managing user-generated content.