-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Devan/eng 1247 artifactsartifactid #17053
Conversation
1fb04d7
to
0d58d50
Compare
Gut feeling, it seems a bit odd that we need to do |
if (!artifact) { | ||
return null; | ||
} |
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 TS thinks artifact
might not be truthy because of typing from getQueryService
.
On the hook layer, can you assert that res.data
is truthy
Smart - I'll put that in |
Another reply: we use number values for progress artifacts - which kind of leads me to leave typecasting in the UI |
hmm, would it make sense to have the component to just accept both |
5c6148e
to
ff7dd66
Compare
I think my commit here fixed most of it: ff7dd66 I think that we should keep the separate number and string types, I get a little nervous when directly recasting primitives from the backend. I would be up for seeing if the number can be cast as a string on the backend though and then unifying the type |
ff7dd66
to
1fba2f0
Compare
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.
LGTM.
Just one minor suggestion, and a nit comment
In draft until dependent is merged
Add detail page for each type of data
Checklist
<link to issue>
"mint.json
.