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.
I just tested and the slash icon selection dropdown when using Silk is really slow...
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.
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...
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.