feat: Add between and not-between alert thresholds#2130
Conversation
🦋 Changeset detectedLatest commit: 2aafb7b The changes in this PR will be included in the next version bump. This PR includes changesets to release 5 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🔴 Tier 4 — CriticalTouches auth, data models, config, tasks, OTel pipeline, ClickHouse, or CI/CD. Why this tier:
Review process: Deep review from a domain expert. Synchronous walkthrough may be required. Stats
|
PR ReviewThis PR is well-implemented with validation at multiple layers (Zod schemas, form-level, API), comprehensive test coverage (unit, integration, E2E), and consistent handling across all surfaces. No critical issues found.
|
E2E Test Results✅ All tests passed • 146 passed • 3 skipped • 1058s
Tests ran across 4 shards in parallel. |
0538da4 to
221ecfe
Compare
221ecfe to
580122d
Compare
| .map(t => | ||
| isBuilderSavedChartConfig(t.config) ? t.config.alert : undefined, | ||
| ) |
There was a problem hiding this comment.
Fixes bug: dashboards with alerts on raw sql tiles were not showing up with an alert indicator on the appnav
Summary
This PR adds BETWEEN and NOT BETWEEN alert threshold types.
Screenshots or video
How to test locally or on Vercel
This must be tested locally, since alerts are not supported in the preview environment.
To see the notification content, run an echo server locally and create a webhook that targets it (http://localhost:3000):
References