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

User ordering after clicking "Load more" jumps around #62

Open
chapmanio opened this issue Jul 30, 2020 · 0 comments
Open

User ordering after clicking "Load more" jumps around #62

chapmanio opened this issue Jul 30, 2020 · 0 comments

Comments

@chapmanio
Copy link
Collaborator

chapmanio commented Jul 30, 2020

Rework user search to query against DynamoDB table instead of Cognito so that we can control the order of results coming back.

We should also consider how paging should work here:

  • Should we page on the API or just in the UI (what's the performance impact of having no paging if we have a large set of users).
  • Should we use token based paging or offset based paging (first is better for consistency, second is better for usability).

Original Issue

Currently when "Load more" is clicked, additional data is retrieved and the client will automatically sort this based on the existing sort and direction selections. This may be jarring for the user and cause a "jump" in the display.

A potential solution may be around creating the user in the DB along with Cognito - although this needs further investigation!

@danielrbradley danielrbradley changed the title Table sorting after "Load more" User ordering after clicking "Load more" jumps around Sep 17, 2020
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

1 participant