Skip to content

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

Screenshot_2021-09-23_at_2.05.25_PM

How to set up and validate locally

Example below:

  1. Enable error tracking for the project. Choose GitLab when form asks about backend.
  2. 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)) }
  3. Visit project error tracking page
  4. 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.

Edited by Dmytro Zaporozhets (DZ)

Merge request reports