Preview of Quick actions not working for Epics
Summary
When previewing text in comment on issues or MRs the quick commands are not previewed as text but the action that will happen is displayed.
This does not happen for epics where even the quick commands are previewed as normal text.
Steps to reproduce
- Go to an epic
- Write a quick command
- Click "Preview"
What is the current bug behavior?
Quick commands on epics are previewed as normal text
What is the expected correct behavior?
Quick commands should be previewed as quick actions
Relevant logs and/or screenshots
Epics
URL for markdown preview: https://gitlab.com/groups/gitlab-org/preview_markdown?markdown_version=3
Issues
URL for markdown preview: https://gitlab.com/gitlab-org/gitlab-ee/preview_markdown?quick_actions_target_id=8198&quick_actions_target_type=Issue&markdown_version=NaN
Output of checks
This bug happens on GitLab.com
Possible fixes
Parameters relevant to quick actions are missing for epics. Additionally QuickActions::TargetService
might need some changes.
/cc @victorwu