n1crack / vuefinder

Empower your Vue.js applications with this versatile and customizable file manager component, simplifying file organization and navigation.
https://vuefinder.ozdemir.be
MIT License
259 stars 74 forks source link

Large Dataset performance #70

Open sandman7920 opened 3 months ago

sandman7920 commented 3 months ago

The performance is poor (and memory-hungry) when the listing is large, in my case 12k entities. Can lazy loading be used or something like virtual-scroller.

n1crack commented 3 months ago

Yes, you are right. This is in my todo list.

It can be infinite scrollbar or load more button, maybe a pagination.

Search results should be the same, it should show limited results.

See https://github.com/n1crack/vuefinder/discussions/40

sandman7920 commented 3 months ago

What's your long-term plan for this component? I am willing to write a performant backend in Golang and maybe CPP.

n1crack commented 3 months ago

Well, I want to update php backend, also create two more for php, one for Laravel and the other for specific to spatie medialibrary package.

For the frontend, we simplified things recently. I want to make it more customizable, such as users can add their own callbacks to every ajax routes.

I need to solve previewing stateless auth files, previewing images with a token etc.

Maybe I can add a plugin to make text previews highlighted for codes.

Another thing that I want to add is typescript support.

And some things about permissions, like a lock indicator, showing editing write/read permissions. I am not sure of this yet.