fix(dashboards): Add equation| prefix to non-allowed aggregates in prebuilt dashboards#110308
Merged
DominikB2014 merged 3 commits intomasterfrom Mar 11, 2026
Conversation
…ebuilt dashboards Prebuilt dashboard configs use aggregates like count_if, avg_if, performance_score, and opportunity_score that are not in the allowed Explore visualize aggregates list. Prefix these with equation| so they are handled correctly when opened in Explore. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
static/app/views/dashboards/utils/prebuiltConfigs/queues/queueSummary.ts
Show resolved
Hide resolved
static/app/views/dashboards/utils/prebuiltConfigs/webVitals/webVitals.ts
Show resolved
Hide resolved
Strip equation prefix when matching internal error count field and use equation index syntax for orderby in prebuilt dashboard configs. This fixes "None" columns appearing in explore tables for queues and web vitals dashboards. Co-Authored-By: Claude Opus 4.6 <noreply@example.com>
static/app/views/dashboards/utils/prebuiltConfigs/webVitals/webVitals.ts
Outdated
Show resolved
Hide resolved
Contributor
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
static/app/views/dashboards/utils/prebuiltConfigs/webVitals/webVitals.ts
Outdated
Show resolved
Hide resolved
Use nullish coalescing instead of logical OR for error count to preserve zero values. Use explicit equation name in orderby instead of fragile index-based reference. Co-Authored-By: Claude <noreply@anthropic.com>
nikkikapadia
approved these changes
Mar 10, 2026
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Prebuilt dashboard configs use aggregates like
count_if,avg_if,performance_score,opportunity_score, andcount_scoresthat are not in theALLOWED_EXPLORE_VISUALIZE_AGGREGATESlist. When these dashboards are opened in Explore, the aggregates show as "None" columns because they aren't recognized.This adds the
equation|prefix to these aggregates across 11 prebuilt dashboard config files so they are correctly handled when viewed in Explore.Files changed:
count_if)count_if,avg_if)avg_if)performance_score)performance_score,opportunity_score)Fixes BROWSE-418