Show abuse report details
What does this MR do and why?
Resolves https://gitlab.com/gitlab-org/modelops/anti-abuse/team-tasks/-/issues/157?work_item_id=125616361 as part of https://gitlab.com/gitlab-org/modelops/anti-abuse/team-tasks/-/issues/157+
To maintain feature-parity between existing and updated abuse reports list page implementation before https://gitlab.com/gitlab-org/modelops/anti-abuse/team-tasks/-/issues/158+ is completed this MR updates each abuse report row in the list page to display the following:
- The report's
message
- The reported user's
created_at
- The report's
created_at
(when the list is NOT sorted byupdated_at
) andupdated_at
(when the list is sorted byupdated_at
).
Screenshots or screen recordings
Screen_Recording_2023-03-23_at_4.43.25_PM
How to set up and validate locally
-
Enable the feature flag
$ rails console > Feature.enable(:abuse_reports_list)
-
Login with an admin account
-
Go to the Abuse Reports page (http://localhost:3000/admin/abuse_reports)
-
Validate that for each report row the following details are displayed (see demo above for reference):
- The report's
message
- The reported user's
created_at
- The report's
created_at
(when the list is NOT sorted byupdated_at
) andupdated_at
(when the list is sorted byupdated_at
).
- The report's
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.