Use Pajamas button component in .../_abuse_report.html.haml
requested to merge 384450-use-pajamas-button-component-for-button-in-app-views-admin-abuse_reports-_abuse_report-html into master
What does this MR do and why?
Migrates all buttons on abuse report items to Pajamas buttons.
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
- Login as admin
- Navigate to http://gdk.test:3000/admin/abuse_reports
All 3 buttons, plus the disabled state of Block user, have been migrated and can each be tested.
To test the disabled block user button, block a user then refresh the page, it should now be a disabled "Already blocked"
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.
Closes #384450 (closed)
Edited by Nick Leonard