The source project of this merge request has been removed.
feat: Abstract work item attributes to a single list/board component
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you can request access to GitLab Duo.
Create a new common component to render standard attributes in touchpoints with similar representing.
Component: app/assets/javascripts/vue_shared/components/work_item_attribute.vue
Respective components with different visual touchpoints:
-
Due data - Boards:
app/assets/javascripts/boards/components/issue_due_date.vue
- List:
app/assets/javascripts/issues/list/components/issue_card_time_info.vue
- Child items:
ee/app/assets/javascripts/work_items/components/shared/work_item_link_child_metadata.vue
- Boards:
-
Weight - Board: ee/app/assets/javascripts/issues/components/issue_weight.vue
- List:
ee/app/assets/javascripts/issues/list/components/issue_card_time_info.vue
- Child items:
ee/app/assets/javascripts/work_items/components/shared/work_item_link_child_metadata.vue
-
Milestone: - Board:
app/assets/javascripts/issuable/components/issue_milestone.vue
- List:
vue_shared/issuable/list/components/issuable_milestone.vue
- Child items:
app/assets/javascripts/issuable/components/issue_milestone.vue
- Board:
-
Iteration: - Board:
ee/app/assets/javascripts/boards/components/issue_iteration.vue
- Board:
Visual comparition
Relates to #501677 (closed)
Edited by Vedant Jain