Skip to content

Work Item widget notes part 2 - pagination and sorting

Deepika Guliani requested to merge 378949-wi-widget-notes-2 into master

What does this MR do and why?

This MR is part 2 of Add work item notes widget Pt 1 - Fetching & sy... (!104825 - merged). We add pagination and sorting to activity notes in this MR

Screenshots or screen recordings

Before After
Screen_Recording_2022-12-14_at_3.07.41_PM Screen_Recording_2022-12-14_at_3.00.57_PM

How to set up and validate locally

  1. Enable the work_items_mvc_2 flag
    Feature.enable(:work_items_mvc_2)
  2. Visit any task either in full view or half view
  3. See that by default the activity list is available in oldest first
  4. When you switch the order the sorting is changed
  5. Reload the page and see that all the pages are fetched in batches ( this should be available on request when the sorting is available on the backend , since sorting is available on the frontend , we need to fetch all pages at one go)

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #378949 (closed)

Edited by Deepika Guliani

Merge request reports