Closed ykeremy closed 2 weeks ago
Enhanced JSONArtifact and StepArtifacts components to handle multiple artifacts by updating types, fetching logic, and artifact handling.
JSONArtifact
StepArtifacts
Key points:
skyvern-frontend/src/routes/tasks/detail/JSONArtifact.tsx
useQueries
Props
ArtifactApiResponse
fetchArtifact
file://
s3://
skyvern-frontend/src/routes/tasks/detail/StepArtifacts.tsx
find
filter
Generated with :heart: by ellipsis.dev
Summary:
Enhanced
JSONArtifact
andStepArtifacts
components to handle multiple artifacts by updating types, fetching logic, and artifact handling.Key points:
JSONArtifact
andStepArtifacts
components to support multiple artifacts.JSONArtifact
inskyvern-frontend/src/routes/tasks/detail/JSONArtifact.tsx
to handle multiple artifacts usinguseQueries
.Props
type inJSONArtifact
to accept an array ofArtifactApiResponse
.fetchArtifact
function to handlefile://
ands3://
URIs.StepArtifacts
inskyvern-frontend/src/routes/tasks/detail/StepArtifacts.tsx
to pass arrays of artifacts toJSONArtifact
.find
withfilter
inStepArtifacts
to handle multiple artifacts of the same type.Generated with :heart: by ellipsis.dev