Skip to content

Add merge trains pagination

Payton Burdette requested to merge 466568-add-mt-pagination into master

What does this MR do and why?

We are working on building a new feature, merge train visualization.

In this MR I add a the ability to paginate through cars and query params on tabs.

Progress

Part One: !149025 (merged)

Part Two: !151940 (merged)

Part Three: !152400 (merged)

Part Four: !156064 (merged)

Part Five: !156521 (merged)

Part Six: You are here

Part Seven: TBD

Part Eight: TBD

See the entire epic here where I have mapped out this feature build.

MR acceptance checklist

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

Screenshots or screen recordings

Note: I changed the limit to 1 locally for this screen recording to show functionality. The limit in-fact is 20 and pagination will only show when there are more than 20 cars for a given target branch.

pagination-demo.mov

How to set up and validate locally

  1. Enable merge trains and the FF merge_trains_viz
  2. Visit http://gdk.test:3000/namespace/project/-/merge_trains or add an MR to the train and click "View merge details" in the widget on an MR.
  3. Ensure pagination works and branch selection

Related to #466568 (closed)

Edited by Payton Burdette

Merge request reports

Loading