Skip to content

feat(explore): Add Chartcuterie config for Explore heat maps#118253

Merged
gggritso merged 3 commits into
masterfrom
georgegritsouk/logs-889-add-chartcuterie-configurations-for-heat-maps-in-explore
Jun 23, 2026
Merged

feat(explore): Add Chartcuterie config for Explore heat maps#118253
gggritso merged 3 commits into
masterfrom
georgegritsouk/logs-889-add-chartcuterie-configurations-for-heat-maps-in-explore

Conversation

@gggritso

Copy link
Copy Markdown
Member

To render Heat Map charts in Chartcuterie, Sentry must add a configuration for that type. That's what this PR does.

Note that a lot of the configuration code is shared/similar between the Chartcuterie setup and HeatMapWidgetVisualization but that's intentional. The palette is shared (important) but Chartcuterie configuration is different since it's always in UTC, it never has any hover actions, and it has slightly different UI due to the server-rendered nature of it.

e.g.,
heat-map-sample

@linear-code

linear-code Bot commented Jun 23, 2026

Copy link
Copy Markdown

LOGS-889

@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jun 23, 2026
@gggritso

Copy link
Copy Markdown
Member Author

@cursor review

@github-actions

github-actions Bot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Story previews

Preview the stories changed in this PR on the Vercel deployment:

Preview deployment: https://sentry-1jdgo22db.sentry.dev

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

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.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 9258c83. Configure here.

Comment thread static/app/chartcuterie/heatmaps.tsx
Comment thread static/app/chartcuterie/types.tsx
@github-actions

github-actions Bot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

📊 Type Coverage Diff

✅ no issues found

@gggritso gggritso marked this pull request as ready for review June 23, 2026 18:13
@gggritso gggritso requested review from a team as code owners June 23, 2026 18:13

@nsdeschenes nsdeschenes left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good to me, just one comment that might make the PR typechecker thing happier 😄

Comment thread static/app/views/dashboards/widgets/heatMapWidget/heatMapWidgetVisualization.tsx Outdated
Comment thread static/app/chartcuterie/types.tsx
@gggritso gggritso merged commit 454813b into master Jun 23, 2026
76 checks passed
@gggritso gggritso deleted the georgegritsouk/logs-889-add-chartcuterie-configurations-for-heat-maps-in-explore branch June 23, 2026 19:01
gggritso added a commit that referenced this pull request Jun 23, 2026
The heatmaps chartcuterie config (added in #118253) calls
formatXAxisTimestamp with the old {utc} object signature. Update to
use the new string timezone parameter. Also re-apply timezone changes
to the heat map visualization that were overwritten by the merge.

Co-Authored-By: Claude <noreply@anthropic.com>
sehr-m pushed a commit that referenced this pull request Jun 23, 2026
To render Heat Map charts in Chartcuterie, Sentry must add a
configuration for that type. That's what this PR does.

Note that a lot of the configuration code is shared/similar between the
Chartcuterie setup and `HeatMapWidgetVisualization` but that's
intentional. The _palette_ is shared (important) but Chartcuterie
configuration is different since it's always in UTC, it _never_ has any
hover actions, and it has slightly different UI due to the
server-rendered nature of it.

**e.g.,**
<img width="1200" height="400" alt="heat-map-sample"
src="https://github.com/user-attachments/assets/3d2205ff-947d-4dcd-8717-d2c535e2cb57"
/>
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.

2 participants