silverstripe-asset-admin
silverstripe-asset-admin copied to clipboard
Files list loads when clicking a file for the first time
When you first load assets, then click a file in the list for the first time, it will load the sidebar (great!) and it will also load the file list (why?). This won't happen on subsequent presses of the same item but will happen on the first click of any item in the list.
This was raised during a CMS author training. It wasn't particularly noticable until you have many files (and maybe some average hosting) and then the load time of the list was considerable enough for it to be a usability issue.
Can reproduce this - I've highlighted the second list load (/graphql request). As far as I can tell it's not a high impact to the user - those two requests have separate loading indicators, so you can edit the file even though the list is still loading. Still, good catch, we should fix this!
@bergice Since you're already in the depths of asset admin state management, might be a good one to pick up? :)