-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[ui] Add Automation History to asset checks #26766
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
a486dcf
to
8654307
Compare
e5e9619
to
4881dac
Compare
Deploy preview for dagit-core-storybook ready! ✅ Preview Built with commit 7efdf3f. |
8654307
to
958bf49
Compare
4881dac
to
f53b43c
Compare
f53b43c
to
f14a12b
Compare
js_modules/dagster-ui/packages/ui-core/src/assets/asset-checks/AssetCheckAutomationList.tsx
Outdated
Show resolved
Hide resolved
958bf49
to
a56285f
Compare
29625bb
to
cc60096
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.
This looks great! I think this will make it easier to understand checks and automations together. 🙏
> | ||
<CursorHistoryControls {...paginationProps} style={{marginTop: 0}} /> | ||
</Box> | ||
<EvaluationList |
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.
It seems like <EvaluationList />
was already in the codebase, but not in use? Was thinking the useAssetCheckEvaluationsQueryResult
hook could be used elsewhere but maybe this is the only spot!
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 built it using Storybook, and I'm adding live callsites in this PR stack.
There is a similar (but different) hook for querying evaluations on assets instead of asset checks.
cc60096
to
7efdf3f
Compare
Summary & Motivation
For asset checks that use automation conditions, show an "Automation history" tab with the list of relevant evaluations, much like the Automations tab on assets.
With automation condition:
Without automation condition, hovering on tab:
How I Tested These Changes
Load app with sample repo provided by @OwenKephart, enable automation sensor. Navigate to asset checks, verify that they render correctly, and that the evaluation dialog renders properly.
Changelog
[ui] Add Automation history to asset checks.