Skip to content

Discard autosaved comments when the note form is discarded/cancelled

What does this MR do and why?

For #416669 (closed)

When a draft comment is discarded, the autosaved content needs to also be removed.

There may be a small memory improvement with this fix.

Screenshots or screen recordings

Before After
RecApp-2023-08-15-19_25_40 RecApp-2023-08-15-19_23_55

How to set up and validate locally

See the issue reproduction steps.

MR acceptance checklist

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

Edited by Thomas Randolph

Merge request reports