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

[Bug]: Performance issue with opening categories (large dataset with nested children) #122

Closed
dhruva81 opened this issue Oct 12, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@dhruva81
Copy link

What happened?

In my application, I have over 5000 categories, (up to 4 levels of nested children). Due to the large number of categories and the deep nesting, the interface becomes very slow when trying to open the categories, and sometimes it freezes altogether.

Is there any way to optimize the performance for handling such a large dataset?

How to reproduce the bug

Have over 5000 categories in the application, structured with multiple levels of nested children.
Attempt to open the categories section in the application.

Package Version

3.1.42

PHP Version

8.2.0

Laravel Version

11

Which operating systems does with happen with?

No response

Notes

No response

@dhruva81 dhruva81 added the bug Something isn't working label Oct 12, 2024
@CodeWithDennis
Copy link
Owner

CodeWithDennis commented Oct 12, 2024

Thanks for reporting this issue. It's a known problem because the plugin loads all the records when building the tree. Unfortunately, the underlying package doesn't have a feature to load on collapse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants