Resolve "Query complexity exceeded in objective page"
What does this MR do and why?
This MR changes the page size for fetching work item notes to be static instead of dynamic. Unfortunately, dynamically increasing the page size causes query complexity issues.
On top of this, I've done a little cleanup of unused properties in the notes component.
Screenshots or screen recordings
No visual changes
How to set up and validate locally
- Create any work item (task, objective etc etc)
- Add 30+ comments or system notes to it
- Refresh the page and check GraphQL queries on network tab
-
pageSize
parameter on all work item notes query should be30
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 #409417 (closed)
Edited by Natalia Tepluhina