You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have an asset volume with a ton of subfolders on the same level, JS has to initialize them all at once when they are first made visible on the Assets index page, which can take a while.
To fix this, there should be an Element Sources Registry, which contains a full record of all element types’ sources, and which could be loaded in stages. So when expanding an asset volume, for example, its subfolders could be lazy loaded in batches of 50 or 100.
This would probably manifest as an ElementSources service with a few methods that element types could use to keep their source lists updated. Behind the scenes, the sources would be stored in an elementsources DB table. Element types’ getSources() functions would go away.
The text was updated successfully, but these errors were encountered:
Some UX feedback on this:
It should be very quick to jump to anywhere in the source list.
As an example: Say i'm looking for a folder named "Images from Summer School". I don't want to scroll down 50 or 100 at a time, wait for the loading to finish, scroll some more, until I get to the folder.
Likewise, it should be possible to get back to a position in a element source. In this case, that can be a query parameter + a A-Z jump nav. Related to #1596 and #818
If you have an asset volume with a ton of subfolders on the same level, JS has to initialize them all at once when they are first made visible on the Assets index page, which can take a while.
To fix this, there should be an Element Sources Registry, which contains a full record of all element types’ sources, and which could be loaded in stages. So when expanding an asset volume, for example, its subfolders could be lazy loaded in batches of 50 or 100.
This would probably manifest as an
ElementSources
service with a few methods that element types could use to keep their source lists updated. Behind the scenes, the sources would be stored in anelementsources
DB table. Element types’getSources()
functions would go away.The text was updated successfully, but these errors were encountered: