Wednesday, February 7, 2024
1 change · saas-17.1
Resolved issues and error corrections
The Web Studio icon picker now filters its icon list more accurately, so users no longer see icons that appear blank or cannot be applied correctly. This prevents confusion when choosing icons and keeps the available options reliable.
Original PR description
This commit is a fix for the FontAwesomeIconSelector component. The regex being used didn't consider some added icons (using other font-family), or alterations of existing ones. Such selectors ".fa.fa-tiktok:before" were matching, resulting in icons being present from the list. But those icons cannot be used properly as a FontAwesome icon, since they may use another font-family, or alter the content value described from the scss. Now, only icons with selectors matching ".fa-[xxx]:before" are found, and the list no longer display invisible icons.