Skip to content

Fix placeholder note visibilty after note posted with quick action

What does this MR do and why?

Fixes a bug Comment placeholder not hidden after submitting... (#414778 - closed) where when comments are added with a quick action , the placeholder note is still visible.

This is a regression of Display errors in UI correctly when creating notes (!121475 - merged) , but we still need to make sure that placeholder note is not a part of discussion.

P.S this occurs only for a fresh discussion

Screenshots or screen recordings

Before After
Screen_Recording_2023-06-08_at_1.17.39_PM Screen_Recording_2023-06-08_at_1.16.48_PM

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Navigate to any issue / merge request / snippet / commit and add a comment
  2. See that it is posted correctly with/without quick action . Check edit functionality as well

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

Edited by Deepika Guliani

Merge request reports

Loading