Skip to content

Update spam log buttons to pajamas

Alexander Turinske requested to merge 384412-update-spam-logs-buttons into master

What does this MR do and why?

Describe in detail what your merge request does and why.

Update spam log buttons to pajamas

  • use pajamas view component

Changelog: changed

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Scenario Before After
Page Screenshot_2022-12-19_at_16.02.42 image
Block user image image
Already blocked user image image

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Navigate to http://gdk.test:3443/admin/spam_logs
  2. Set up Akismet: https://docs.gitlab.com/ee/integration/akismet.html or use the patch below
diff --git a/app/views/admin/spam_logs/_spam_log.html.haml b/app/views/admin/spam_logs/_spam_log.html.haml
index 2d0ea5857357..9db8101deef4 100644
--- a/app/views/admin/spam_logs/_spam_log.html.haml
+++ b/app/views/admin/spam_logs/_spam_log.html.haml
@@ -27,7 +27,7 @@
     -# TODO: Remove conditonal once spamcheck supports this https://gitlab.com/gitlab-com/gl-security/engineering-and-research/automation-team/spam/spamcheck/-/issues/190
-    - if akismet_enabled?
+    - if true

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #384412 (closed)

Edited by Alexander Turinske

Merge request reports