Quick actions commands in note forms in MRs are not supported when editing an existing note
Summary
Discovered in https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/7376.
When we post a new note, the /
commands are shown as soon as you type /.
When editing an existing note, that doesn't happen.
The other triggers like ~
%
#
!
seem to trigger autocomplete, just not /.
Submitting them also doesn't accept them.
Steps to reproduce
- Post a comment to a MR, on the Discussion tab, with a quick action (set a label)
- Edit that comment
- Try to add another quick action, like
/assignee
You should get the autocomplete dropdown pop up.
Example Project
An MR, really: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/7376
What is the current bug behavior?
Dropdown for / commands doesn't appear
What is the expected correct behavior?
Dropdown for / commands should appear