Corpus Management - Corpus Table - Pagination
Designs
Implement the designs from the MVC (https://www.figma.com/file/eSIeuIPKFwEDs4X9ky2O5E/Corpus-Registry?node-id=156%3A0) which was previously designed as part of this design issue
For reference look at:
ee/app/assets/javascripts/iterations/components/iteration_report_issues.vue
Implementation Plan
- Add gl-pagination component
- Refactor query params in ee/app/assets/javascripts/security_configuration/corpus_management/components/corpus_management.vue to use
queryParam
helper function and include pagiantion params - Add computed props for
prevPage
andnextPage
- Add
handlePageChane
function - Add pageInfo to
data
in vue component. - Add unit tests
Estimation
Normally I'd say a solid 2, but I haven't done pagination with Apollo client before, so giving a 3 to factor in learning curve
Edited by -