Skip to content

Link to new Abuse Reports Detail view

Alex Buijs requested to merge link-to-abuse-reports-detail-view into master

What does this MR do and why?

This is a followup to !115867 (merged), where we implemented the Abuse Reports Detail view.

This MR removes the actions and details added here and here, to retain feature parity, while the details view was still in development.

Figma design

Issue: https://gitlab.com/gitlab-org/modelops/anti-abuse/team-tasks/-/issues/158+

Epic: https://gitlab.com/groups/gitlab-org/modelops/anti-abuse/-/epics/8+

Screenshots or screen recordings

before after
Screenshot_2023-04-18_at_14.33.32 Screenshot_2023-04-18_at_14.37.44

How to set up and validate locally

  1. In Rails console:
    Feature.enable(:abuse_reports_list)
  2. Login with an admin account
  3. Go to a Profile, Issue, MR or an Issue/MR comment by another user and report them for abuse
  4. Go to the Abuse Reports page (http://localhost:3000/admin/abuse_reports)
  5. Validate the page looks like the screenshot and the links redirect to the detail views

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 Alex Buijs

Merge request reports