There are 4 comments.
 
 
XWiki Platform / cid:jira-generated-image-avatar-6f53551d-d166-40f7-91b1-a4e98388b8f3 XWIKI-22540 Open

Slow loading time when changing the icons theme to Silk in the Icon picker

 
View issue   ยท   Add comment
 

4 comments

 
cid:jira-generated-image-avatar-1d93265c-2dbb-4cea-947c-525feeaf20c9 Charpentier Lucas on 02/Oct/24 16:53
 

It appears there's no use for the metadata field here. I'll check, but we can make things more than twice as fast by removing the retrieval of all the metadata...

The second way we could make this call faster is if we can compute velocity directly from inside the javascript.

 
cid:jira-generated-image-avatar-1d93265c-2dbb-4cea-947c-525feeaf20c9 Charpentier Lucas on 02/Oct/24 17:01
 

Dorian Ouakli It seems you introduced it in https://jira.xwiki.org/browse/XWIKI-20979 ,do you think we could find an alternative solution that wouldn't make it as slow.

 

I just tested and the slash icon selection dropdown when using Silk is really slow...

 
cid:jira-generated-image-avatar-1d93265c-2dbb-4cea-947c-525feeaf20c9 Charpentier Lucas on 02/Oct/24 17:02
 
It appears there's no use for the metadata field here. I'll check, but we can make things more than twice as fast by removing the retrieval of all the metadata...

The second way we could make this call faster is if we can compute velocity directly from inside the javascript
so that there's no need to render the HTML of each icon before sending it .
 
cid:jira-generated-image-avatar-1d93265c-2dbb-4cea-947c-525feeaf20c9 Charpentier Lucas on 02/Oct/24 17:02
 
[~douakli] It seems you introduced it the retrieval of metadata for icons in https://jira.xwiki.org/browse/XWIKI-20979 ,do you think we could find an alternative solution that wouldn't make it as slow.

 

I just tested and the slash icon selection dropdown when using Silk is really slow...