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

Alerts UI: handle incomplete Criteria #4217

Merged
merged 5 commits into from
Mar 3, 2024
Merged

Conversation

ericpgreen2
Copy link
Contributor

This PR adds specific copy to the Alert Preview section for when Criteria are not fully specified.

The PR refactors the AlertDataPreview component into two distinct components: DataPreview for tab 1 and AlertPreview for tab 2. This refactor is motivated by:

  • The Data Preview should not include the Alert's criteria in its API call.
  • Each tab's Preview has its own helper text.

Copy link
Collaborator

@AdityaHegde AdityaHegde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a couple of nits.

web-common/src/features/dashboards/stores/filter-utils.ts Outdated Show resolved Hide resolved
@ericpgreen2 ericpgreen2 merged commit 1016775 into main Mar 3, 2024
4 checks passed
@ericpgreen2 ericpgreen2 deleted the handle-incomplete-criteria branch March 3, 2024 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants