Skip to content

๐Ÿšฉ Implement Report / Laporkan Featureย #11

Description

@zainphp

Allow users to report posts or comments that violate community guidelines.
Moderators will review reported content and take appropriate actions.


โœ… Tasks

  • Database Integration

    • Implement Report model linked to User (reporter) and target (Post or Comment).
    • Include fields: reason, status (pending, reviewed, resolved), createdAt.
  • 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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    ๐Ÿ‘ฎ MODERATIONFeatures for reporting, reviewing, and managing user-generated content.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions