Fix space is added before quick action issue
What does this MR do and why?
Came up in slack: https://gitlab.slack.com/archives/CETG54GQ0/p1686646773031569
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 |
---|---|
No longer has the quick action text in the comment. The quick action is applied successfully. |
How to set up and validate locally
- Enable feature flag
:content_editor_on_issues
. - Navigate to an issue.
- Add a comment with a quick action like
/assign @user
- 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.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Himanshu Kapoor