Add pagination to integrated error tracking
What does this MR do and why?
Implements pagination for integrated error tracking. Before this merge request, only first 20 records were displayed. Issue #329596 (closed)
Screenshots or screen recordings
How to set up and validate locally
Example below:
- Enable error tracking for the project. Choose
GitLab
when form asks about backend. - Seed project with few errors. Use
rails console
for it.(0..50).each { |i| FactoryBot.create(:error_tracking_error, name: "Some error #{i}", project: Project.find(1)) }
- Visit project error tracking page
- See pagination buttons
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Dmytro Zaporozhets (DZ)