Duplicate ci_pagination_api_mixin.js into pipelines_pagination_api_mixin.js and environments_pagination_api_mixin.js
Problem
The ci_pagination_mixin.js
is being used in to different areas of the product, Environments and Pipelines, and both are maintained by different teams ~"group::release" and ~"group::continuous integration".
Changes to ci_pagination_mixin.js
may bring unexpected consequences.
Proposal
Duplicate the logic ci_pagination_mixin.js
and go our separate ways, so each team can refactor as needed.
Now:
~/vue_shared/mixins/ci_pagination_api_mixin.js
is used by:
~/commit/pipelines/pipelines_table.vue
~/environments/components/environments_app.vue
~/environments/folder/environments_folder_view.vue
~/pipelines/components/pipelines_list/pipelines.vue
Proposed:
~/environments/mixins/environments_pagination_api_mixin.js
(same as ci_pagination_api_mixin) is used by:
~/environments/components/environments_app.vue
~/environments/folder/environments_folder_view.vue
~/pipelines/mixins/pipelines_pagination_api_mixin.js
(same as ci_pagination_api_mixin) is used by:
~/commit/pipelines/pipelines_table.vue
~/pipelines/components/pipelines_list/pipelines.vue
Edited by Miguel Rincon