Skip to content

feat(aci): Fix overlapping highlight bands on metric detector chart - #128689

Open
RudraPatel2003 wants to merge 8 commits into
rudra-link-open-period-to-issuefrom
rudra-remove-highlight
Open

RudraPatel2003 wants to merge 8 commits into
rudra-link-open-period-to-issuefrom
rudra-remove-highlight

Conversation

@RudraPatel2003

@RudraPatel2003 RudraPatel2003 commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

Resolves ID-1951

Now we calculate how we partition the graph

Before:
image

After:
image

image

@RudraPatel2003
RudraPatel2003 added this pull request to stack #128690 October 23, 2026 19:10
@linear-code

linear-code Bot commented Oct 23, 2026

Copy link
Copy Markdown

ID-1951

@RudraPatel2003 RudraPatel2003 changed the title Rudra remove highlight feat(aci): Fix overlapping highlight bands on metric detector chart Oct 23, 2026
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Oct 23, 2026
@sentry

sentry Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Sentry Snapshot Testing

Name Added Removed Changed Renamed Unchanged Skipped Status
sentry-frontend
sentry-frontend
0 0 0 0 760 0 ✅ Unchanged

⚙️ sentry-frontend Snapshot Settings

@RudraPatel2003

Copy link
Copy Markdown
Member Author

bugbot review

@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.

Stale Bugbot comment from a previous run.

@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 1 potential issue.

Fix All in Cursor

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

Want reviews to match your repository better? Bugbot Learning can learn team-specific rules from PR activity. A team admin can enable Learning in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit f33c684. Configure here.

const percentThresholdBands = createPercentThresholdBandSeries({
theme,
thresholds: thresholdLines.map(line => ({...line, bound: line.series.data})),
});

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.

Percent bands ignore custom resolution

Low Severity

createPercentThresholdBandSeries is called without resolution, so a custom percent resolve threshold never becomes the OK bound. The green band then extends to the least-severe alert line and paints the unresolved hysteresis zone as healthy.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit f33c684. Configure here.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This is true; fixing it

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Prod doesn't draw a green line either actually. In this monitor red is 100% yellow is 50% and green is 25%

Production:
image

My change:
image

I also ordered the tooltips
Prod:
image

My change:
image

This branch was successfully deployed

1 active deployment
Preview — 426b5074 Deployed Oct 23, 2026 by vercel[bot]
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