Skip to content

feat(dashboards): Add missing referrers to Referrer enum#110741

Merged
DominikB2014 merged 1 commit intomasterfrom
dominikbuszowiecki/dain-606-add-missing-queries-to-allowed_events_referrers
Mar 16, 2026
Merged

feat(dashboards): Add missing referrers to Referrer enum#110741
DominikB2014 merged 1 commit intomasterfrom
dominikbuszowiecki/dain-606-add-missing-queries-to-allowed_events_referrers

Conversation

@DominikB2014
Copy link
Contributor

Add dashboard referrers used in the frontend that were missing from the
backend Referrer enum, causing validation warnings in Snuba queries.

Added referrers:

  • api.dashboards-release-selector — release selector dropdown (useReleases.tsx)
  • api.dashboards.details-widget.domain-status — HTTP domain status in details widget
  • api.dashboards.bignumberwidget.row — row-click explore URL for big number widgets
  • api.dashboards.tablewidget.row — row-click explore URL for table widgets
  • api.dashboards.widget.area-chart.row — row-click explore URL for area charts
  • api.dashboards.widget.bar-chart.row — row-click explore URL for bar charts
  • api.dashboards.widget.line-chart.row — row-click explore URL for line charts

The .row variants are dynamically constructed in getWidgetExploreUrl.tsx via
`${getReferrer(widget.displayType)}.row` when clicking table/chart rows.

Also added a # ** Dashboards ** section header to group dashboard referrers,
matching the style used by Insights and Explore sections.

Refs DAIN-606

Add dashboard referrers used in the frontend that were missing from
the backend Referrer enum, causing validation warnings. Adds referrers
for the release selector, details widget domain status, and row-click
explore URL variants for all widget types.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@linear-code
Copy link

linear-code bot commented Mar 16, 2026

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Mar 16, 2026
@DominikB2014 DominikB2014 marked this pull request as ready for review March 16, 2026 15:37
@DominikB2014 DominikB2014 requested a review from a team March 16, 2026 15:37
@DominikB2014 DominikB2014 enabled auto-merge (squash) March 16, 2026 15:38
@DominikB2014 DominikB2014 merged commit 83f8280 into master Mar 16, 2026
79 checks passed
@DominikB2014 DominikB2014 deleted the dominikbuszowiecki/dain-606-add-missing-queries-to-allowed_events_referrers branch March 16, 2026 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants