Combine sidebar_reference_widget and issue_reference components
-
Move jira/issues_show/components/sidebar/issue_reference.vue
to including the loading state !56822 (merged) -
Relocate issue_reference.vue
tovue_shared
folder !56822 (merged) -
Use issue_reference.vue
insidesidebar_reference_widget.vue
!56826 (merged)
@tomquirk commented in !55431 (merged):
Because Jira Issues and regular GitLab issues have different data sources (and methods for data mutation), I would love us to get to a point where we have pure, presentational sidebar components that only accept props and emit events - then, we can create domain-specific components that wrap these presentational components.
In this case,
sidebar_reference_widget.vue
could utilize thejira/issues_show/components/sidebar/issue_reference.vue
component (we should aim to move this tovue_shared/
or similar) under the hood. It looks like we would need to extendjira/issues_show/components/sidebar/issue_reference.vue
to including the loading state, but otherwise it hopefully won't be too much work.
Edited by Tom Quirk