Add cache_markdown_field for abuse report notes
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
- In rails console create a new abuse report note
AntiAbuse::Reports::Note.create(abuse_report: AbuseReport.last, author: User.first, note: 'some note')
- Verify the
note_html
fields was correctly assigned
Edited by Jarka Košanová