Skip to content

Draft: Resolve "Work items list - browser history"

Fernanda Toledo requested to merge 477345-work-items-list-browser-history into master

What does this MR do and why?

Adds router history logic to the /work_items and /epics routes when flags are enabled so the list page URL reflects the filters selected. This is for parity with the legacy logic.

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

Before After
Screen_Recording_2024-08-07_at_5.11.14_PM Screen_Recording_2024-08-07_at_5.08.37_PM

How to set up and validate locally

  1. Enable the flags work_item_epics_list, work_item_epics, work_item_epics_rollout, and namespace_level_work_items
  2. Open the /work_items and /epics routes
  3. Expect that on the initial page opened, the URL already has the default filters and sorting defined in the path
  4. Change all the filters below:
  • sort
  • filters
  • page size
  • tabs
  • page previous and next buttons
  1. Expect that on every change, the page URL updates properly with the set filters

Related to #477345 (closed)

Edited by Fernanda Toledo

Merge request reports

Loading