Skip to content

search: Improve search reference panel rendering

Warren Gifford requested to merge fkling/search-reference-panel-performance into main

Created by: fkling

This commits improves rendering the reference panel by not rendering the filter information when the filter isn't openend. This shaves off at least 40ms from rendering the search results page (profiling revealed that rendering the search reference panel can sometimes take up to 120 ms).

Before (SearchSidebarSection for 60ms): 2022-07-19_12-01

After SearchSidebarSection for 18ms): 2022-07-19_15-52

Test plan

Filter information is shown when clicking on a filter in the reference panel.

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Loading