-
Notifications
You must be signed in to change notification settings - Fork 127
[APP-14503] #5608
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?
[APP-14503] #5608
Conversation
ec59626 to
db32383
Compare
db32383 to
48a248e
Compare
reorder parameters implement GetAppBranding implement GetAppContent
|
|
||
| // AppBranding contains metadata relevant to Viam Apps customizations. | ||
| // | ||
| //nolint:revive // AppBranding is clearer than Content in context of Viam Apps |
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.
Was getting a lint error regarding the stuttering in the exported name app.AppBranding
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.
nit: s/Content/Branding
|
|
||
| // AppContent defines where how to retrieve a Viam Apps app from GCS. | ||
| // | ||
| //nolint:revive // AppContent is clearer than Content in context of Viam Apps |
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.
See above
stuqdog
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.
a couple small things (no need to rerequest review unless you think it would be useful) but generally this looks good to me!
| //nolint:revive // AppBranding is clearer than Content in context of Viam Apps | ||
| type AppBranding struct { | ||
| LogoPath string | ||
| TextCustomizations map[string]*TextOverrides |
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.
(q) curious if this has to be pointers, given that the only field is already nilable?
|
|
||
| // AppBranding contains metadata relevant to Viam Apps customizations. | ||
| // | ||
| //nolint:revive // AppBranding is clearer than Content in context of Viam Apps |
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.
nit: s/Content/Branding
| // | ||
| // ListMachineSummaries example: | ||
| // | ||
| // _, name, err := cloud.ListMachineSummaries( |
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.
what is the _ value? it looks like ListMachineSummaries only returns two values, should this instead be locationSummaries, err := ...?
ticket
This PR implements the API's we created for Viam Apps in the Go SDK. Previously, we had only included them in the typescript SDK since the Viam Apps server was written in Node. Now that we are porting the service over to Go, however, we'll need them in the Go SDK as well.