generated from Real-Dev-Squad/website-template
-
Notifications
You must be signed in to change notification settings - Fork 264
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
feat: Implement Pagination for GET /progreses API #2325
Merged
iamitprakash
merged 18 commits into
Real-Dev-Squad:develop
from
AnujChhikara:feature/pagination-get-progresses-api
Jan 22, 2025
Merged
feat: Implement Pagination for GET /progreses API #2325
iamitprakash
merged 18 commits into
Real-Dev-Squad:develop
from
AnujChhikara:feature/pagination-get-progresses-api
Jan 22, 2025
+138
−15
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 tasks
pankajjs
reviewed
Dec 30, 2024
pankajjs
reviewed
Dec 30, 2024
pankajjs
reviewed
Dec 30, 2024
pankajjs
reviewed
Dec 30, 2024
pankajjs
reviewed
Dec 30, 2024
pankajjs
reviewed
Dec 30, 2024
pankajjs
reviewed
Dec 30, 2024
vikasosmium
reviewed
Dec 30, 2024
Achintya-Chatterjee
changed the title
Implement Pagination for GET /progreses API
feat: Implement Pagination for GET /progreses API
Jan 1, 2025
vinit717
reviewed
Jan 5, 2025
Achintya-Chatterjee
previously approved these changes
Jan 8, 2025
vinit717
reviewed
Jan 9, 2025
video is not working and can you please add more progreses |
Hello @vinit717 video is working for me but i have also added a second video when free please check |
can you add test coverage screenshot not test passing |
vinit717
approved these changes
Jan 17, 2025
Achintya-Chatterjee
approved these changes
Jan 17, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Date: 29 Dec 2024
Developer Name: @AnujChhikara
Issue Ticket Number
Description
This PR introduces pagination support for the GET /progreses API, aimed at improving the performance and scalability when dealing with large datasets. The feature is currently gated behind a development flag for testing. By default, the size is set to 100 items per page.
Additionally, the API response includes links for easy navigation between pages (prev and next links).
Pagination Parameters:
Introduced support for page and size query parameters in the GET /progreses API.
page: The page number to retrieve (defaults to 0 if not specified).
size: The number of items per page. The size can be a value between 1 and 100. If not specified, it defaults to 100.
Pagination Links:
Included prev and next links in the response to allow easy navigation between pages:
prev: URL to the previous page (if applicable).
next: URL to the next page (if applicable).
Changes
Documentation Updated?
Under Feature Flag
Database Changes
Breaking Changes
Development Tested?
Screenshots
Screenshot 1
pagination.mp4
Test Coverage
Screenshot 1
Additional Notes
Tests for these changes will be attached to a different PR - test : add tests for pagination of progresses api #2328 .
Requested API
GET /progresses?type=task&page=1&size=1&dev=true
Response