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

APP-6033: Add previous page token pagination to logs #551

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

davidcook-viam
Copy link

@davidcook-viam davidcook-viam commented Sep 9, 2024

Adds the optional string previous_page_token to the GetRobotPartLogsResponse proto.

When this token is present in the response, it can be passed back into the GetRobotPartLogsRequest to paginate to the previous page, used for live log tailing.

@davidcook-viam davidcook-viam added the ready-for-protos add this when you want protos to compile on every commit label Sep 9, 2024
@davidcook-viam davidcook-viam marked this pull request as ready for review September 9, 2024 14:40
@davidcook-viam davidcook-viam added bug Something isn't working and removed bug Something isn't working labels Sep 9, 2024
@davidcook-viam davidcook-viam added bug Something isn't working and removed bug Something isn't working labels Sep 9, 2024
@github-actions github-actions bot added the safe to test committer is a member of this org label Sep 9, 2024
@davidcook-viam davidcook-viam added bug Something isn't working and removed bug Something isn't working labels Sep 9, 2024
@@ -651,6 +651,7 @@ message GetRobotPartLogsRequest {
message GetRobotPartLogsResponse {
repeated common.v1.LogEntry logs = 1;
string next_page_token = 2;
optional string previous_page_token = 3;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this match the scope? Can you link it

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh I meant the scope doc API change: Kim's doc that was approved in doc scope review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
protos-compiled ready-for-protos add this when you want protos to compile on every commit safe to test committer is a member of this org
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants