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 #101

Open
lexoyo opened this issue Sep 23, 2017 · 2 comments
Open

pagination #101

lexoyo opened this issue Sep 23, 2017 · 2 comments

Comments

@lexoyo
Copy link
Member

lexoyo commented Sep 23, 2017

Hello
I don't see any pagination mechanism in unifile, is it on purpose or on the roadmap?

@JbIPS
Copy link
Collaborator

JbIPS commented Oct 17, 2017

Tough question... I understand the potential need behind pagination (since most of the services behind Unifile use it) but I fear we would drift even farther from the Fs API.

Could you provide an actual use case ? Thank you

@lexoyo
Copy link
Member Author

lexoyo commented Nov 17, 2017

I fear we would drift even farther from the Fs API

yes that is right

the use case I had in mind was the "ls" which now displays all your repo or folder, and sometimes it is a huge list... We could load the first items and then when the user scroll load more...

But maybe it is not useful. At least we have to make sure that the ls returns all the files and folders, because if there is a maximum in an API, we could end up listing only the 1st "page"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants