Skip to content

fix(dashboards): Add equation| prefix to non-allowed aggregates in prebuilt dashboards#110308

Merged
DominikB2014 merged 3 commits intomasterfrom
dominikbuszowiecki/browse-418-none-column-shown-in-explore-for-various-tables-throughout
Mar 11, 2026
Merged

fix(dashboards): Add equation| prefix to non-allowed aggregates in prebuilt dashboards#110308
DominikB2014 merged 3 commits intomasterfrom
dominikbuszowiecki/browse-418-none-column-shown-in-explore-for-various-tables-throughout

Conversation

@DominikB2014
Copy link
Contributor

@DominikB2014 DominikB2014 commented Mar 10, 2026

Prebuilt dashboard configs use aggregates like count_if, avg_if, performance_score, opportunity_score, and count_scores that are not in the ALLOWED_EXPLORE_VISUALIZE_AGGREGATES list. 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:

  • AI dashboards: aiAgentsModels, aiAgentsTools, mcpOverview, mcpPrompts, mcpResources, mcpTools (count_if)
  • Queues: queues, queueSummary (count_if, avg_if)
  • Laravel: laravelOverview (avg_if)
  • Next.js: nextJsOverview (performance_score)
  • Web Vitals: webVitals (performance_score, opportunity_score)

Fixes BROWSE-418

…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>
@linear-code
Copy link

linear-code bot commented Mar 10, 2026

@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Mar 10, 2026
@DominikB2014 DominikB2014 marked this pull request as ready for review March 10, 2026 17:52
@DominikB2014 DominikB2014 requested a review from a team as a code owner March 10, 2026 17:52
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>
Copy link
Contributor

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

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.

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>
@DominikB2014 DominikB2014 merged commit 3ca862a into master Mar 11, 2026
60 checks passed
@DominikB2014 DominikB2014 deleted the dominikbuszowiecki/browse-418-none-column-shown-in-explore-for-various-tables-throughout branch March 11, 2026 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants