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

Infinite scroll for users table #159

Closed
4 tasks
diyor28 opened this issue Feb 26, 2025 · 0 comments
Closed
4 tasks

Infinite scroll for users table #159

diyor28 opened this issue Feb 26, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request ui/ux Usability or design problems

Comments

@diyor28
Copy link
Contributor

diyor28 commented Feb 26, 2025

Description

Currently, the users table in our application uses pagination to load and display user data. While this approach works, it requires additional user interaction to navigate between pages, making it less seamless for large datasets. Implementing infinite scrolling would enhance the user experience by dynamically loading more users as the user scrolls down.

Proposed Solution

  • Implement infinite scrolling using an intersection observer or event-based scroll detection.
  • Fetch and append the next set of users when the user reaches the bottom of the list.
  • Optimize API requests to ensure efficient data fetching without overloading the backend.
  • Ensure smooth UI/UX by adding loading indicators for newly fetched users.

Technical Considerations

  • Frontend: Implement lazy loading using Intersection Observer or an equivalent method.
  • Backend: API should support cursor-based or offset-based pagination to efficiently retrieve more users.
  • Performance: Avoid excessive re-renders and unnecessary API calls to maintain a smooth scrolling experience.

Acceptance Criteria

  • Users are loaded dynamically as the user scrolls down.
  • No noticeable lag or delay in loading new users.
  • API calls are optimized and do not cause excessive load on the server.
  • Works consistently across different screen sizes and devices.

Additional Context

  • If the users table supports sorting or filtering, ensure that infinite scroll works correctly with these features.
@diyor28 diyor28 added enhancement New feature or request ui/ux Usability or design problems labels Feb 26, 2025
@diyor28 diyor28 added this to SDK core Feb 26, 2025
@diyor28 diyor28 moved this to Ready in SDK core Feb 26, 2025
@github-project-automation github-project-automation bot moved this from Ready to Done in SDK core Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ui/ux Usability or design problems
Projects
Status: Done
Development

No branches or pull requests

2 participants