Closed (fixed)
Project:
Iconify Icons
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
15 Oct 2024 at 15:03 UTC
Updated:
13 Dec 2024 at 16:01 UTC
Jump to comment: Most recent
We are encountering performance issues when loading all icon packs from Iconify as a provider. This is due to how the UI Icons module processes and generates icons in bulk. To address this, we have implemented a settings form that allows users to selectively enable specific icon collections for the provider, helping to reduce the load and improve performance.
This is something that should be handle in UI Icons, but we can keep this as temporary solution.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
gxleano commentedComment #5
mogtofu33 commentedLittle changes with ui_icons beta2 about the name of the hook (we changed `ui_icons` to `icon` to ease the core merge we hope for).
So when hopefully it goes core you will not have to change anything.
Second change is about adding
processDefinition(), because in the class DefaultPluginManager, method alterDefinitions() run after processDefinition(), and we use the process to call the extractor for the list of icons discovered. So because you add a definition you need to have the process step added.Comment #6
gxleano commentedComment #16
gxleano commented