Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.x] Paginate folders in asset browser #10419

Merged
merged 16 commits into from
Jul 10, 2024
Merged

Conversation

duncanmcclean
Copy link
Member

@duncanmcclean duncanmcclean commented Jul 9, 2024

This pull request aims to improve the performance of the Asset Browser for asset containers with lots of folders.

Currently, the asset browser displays all folders, all of the time, even when the user navigates between paginated pages.

However, this behaviour is less than ideal for asset containers with lots of folders because it means you might need to scroll for a while to see actual assets and that the AJAX request for fetching folders/assets takes longer than it really needs to.

To address this issue, we've decided to start including folders in the asset browser's pagination, which reduces the number of folders being returned in individual requests, which will subsequentally improve performance.

No issue related to this one, just a support ticket (no 5623).

@duncanmcclean duncanmcclean marked this pull request as ready for review July 9, 2024 18:13
@jasonvarga jasonvarga merged commit 0afece1 into 5.x Jul 10, 2024
18 checks passed
@jasonvarga jasonvarga deleted the asset-folder-performance branch July 10, 2024 18:17
duncanmcclean added a commit that referenced this pull request Oct 14, 2024
The `actions` array wasn't being returned for individual folders, only for the "current" folder.

This was probably caused by the changes in #10419.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants