Add description version unification for epic and epic work item
This allows handling epic and epic work item description_versions transparently between epic and its corresponding epic work item. This will also allow us to easier unify epic and epic work item system notes related todescription version changes and later on drop legacy epic support while keeping the data intergrity. re https://gitlab.com/gitlab-org/gitlab/-/issues/443540
显示
- app/models/concerns/versioned_description.rb 2 个添加, 5 个删除app/models/concerns/versioned_description.rb
- app/models/description_version.rb 2 个添加, 0 个删除app/models/description_version.rb
- app/models/note.rb 5 个添加, 2 个删除app/models/note.rb
- ee/app/graphql/ee/types/description_version_type.rb 5 个添加, 2 个删除ee/app/graphql/ee/types/description_version_type.rb
- ee/app/models/concerns/work_items/epic_as_work_item.rb 5 个添加, 0 个删除ee/app/models/concerns/work_items/epic_as_work_item.rb
- ee/app/models/concerns/work_items/unified_associations/description_versions.rb 43 个添加, 0 个删除...s/work_items/unified_associations/description_versions.rb
- ee/app/models/ee/description_version.rb 5 个添加, 7 个删除ee/app/models/ee/description_version.rb
- ee/app/models/ee/group.rb 4 个添加, 0 个删除ee/app/models/ee/group.rb
- ee/app/models/ee/note.rb 4 个添加, 0 个删除ee/app/models/ee/note.rb
- ee/app/models/ee/work_item.rb 0 个添加, 5 个删除ee/app/models/ee/work_item.rb
- ee/app/policies/epic_policy.rb 1 个添加, 0 个删除ee/app/policies/epic_policy.rb
- ee/app/services/concerns/epics/sync_as_work_item.rb 3 个添加, 1 个删除ee/app/services/concerns/epics/sync_as_work_item.rb
- ee/app/services/concerns/work_items/sync_as_epic.rb 1 个添加, 1 个删除ee/app/services/concerns/work_items/sync_as_epic.rb
- ee/config/feature_flags/wip/epic_and_work_item_notes_unification.yml 9 个添加, 0 个删除...eature_flags/wip/epic_and_work_item_notes_unification.yml
- ee/spec/controllers/groups/epics_controller_spec.rb 14 个添加, 0 个删除ee/spec/controllers/groups/epics_controller_spec.rb
- ee/spec/controllers/groups/work_items_controller_spec.rb 12 个添加, 0 个删除ee/spec/controllers/groups/work_items_controller_spec.rb
- ee/spec/controllers/projects/issues_controller_spec.rb 6 个添加, 0 个删除ee/spec/controllers/projects/issues_controller_spec.rb
- ee/spec/controllers/projects/merge_requests_controller_spec.rb 3 个添加, 0 个删除...ec/controllers/projects/merge_requests_controller_spec.rb
- ee/spec/models/ee/description_version_spec.rb 2 个添加, 1 个删除ee/spec/models/ee/description_version_spec.rb
- ee/spec/models/epic_spec.rb 65 个添加, 24 个删除ee/spec/models/epic_spec.rb
加载中
想要评论请 注册 或 登录