Skip to content

Use Pajamas button component in .../_abuse_report.html.haml

What does this MR do and why?

Migrates all buttons on abuse report items to Pajamas buttons.

Screenshots or screen recordings

Before After
image image

How to set up and validate locally

  1. Login as admin
  2. 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.

Closes #384450 (closed)

Edited by Nick Leonard

Merge request reports

Loading