Make report_issues.vue easily extendable
We backported the existing report_issues.vue
from the merge request widget code to re-use it in CE for the test reports (https://gitlab.com/gitlab-org/gitlab-ce/issues/45318).
The problem is that at the moment report_issues.vue
contains no real code at all in CE:
while the EE version is basically a big switch-case statement:
This seems bad and makes those files a pain to work with. We need a smarter solution, and the one I came up with @fatihacet and @samdbeckham, is actually using :is
for dynamic components: https://vuejs.org/v2/api/#is
This is a real blocker for a bunch of deliverables, including:
- https://gitlab.com/gitlab-org/gitlab-ce/issues/45318
- https://gitlab.com/gitlab-org/gitlab-ee/issues/5488
/cc @samdbeckham