Abuse reports list empty state
What does this MR do and why?
This MR implements Display empty state when there are no reports to show as part of https://gitlab.com/gitlab-org/modelops/anti-abuse/team-tasks/-/issues/157+.
It updates the abuse reports list to render <GlEmptyState />
component when there are no reports to display.
Screenshots or screen recordings
Screen_Recording_2023-03-14_at_9.19.35_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)
-
Filter reports by a user with associated abuse report
-
Validate that an empty state is shown
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.
Edited by Eugie Limpin