lukas-frey / filament-icon-picker

An icon picker field for Filament
MIT License
106 stars 20 forks source link

Very slow when searching on multiple icon packages #35

Closed mbechaa closed 3 months ago

mbechaa commented 4 months ago

Hi, I have installed the Filament Icon Picker but I'm experiencing a problem. I've installed 4 icon packages, as follows : ['fontawesome-solid','boxicons-regular','blade-mdi','fluentui-system-icons'] But when I'm doing a search to find an icon from an IconPicker field, the search takes a very long time. Is there any workaround to avoid this ? I precise that I've cached the icons in order to get better performance in Filament but this doesn't affect the search on icons from the Icon Picker field apparently. The search result works correctly and the icons of the different packages are found but it's too long before getting a result.

Many thanks for your replies.

Voltra commented 4 months ago

Will make a PR for better search performances when icon caching is enabled

github-actions[bot] commented 3 months ago

:tada: This issue has been resolved in version 2.2.3 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: