WIP: EE - Improve slash commands placeholder UI
What does this MR do?
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/11240
This MR is an EE port forWhen comment content had slash commands, it tried to strip everything that came after /
character which didn't go well when content had anything that involves /
(eg; file paths, URLs and etc). This MR uses actual list of supported slash commands for the note and shows appropriate message related to slash command that was present in command. This bug affects the feature introduced in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/10760 which is part of %9.2.
Now user will see following messages while running slash commands.
-
Single Slash Command:
Applying command to <command description>
. -
Multiple Slash Commands:
Applying multiple commands
.
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary [ ] Documentation created/updated[ ] API support added- Tests
-
Added for this feature/bug -
All builds are passing
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Branch has no merge conflicts with master
(if it does - rebase it please) -
Squashed related commits together