[go: up one dir, main page]

Add pagination to mirrors list

What does this MR do and why?

Contributes to https://gitlab.com/gitlab-org/gitlab/-/issues/580289

Problem

Mirror configuration page is missing pagination for mirrors.

Solution

  • Extract remote mirror page into a custom template
  • Add missing pagination logic

References

https://gitlab.com/gitlab-org/gitlab/-/issues/580289

How to reproduce

  1. Visit a project page
  2. Go to Settings -> Repository -> Mirroring repositories
  3. Add push mirror configurations (more than 20 to trigger the pagination, or reduce the default limit to 2 and restart GDK)
  4. You should see the pagination below the mirroring repositories table

Screenshots

Screenshot_2025-11-14_at_18.25.59

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #580289

Edited by Vasilii Iakliushin

Merge request reports

Loading