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

Pagination Feature #142

Open
zenull opened this issue Sep 19, 2020 · 7 comments
Open

Pagination Feature #142

zenull opened this issue Sep 19, 2020 · 7 comments

Comments

@zenull
Copy link

zenull commented Sep 19, 2020

Could you please add pagination feature so it can be possible browse directories with thousands of files?

Many thanks and much appreciated!

@misterunknown
Copy link
Owner

Yes. I'm working currently on an update which comes with some breaking changes. but is not ready yet.

@misterunknown
Copy link
Owner

misterunknown commented Sep 22, 2020

If you don't want to wait for the next release, you can build the IFM from the branch "sane-coding-style" which I just pushed. There is an additional config option "paging", which is false by default, but can be set to true.

Note: In this branch I rework the error messages, so you might get error messages saying "null". In the best case this shouldn't happen :-P

@SaswatPadhi
Copy link

I would love something like this as well. I have a few large directories and they take forever to load ...

BTW, thanks for creating and opensourcing this awesome project!

@misterunknown
Copy link
Owner

I would love something like this as well. I have a few large directories and they take forever to load ...

Hm, the current solution works only client-side, which does not reduce the loading time for the entire file table. Implementing a "lazy-loading" solution would take some more time.

@SaswatPadhi
Copy link

Thank you, @misterunknown.

Either full lazy loading, or lazy loading of metadata (size, permissions, etc.) would be great for large directories.

@misterunknown
Copy link
Owner

I think I'll go with full lazy loading. Lazy loading only for the metadata would require some huge effort on the client-side and I'm really a JS noob. I hope I can use the DataTables library to handle it client-side, and hence only have to implement it server-side.

@novashdima
Copy link
Contributor

Bug: when pagination enabled - image preview work only on 1-st page.

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

No branches or pull requests

4 participants