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

Revisit item paging mechanism #1824

Closed
taylortom opened this issue Dec 15, 2017 · 3 comments
Closed

Revisit item paging mechanism #1824

taylortom opened this issue Dec 15, 2017 · 3 comments
Labels
D: easy Straightforward issues, small time commitment T: enhancement Adding additional functionality transfer

Comments

@taylortom
Copy link
Member

taylortom commented Dec 15, 2017

Affects

  • Projects (dashboard)
  • Assets

Current Behaviour

Think we need to improve the way we load up new pages. Currently, we load a single page at a time (a page is the number of items that the user can see at once without scrolling), and do a fetch when the user's near the bottom. The disadvantage to this method for users with a slow connection is that you can get a hang while items are fetched when you're at the bottom of the page. As a user, you also have no idea how many items there are.

Alternative approaches

Improved infinite scrolling

To make this more of a background operation, we should probably load up at least two pages at the beginning, and fetch a new one when we get to the end of the first.

e.g.
=> load pg1, load pg2
=> All pg1 items viewed, load pg3
=> All pg2 items viewed, load pg4
=> etc...

Old-fashioned paging

Show numbered pages, with nav buttons to switch between them.

@taylortom taylortom added D: easy Straightforward issues, small time commitment T: enhancement Adding additional functionality labels Dec 15, 2017
@lc-thomasberger
Copy link
Member

How do you guys feel about an old-school paging approach rather than infinite scrolling?

Infinite scrolling is fine from an UX point of view. However, paging with numbered pages gives you more control and you get a better understanding about the "size" of your (filtered) collection.

https://uxplanet.org/ux-infinite-scrolling-vs-pagination-1030d29376f1

@taylortom taylortom added this to the 0.8.0 Server rewrite milestone Oct 5, 2018
@taylortom
Copy link
Member Author

This is definitely something that should be solved by the refactor in a consistent way (i.e. using common REST practises if we decide to stay RESTful).

@taylortom
Copy link
Member Author

Closing due to inactivity

@taylortom taylortom removed this from the 0.11.0 Server rewrite milestone Dec 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
D: easy Straightforward issues, small time commitment T: enhancement Adding additional functionality transfer
Projects
None yet
Development

No branches or pull requests

2 participants