Closed grigasp closed 1 year ago
The class grouping node says it's grouping 42552 elements. However, the
getPagedContent
andgetPagedContentSet
requests think there are 1000341 items in the content set. Needs investigation.
When loading content items for hilite set we traverse ElementOwnsChildElements
relationship recursively and that results in 1000341 elements when selecting that specific class grouping node.
It takes a long time to hilite the grouped elements. Investigate why.
Performance improved with https://github.com/iTwin/imodel-native/pull/550.
Hilite fails if the hilite set has more than 65536 items (see image below). Need to avoid this.
The requests to get the grouped elements are being sent even after the class grouping node is deselected. Could we cancel that if selection changes during the process?
Part of the change is in https://github.com/iTwin/itwinjs-core/pull/6221. When that gets released, a change in @itwin/presentation-components
will be needed to stop loading hilite set upon unified selection change. That feature will be included in the 5.0
major release.
Update: The change was completed with https://github.com/iTwin/presentation/pull/354.
Repro: