Skip to content

feat(dashboards): Enable heat map cross-navigation#118108

Open
gggritso wants to merge 1 commit into
masterfrom
georgegritsouk/heat-map-cross-navigation
Open

feat(dashboards): Enable heat map cross-navigation#118108
gggritso wants to merge 1 commit into
masterfrom
georgegritsouk/heat-map-cross-navigation

Conversation

@gggritso

Copy link
Copy Markdown
Member

Enables heat map cross-navigation in both directions:

  • Dashboard -> Explore: opening a dashboard heat map widget in Explore. getWidgetMetricsUrl now maps DisplayType.HEATMAP -> ChartType.HEATMAP.
  • Explore -> Dashboard: adding an Explore heat map to a dashboard. useAddToDashboard maps ChartType.HEATMAP -> DisplayType.HEATMAP, and useSaveAsMetricItems drops its heat-map guards.

As a prerequisite, this adds the DisplayType.HEATMAP enum value in static/app/views/dashboards/types.tsx (a small, additive change the cross-nav code references).

This behavior is dormant behind the existing data-browsing-heat-map-widget flag — Explore heat maps only exist with that flag, so landing this early is safe. It's split out of the larger heat map dashboard widget work so it can merge independently.

Refs DAIN-1654

Wire up opening a dashboard heat map widget in Explore
(getWidgetMetricsUrl maps DisplayType.HEATMAP -> ChartType.HEATMAP) and
adding an Explore heat map to a dashboard (useAddToDashboard maps
ChartType.HEATMAP -> DisplayType.HEATMAP; useSaveAsMetricItems drops the
heat-map guards). Adds the DisplayType.HEATMAP enum value as a prerequisite.

Dormant behind the data-browsing-heat-map-widget flag. Split out of the heat
map dashboard widget work so it can merge independently.

Refs DAIN-1654
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@gggritso gggritso requested review from a team as code owners June 19, 2026 22:03
@linear-code

linear-code Bot commented Jun 19, 2026

Copy link
Copy Markdown

DAIN-1654

@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jun 19, 2026
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.

1 participant