-
Notifications
You must be signed in to change notification settings - Fork 26
SRVKP-9397: updated field name for capturing next page token in tkr #815
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
base: main
Are you sure you want to change the base?
SRVKP-9397: updated field name for capturing next page token in tkr #815
Conversation
|
@anwesha-palit-redhat: This pull request references SRVKP-9397 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.21.0" version, but no target version was set. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/cc @pratap0007 |
|
@vikram-raj: GitHub didn't allow me to request PR reviews from the following users: pratap0007. Note that only openshift-pipelines members and repo collaborators can review this PR, and authors cannot review their own PRs. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
@anwesha-palit-redhat: GitHub didn't allow me to request PR reviews from the following users: arvindk-softwaredev. Note that only openshift-pipelines members and repo collaborators can review this PR, and authors cannot review their own PRs. In response to this: Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
1df4e01 to
8ebcf41
Compare
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: anwesha-palit-redhat The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/lgtm |
|
@arvindk-softwaredev: changing LGTM is restricted to collaborators In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
/lgtm |
|
@pratap0007: changing LGTM is restricted to collaborators In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
/lgtm |
PR Description
This PR fixes an issue where scrolling fails to load additional PipelineRun results when the
data_sourcefilter is set toarchived. TheonScrollcallback never triggered the next-page request because the Tekton Results client was readingnextPageToken, while the API returnsnext_page_token. Due to this mismatch, the next-page callback was not created, causing pagination to stop after the first page.For demonstration purposes, the
page_sizehas been temporarily set to 10 to make pagination behavior easier to observe.Steps to Reproduce
data_sourcefilter to archived.Actual Result
Pagination stops after the first page; scrolling does not fetch more results.
Expected Result
The list should fetch the next page using
next_page_tokenand load results continuously as the user scrolls.Root Cause
The client expected
nextPageToken, but the API providesnext_page_token, preventing the next-page fetch logic from initializing.Fix Implemented
next_page_tokenfrom the API response.Screen Recording Before
issue_9397.mov
Screen Recording After
https://drive.google.com/file/d/1nAAVR7Uu3UaC7ljFKBnJUxqZafCn6YaN/view?usp=sharing