Skip to content

Add pipeline schedules pagination

Payton Burdette requested to merge pb-add-schedules-pagination into master

What does this MR do and why?

Adds schedules pagination for self managed instances where schedules count can be over 100.

Related to: #426141 (closed)

Screenshots or screen recordings

Screenshot has changed limit to 3 per page in app/assets/javascripts/ci/pipeline_schedules/constants.js for testing.

Screenshot 2023-10-10 at 11.49.37 AM.png

How to set up and validate locally

  1. Have pipeline schedules created
  2. Change SCHEDULES_PER_PAGE variable to value lower than total count to invoke pagination.
  3. Test to ensure pagination works visit Build > Pipeline Schedules
  4. Review code

MR acceptance checklist

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

Edited by Payton Burdette

Merge request reports