Repository navigation
feat: Broadcast adhoc dashboard filter conditions - #3366
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: 59cb26b The changes in this PR will be included in the next version bump. This PR includes changesets to release 4 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 |
E2E Test Results✅ All tests passed • 431 passed • 1 skipped • 1222s
Tests ran across 4 shards in parallel. |
Duplicate code analysisNo new duplicate code introduced by this PR. jscpd compared this branch against |
[Medium impact] The PR appears safe to merge, with the DateTime suggestion guard supplied by dependent PR #3380. SummaryBroadcasts ad hoc conditions to builder queries, raw SQL through
|
0c221d0 to
0f4f74e
Compare
0f4f74e to
43e067a
Compare
43e067a to
5138567
Compare
🟡 Tier 3 — StandardIntroduces new logic, modifies core functionality, or touches areas with non-trivial risk. Why this tier:
Review process: Full human review — logic, architecture, edge cases. Stats
|
PR Review
1 finding(s): 🔴 0 critical · 🟠 0 major · 🔵 1 minor None could be anchored to changed lines; they are listed below. Findings outside the changed lines1 minor
Severity is the reviewer's own estimate and is used for ordering, not filtering. No finding blocks merge automatically; a maintainer decides. |
Deep Review✅ No critical issues found. This PR is well executed: all four prior review findings (unused-expression parse failures, SQL→PromQL 🟡 P2 — recommended
🔵 P3 nitpicks (3)
Reviewers (6): correctness, adversarial, testing, maintainability, kieran-typescript, previous-comments. Testing gaps:
Residual risk (pre-existing, unverified): SQL ad hoc keys are interpolated verbatim into No finding blocks merge automatically. A maintainer will expect P0/P1 findings in code this PR changes to be fixed; P2/P3 are your call -- fix or reply. Never fix findings about surrounding code here; reply instead. Do not widen the PR. How to respond |
5e8d23f to
cb389f0
Compare
cb389f0 to
fc360c9
Compare
fc360c9 to
59cb26b
Compare
Deep Review✅ No critical issues found. The implementation is well-structured and well-tested: the SQL/PromQL 🟡 P2 — recommended
🔵 P3 nitpicks (4)
Reviewers (10): correctness, security, adversarial, testing, maintainability, project-standards, kieran-typescript, previous-comments, agent-native, learnings-researcher. Testing gaps:
No finding blocks merge automatically. A maintainer will expect P0/P1 findings in code this PR changes to be fixed; P2/P3 are your call -- fix or reply. Never fix findings about surrounding code here; reply instead. Do not widen the PR. How to respond |
Summary
This PR broadcasts adhoc filter conditions to tiles
filterconfig property$__filtersmacroScreenshots or video
Without filters
With filters
Rendered conditions are shown in the SQL/PromQL preview:
How to test on Vercel preview
To test promql, test locally against a PromQL source on the metrics_ts table.
References