Skip to content

Add editing to abuse report notes

Hinam Mehra requested to merge anti-abuse/168-add-edit-button into master

What does this MR do and why?

Screenshots or screen recordings

editing-comments

How to set up and validate locally

  1. In the rails console, enable the feature flag abuse_report_notes
> Feature.enable(:abuse_report_notes)
  1. Log-in as root and navigate to /admin/abuse_reports and click on any abuse report. If there aren't any abuse reports available, you can create one:
AbuseReport.create(user_id: User.last.id, reporter_id: User.first.id, message: "obvious spam")
  1. Try to add a new comment and then refresh the page.
  2. Then try to edit that comment.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Hinam Mehra

Merge request reports

Loading