Allow changing child items batch size via query param
What does this MR do and why?
This MR is only for testing and is to be reverted once test is complete! See #479637 (comment 2052503291) for more information.
Makes page size for child items dynamic by using query param when provided, while falling back to default when not provided.
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.
How to set up and validate locally
- Make sure new epic experience is enabled on your test group, see https://docs.gitlab.com/ee/user/group/epics/epic_work_items.html
- Check if you have more than a few child epics present in a given epic.
- By default, only
20children are loaded at a time withLoad morebutton showing at the bottom of the list. - If
children_count=50is provided as a param in the URL, it will use50as page size instead of20. - Once we're able to gather performance data from GitLab.com, we will revert this MR and change value of
DEFAULT_PAGE_SIZE_CHILD_ITEMSto a number that fits our requirement.
Related to #479637 (closed)
Edited by Kushal Pandya