Repository navigation
feat(app): show percentile context in the heatmap hover tooltip - #2789
Merged
kodiakhq[bot] merged 2 commits intoAug 4, 2026
Merged
Conversation
Signed-off-by: Niladri Adhikary <niladrix719@gmail.com>
|
@niladrix719 is attempting to deploy a commit to the HyperDX Team on Vercel. A member of the Team first needs to authorize it. |
🦋 Changeset detectedLatest commit: 188848f The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Contributor
Greptile SummaryThe PR adds cumulative percentile context to heatmap hover tooltips and unit coverage for aggregation, empty data, and bucket ordering.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains.
|
| Filename | Overview |
|---|---|
| packages/app/src/components/DBHeatmapChart.tsx | Adds cumulative per-bucket percentile computation and renders the result in the heatmap hover tooltip. |
| packages/app/src/components/tests/DBHeatmapChart.test.ts | Covers pooled cumulative percentages, empty distributions, and numeric bucket ordering. |
| .changeset/heatmap-tooltip-percentile.md | Records the tooltip enhancement as a patch release for the app package. |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart LR
Data[Heatmap data] --> Aggregate[Aggregate counts by Y bucket]
Aggregate --> Cumulative[Compute cumulative percentages]
Hover[Hovered heatmap cell] --> Lookup[Look up Y-bucket percentile]
Cumulative --> Lookup
Lookup --> Tooltip[Render Y Value with percentile]
Reviews (2): Last reviewed commit: "Merge branch 'main' into heatmap-toolpit..." | Re-trigger Greptile
pulpdrew
approved these changes
Aug 4, 2026
pulpdrew
left a comment
Contributor
There was a problem hiding this comment.
LGTM, thanks for the contribution!
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.
Summary
Hovering a heatmap cell will show percentile information in tooltip now
fixes #1911
Screenshots or video
How to test on Vercel preview
Preview routes: /search
Steps: