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

Enhancements | Add pagination (Frontend) #6

Open
KrupaPanchal2527 opened this issue Jun 24, 2024 · 2 comments
Open

Enhancements | Add pagination (Frontend) #6

KrupaPanchal2527 opened this issue Jun 24, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@KrupaPanchal2527
Copy link
Collaborator

Add the ability to paginate on both UI and API. Try to opt for infinite loading on UI.

@aadeshkulkarni aadeshkulkarni self-assigned this Jul 3, 2024
@aadeshkulkarni
Copy link
Owner

This commit completes the backend changes for pagination.

The stage is set for UI changes - specifically Infinite scroll.

If anyone is up for this, feel free to pick it up.

@aadeshkulkarni aadeshkulkarni removed their assignment Jul 3, 2024
@aadeshkulkarni aadeshkulkarni added the enhancement New feature or request label Jul 3, 2024
@aadeshkulkarni aadeshkulkarni changed the title Enhancements | Add pagination Enhancements | Add pagination (Frontend) Aug 23, 2024
@aadeshkulkarni
Copy link
Owner

Screenshot 2024-08-23 at 10 10 33 PM

The API returns following information which can be used by the frontend to implement pagination (infinite scroll)

current = current_page_number
pages = total_pages
recordsPerPage = total_records in current page
total = total records

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants