Work Item widget notes part 2 - pagination and sorting
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
- Enable the work_items_mvc_2 flag
Feature.enable(:work_items_mvc_2)
- Visit any task either in full view or half view
- See that by default the activity list is available in
oldest first
- When you switch the order the sorting is changed
- 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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #378949 (closed)
Edited by Deepika Guliani