Skip to content

Add support for abuse notes updates on frontend

Jarka Košanová requested to merge abuse-notes-update-fe into master

What does this MR do and why?

This MR starts using update abuse report note mutation on frontend so that users can update the abuse report notes.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Recording

abuse-report-notes-update

How to set up and validate locally

  1. Enable the feature flag: Feature.enable(:abuse_report_notes)
  2. Go to Admin are - Abuse reports - Abuse report detail
  3. Create a new abuse report note, reload the page
  4. Click on Edit button, change the text
  5. Reload the page

We have an issue to dynamically update created/edited notes without the need to reload the page: https://gitlab.com/gitlab-org/modelops/anti-abuse/team-tasks/-/issues/864+

Merge request reports

Loading