Large widgets may still be loading in Staffing pages even if not visible in the view and may cause slowness
STEPS TO REPRODUCE:
Expected Results: The Staffing Allocations by Resource to load within a reasonable time
Actual Results: The Staffing Allocations by Resource loads slower, in Dev Tools we can see 4 requests to:
http://localhost/ppm/rest/v1/obaStaffs?_totalCount=false&avg=remainingAvailabilityCurve&fields=remainingAvailabilityCurve&filter=((investments____isActive+%3D+true)+and+(investments____investmentType+in+(%27project%27))+and+(resources____isRole+%3D+false)+and+(projects____obs_ChannelStackCell+in+((5075001),+%27UD%27))+and+(investments____workStatus+in+(%27in_queue%27,%27not_started%27,%27STARTED%27))+and+(resources____isActive+%3D+true))+and+((investments____isActive+%3D+true)+and+(investments____isTemplate+%3D+false))&limit=1&totals=1&tsvParams=(periods%3D(remainingAvailabilityCurve,months,6,2024-03-01T00:00:00,fiscal,totalsOnly)),(workEffortUnit%3Dhours)
The Widget should not have been loaded since it's hidden from the view.
This is DE80379, reviewed by Engineering and Product Management and it is Working by design
The widgets will load after the grid information is loaded regardless if the widget bar is collapsed or not. This is by design and has always worked this way.
Workaround: