Skip to content
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

Merged
merged 1 commit into from
Jan 3, 2025

Conversation

hellendag
Copy link
Member

@hellendag hellendag commented Dec 31, 2024

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:

Screenshot 2024-12-31 at 09 47 49

Without automation condition, hovering on tab:

Screenshot 2024-12-31 at 09 47 58

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.

Copy link
Member Author

hellendag commented Dec 31, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Copy link

github-actions bot commented Dec 31, 2024

Deploy preview for dagit-core-storybook ready!

✅ Preview
https://dagit-core-storybook-dmvbbck55-elementl.vercel.app
https://dish-automation-asset-checks.core-storybook.dagster-docs.io

Built with commit 7efdf3f.
This pull request is being automatically deployed with vercel-action

@hellendag hellendag force-pushed the dish/automation-changes branch from 8654307 to 958bf49 Compare December 31, 2024 16:34
@hellendag hellendag force-pushed the dish/automation-asset-checks branch from 4881dac to f53b43c Compare December 31, 2024 16:34
@hellendag hellendag force-pushed the dish/automation-asset-checks branch from f53b43c to f14a12b Compare December 31, 2024 16:39
@hellendag hellendag marked this pull request as ready for review December 31, 2024 16:39
@hellendag hellendag force-pushed the dish/automation-changes branch from 958bf49 to a56285f Compare January 3, 2025 14:56
@hellendag hellendag force-pushed the dish/automation-asset-checks branch 2 times, most recently from 29625bb to cc60096 Compare January 3, 2025 15:11
Copy link
Collaborator

@bengotow bengotow left a 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
Copy link
Collaborator

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!

Copy link
Member Author

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.

Copy link
Member Author

hellendag commented Jan 3, 2025

Merge activity

  • Jan 3, 12:22 PM CST: A user started a stack merge that includes this pull request via Graphite.
  • Jan 3, 12:32 PM CST: Graphite rebased this pull request as part of a merge.
  • Jan 3, 12:33 PM CST: A user merged this pull request with Graphite.

@hellendag hellendag changed the base branch from dish/automation-changes to graphite-base/26766 January 3, 2025 18:23
@hellendag hellendag changed the base branch from graphite-base/26766 to master January 3, 2025 18:30
@hellendag hellendag force-pushed the dish/automation-asset-checks branch from cc60096 to 7efdf3f Compare January 3, 2025 18:31
@hellendag hellendag merged commit 844b0d3 into master Jan 3, 2025
1 of 2 checks passed
@hellendag hellendag deleted the dish/automation-asset-checks branch January 3, 2025 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants