Skip to content

Fix "Continue editing" button being retained

Himanshu Kapoor requested to merge 419179-continue-editing-fix into master

What does this MR do and why?

Fix "Continue editing" button being retained

If you submit a comment on an issue while in preview mode, the continue editing button stays there, even though the comment box switched back to edit mode.

Changelog: fixed

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
Screen Recording 2023-07-20 at 02.06.45.mov Screen Recording 2023-09-28 at 13.23.06.mov

How to set up and validate locally

  1. Write a comment on an issue using the plain text editor.
  2. Click Preview
  3. Submit the comment
  4. Notice the "Continue editing" button no longer stays visible as the toolbar reappears.

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 #419179 (closed)

Edited by Himanshu Kapoor

Merge request reports