Skip to content

Add cache_markdown_field for abuse report notes

Jarka Košanová requested to merge 162600-fix-html-for-ab-notes into master

What does this MR do and why?

It fixes null HTML field value (note_html) for abuse report notes.

The feature is not yet implemented, we don't have user-facing endpoints / UI yet.

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.

How to set up and validate locally

  1. In rails console create a new abuse report note
    AntiAbuse::Reports::Note.create(abuse_report: AbuseReport.last, author: User.first, note: 'some note')
  2. Verify the note_html fields was correctly assigned
Edited by Jarka Košanová

Merge request reports

Loading