Skip to content

Add Pagination to Tracing List UI

Daniele Rossetti requested to merge rossetd/tracing-pagination into master

What does this MR do and why?

Closed in favour of Infinite Scrolling (!133008 (merged))

Add Pagination to Tracing list

  • Next/Prev pagination
  • Page Size selector
  • Page size and page cursor are store in query param

Closes gitlab-org/opstrace/opstrace#2272 (closed)

Screenshots or screen recordings

Navigation 2023-09-27_12.16.20
Page Size selector

2023-09-27_12.14.16_2

Pagination query params 2023-09-27_12.14.16_1

How to set up and validate locally

Unfortunately running the whole stack is not trivial and not really straightforward to run locally, so I've just attached a demo of these changes. If you want to play around with the changes, I can prepare a VM and share a VPN config with you so you can connect to it and test it.

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 Daniele Rossetti

Merge request reports