Skip to content

Refactor runner pagination to simplify code

Miguel Rincon requested to merge 339525-switch-to-keyset-pagination into master

What does this MR do and why?

This refactor changes the pagination component used by runners to make better use of keyset pagination properties.

It makes page changes easier and prevents issues when/if items in the list are removed on the fly. Used by: !93473 (merged)

Screenshots or screen recordings

No visual changes are expected, this is the component updated:

Screenshot_2022-08-04_at_09.11.00

How to set up and validate locally

  1. (optional) Create more dummy runners with the following command
  2. Visit the Admin -> Runners page
  3. Paginate between different pages, clicking Next or Prev.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #339525 (closed)

Edited by Miguel Rincon

Merge request reports