Allow users to report posts or accounts that they believe violate community standards.
Background
Even a small platform needs a mechanism for the community to flag harmful content. This issue covers the user-facing report flow; the moderation side is in #11.
What can be reported
- Individual posts
- User accounts
Report reasons
- Spam or advertising
- Harassment or bullying
- Hate speech or discrimination
- Deliberate misinformation
- Illegal content
- Other (requires a short note from the reporter)
Behaviour
- Each post has a menu option to report it. Each profile page has a "Report account" button.
- Clicking report opens a form with the reason options listed above and an optional note field (required when "Other" is selected).
- On submission, a success message confirms the report was received.
- If the same user reports the same target more than once within 24 hours, the second report is silently ignored.
- Users must be signed in to file a report; guests are redirected to login.
Routes
| Method |
Path |
Description |
GET |
/report/post/:id |
Show report form for a post |
GET |
/report/user/:username |
Show report form for an account |
POST |
/report |
Submit a report |
Acceptance Criteria
Allow users to report posts or accounts that they believe violate community standards.
Background
Even a small platform needs a mechanism for the community to flag harmful content. This issue covers the user-facing report flow; the moderation side is in #11.
What can be reported
Report reasons
Behaviour
Routes
GET/report/post/:idGET/report/user/:usernamePOST/reportAcceptance Criteria