feat: Add source scoping to dashboard filters#2331
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: 523c74f 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 |
🔴 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
|
E2E Test Results✅ All tests passed • 182 passed • 3 skipped • 1238s
Tests ran across 4 shards in parallel. |
Deep Review✅ No critical issues found. Source scoping is plumbed coherently across the React UI, MCP, REST/OpenAPI, and the import/export converter, with new e2e and round-trip tests covering the happy path. The findings below are mostly missing validation, contract gaps that surface as silent UX failures, and untested branches in the new logic. 🟡 P2 — recommended
🔵 P3 nitpicks (12)
Reviewers (8): correctness, testing, maintainability, project-standards, adversarial, kieran-typescript, api-contract, agent-native. Testing gaps:
|
1244112 to
1712c1d
Compare
1712c1d to
523c74f
Compare
Summary
This PR allows dashboard filters to be scoped to particular sources. All tiles on the dashboard that use one of the selected sources will inherit the filter value. The existing behavior (apply filter to all tiles, regardless of source) remains the default.
This is useful for multi-source dashboards where a filter (eg. SpanName) is compatible with some sources (eg. Traces) and not others (eg. Logs).
This PR includes
Screenshots or video
How to test on Vercel preview
This can mostly be tested in the preview environment
Locally, you can test the MCP updates and external dashboards updates.
References