Skip to content

Add abuse categories to abuse reports list

Hinam Mehra requested to merge hinam-add-categories-to-abuse-reports-list into master

What does this MR do and why?

Screenshots or screen recordings

before after
list_view_without_category list_view_with_category

How to set up and validate locally

  1. Enable feature flag and create abuse reports with different categories
> Feature.enable(:abuse_reports_list)
> AbuseReport.categories.each { |k, v| AbuseReport.create(user: User.last, reporter: User.first, message: "test", category: k, reported_from_url: "http://127.0.0.1:3000/gitlab-org/gitlab-test/-/issues/37")}
  1. Log-in as admin and navigate to abuse reports - http://127.0.0.1:3000/admin/abuse_reports.

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