UI freeze for about 1 second when opening an Order Detail #14923
Labels
feature: order details
Related to order details.
priority: medium
Planned tasks usually belonging to ongoing projects
type: enhancement
A request for an enhancement.
I've noticed a consistent UI freeze for about one second when opening the Order details screen on iOS. This issue doesn't occur on other screens. It seems the freeze is due to multiple fetch requests being executed when loading the details, as all read operations are handled on the main thread using the main context.
This seems related to the following warning:
From a discussion that happened here (pe5sF9-3IY#comment-4269), this warning could be occurring because we're making a lot of different fetch requests when loading the details, causing the hang issue.
We should optimize the fetch requests further, for example, by grouping requests to reduce the number of round trips we make to the persistent container. While this issue was discovered during discussions about improving app launch and the warning mentions its effect on app launch, it doesn't seem to be the case here.
Recording
appvideo.1.mov
The text was updated successfully, but these errors were encountered: