Skip to content

Implement create abuse report labels

Eugie Limpin requested to merge el-abuse-report-labels-create into master

What does this MR do and why?

Implements parts of https://gitlab.com/gitlab-org/modelops/anti-abuse/team-tasks/-/issues/167+

This MR implements create abuse report label flow.

Related MRs

  1. Add GraphQL endpoints to fetch abuse report and... (!128219 - merged)
  2. Rename AbuseReportUpdateService to AbuseReports... (!128085 - merged)
  3. Implement show and adding/removing labels to an... (!128701 - merged)
  4. Implement create abuse report labels (!129205 - merged) 👈🏼 You are here

Screenshots or screen recordings

Screen_Recording_2023-08-24_at_3.09.52_PM

How to set up and validate locally

  1. In rails console, enable the feature flag
    > Feature.enable(:abuse_reports_list)
    > Feature.enable(:abuse_report_labels)
  2. Login with an admin user (root)
  3. Go to abuse reports page (http://localhost:3000/admin/abuse_reports) and click on any abuse report
  4. Validate that creating a new label works and the created label is added to the abuse report

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 Eugie Limpin

Merge request reports