-
Notifications
You must be signed in to change notification settings - Fork 839
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: add pagination for all GET apis' of git providers #776
feat: add pagination for all GET apis' of git providers #776
Conversation
I dont think we will require rate limiting here, but who knows. There are always some extreme users.. |
As I said, no need for tagging us separately cause we automatically get 3 emails per PR 😄 Your solution by itself does not influence nor solve #761 since the pagination can not be used. The scope of solving this issue is not only to add pagination to git providers on the backend, but to expose that functionality via the API and make the TUI lists paginate properly. I'll place the PR in draft since you did part of the work on the backend. Mark it for review when you applied the required changes or let us know if you don't want to continue solving this. |
do you mean adding pagination for frontend TUI here?
Or support an argument like 'page' which comes from the backend and then applying pagination? |
@abhishek818 both 😄 In order for the TUI pagination to work, you need to implement it on the API as well. |
update: if not urgently needed to be merged, will come back to this after a couple of days. |
I am back since you guys posted many bounties lol! |
6e7a940
to
e9de1c6
Compare
@Tpuljak closed? this pr is related to another issue.. |
Hi @abhishek818 ! |
Up for review! |
Similar changes needed for get branches, namespaces etc. but want to confirm first since this is a api signature change.. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@abhishek818 the direction seems good but I see that a check is failing. Please address that and my comment below.
From what I can see, this direction is good and you can implement it for other methods as well. I'll place the PR in draft.
781a355
to
ebc16b8
Compare
can you help with the swagger error? Everytime I make the suggested changes, it fails with a different change. Tried running hack/swagger.sh file.. |
…io#761) Signed-off-by: Abhishek Kumar Gupta <abhishekguptaatweb17@gmail.com>
Signed-off-by: Abhishek Kumar Gupta <abhishekguptaatweb17@gmail.com>
Signed-off-by: Abhishek Kumar Gupta <abhishekguptaatweb17@gmail.com>
Signed-off-by: Abhishek Kumar Gupta <abhishekguptaatweb17@gmail.com>
Signed-off-by: Abhishek Kumar Gupta <abhishekguptaatweb17@gmail.com>
Signed-off-by: Abhishek Kumar Gupta <abhishekguptaatweb17@gmail.com>
Signed-off-by: Abhishek Kumar Gupta <abhishekguptaatweb17@gmail.com>
Signed-off-by: Abhishek Kumar Gupta <abhishekguptaatweb17@gmail.com>
Signed-off-by: Abhishek Kumar Gupta <abhishekguptaatweb17@gmail.com>
Signed-off-by: abhishek kumar gupta <abhishekguptaatweb17@gmail.com>
…io#761) Signed-off-by: abhishek818 <abhishekguptaatweb17@gmail.com>
Signed-off-by: abhishek818 <abhishekguptaatweb17@gmail.com>
Signed-off-by: abhishek818 <abhishekguptaatweb17@gmail.com>
Signed-off-by: abhishek818 <abhishekguptaatweb17@gmail.com>
Signed-off-by: abhishek818 <abhishekguptaatweb17@gmail.com>
Signed-off-by: abhishek818 <abhishekguptaatweb17@gmail.com>
Signed-off-by: abhishek818 <abhishekguptaatweb17@gmail.com>
Signed-off-by: abhishek818 <abhishekguptaatweb17@gmail.com>
c57b60c
to
aa9b8b8
Compare
Signed-off-by: abhishek818 <abhishekguptaatweb17@gmail.com>
/tip $50 |
🎉🎈 @abhishek818 has been awarded $50! 🎈🎊 |
Enhancement: add pagination for all GET apis' of git providers (#761)
Description
Almost every GET api results have been limited by a value of 100 items. Hence, we must enable pagination.
Related Issue(s)
This PR addresses issue #761
closes #761
/claim #761
Screenshots
If relevant, please add screenshots.
Notes
Please add any relevant notes if necessary.