Skip to content

Cancelling a merge request edit does not reset the autosaver

What does this MR do and why?

This MR fixes the autosaver not being reset when cancelling an MR edit.

Screenshots or screen recordings

N/A

How to set up and validate locally

  1. On GitLab.com, edit a merge request, change the title or description, then click 'Cancel'
  2. Edit the same merge request, and see that your changes persisted on the form, due to the autosaver
  3. In GDK with this branch loaded, edit a merge request, change the title or description, then click 'Cancel'
  4. Edit the same merge request, and see that the title or description modifications you made are no longer present on the form

MR acceptance checklist

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

Related to #362488 (closed)

Merge request reports