-
Notifications
You must be signed in to change notification settings - Fork 48
DATA-3396: Add GetLatestTabularData endpoint to TypeScript SDK #419
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
Conversation
kaywux
left a comment
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.
Nice, LGTM!
| resourceName: string, | ||
| resourceSubtype: string, |
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.
How would y'all feel about swapping these 2? I kinda like the idea of progressive specificity -- go from least specific (part) to most specific (method name).
So the order would be part -> subtype -> name -> method
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.
I think if you guys don't mind, we'd like to keep the order as is, at least in this PR - this follows the existing ordering convention for data that's shown in the UI, among other places. We're already exposing this ordering to users (below is a screenshot from the image / sensor view's filter panel) so would like to keep things consistent.
Of course, happy to discuss further on this - the field order switch could definitely be a larger change across data
🔗 Link your GitHub account to AtlassianTo enable Code Reviewer, please link your GitHub account to your Atlassian account. Click here to connect your accounts This is a one-time setup that takes less than a minute. |
We added a new Data endpoint GetLatestTabularData https://github.com/viamrobotics/app/pull/6896, this PR adds the endpoint to Typescript SDK.