-
Notifications
You must be signed in to change notification settings - Fork 1
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
Enhancement: Progress Artifact #498
Conversation
✅ Deploy Preview for prefect-graphs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
Overall LGTM! Few suggestions but nothing blocking.
type: ArtifactType, | ||
} & RunGraphArtifactTypeAndData |
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.
Since type exists on RunGraphArtifactTypeAndData
It be little more readable and simpler to do this
{
selected?: boolean,
name?: string,
artifact: RunGraphArtifactTypeAndData
}
Then you can just do options.artifact.type
everywhere.
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.
Realize this is already merged. No rush to fix this. Prob fine to ignore but not totally sure. Otherwise we'll end up triggering renders because artifacts changed even if artifacts are disabled.
artifactCacheKey && settings.disableArtifacts, | ||
artifactCacheKey, |
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.
Probably not hurting anything but I think this is what we want here.
artifactCacheKey && settings.disableArtifacts, | |
artifactCacheKey, | |
artifactCacheKey && settings.disableArtifacts, |
This PR adds handling for displaying dynamic progress artifacts on the flow run graph.