Skip to content

Add report abuse category to comments on snippets & commits

What does this MR do and why?

  • Asks user to select an abuse category before they are redirected to the standard report abuse form, when they are reporting a comment posted on a Snippet or a Commit.

Screenshots or screen recordings

Snippet Commit
snippet commit

How to set up and validate locally

  1. Log-in as a user and post a comment on a Snippet (eg. http://localhost:3000/gitlab-org/gitlab-test/-/snippets) or a Commit (eg. http://localhost:3000/gitlab-org/gitlab-test/-/commit/2d1db523e11e777e49377cfb22d368deec3f0793).
  2. Log-in as another user, navigate to the comment, then click on ︙ > Report abuse to administrator

MR acceptance checklist

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

Resolves gitlab-org/modelops/anti-abuse/team-tasks#193

Edited by Hinam Mehra

Merge request reports