Skip to content

Fix space is added before quick action issue

Himanshu Kapoor requested to merge himkp-space-before-quick-action into master

What does this MR do and why?

Came up in slack: https://gitlab.slack.com/archives/CETG54GQ0/p1686646773031569

image

Fix space is added before quick action issue

In content editor, on serialization, a bug caused space being added before a quick action, preventing it from working. This MR fixes it.

Changelog: fixed

Screenshots

Before After
image.png No longer has the quick action text in the comment. The quick action is applied successfully.

How to set up and validate locally

  1. Enable feature flag :content_editor_on_issues.
  2. Navigate to an issue.
  3. Add a comment with a quick action like /assign @user
  4. Notice that the quick action text is lo longer present in the comment and is actually applied as a quick action.

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 Himanshu Kapoor

Merge request reports