Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ui): Adjust metric alert chart rule change gray area boundaries #29727

Merged
merged 5 commits into from
Nov 10, 2021

Conversation

taylangocmen
Copy link
Contributor

@taylangocmen taylangocmen commented Nov 3, 2021

This changes the gray area and alert change marker in the alert details from a graphic rectangle and line to MarkArea and MarkLine. Using these is better than graphics because the boundaries are much more accurate. Even though we lose the overflowing effect of using graphics, the confusion due to inaccuracy of them was greater.

Old metric alert (non-session):

Screen Shot 2021-11-08 at 10 14 39 PM

Old session alert:

Screen Shot 2021-11-08 at 10 14 29 PM

New metric alert:

Screen Shot 2021-11-08 at 11 20 12 PM

New session alert:

Screen Shot 2021-11-08 at 11 26 42 PM

Jira: WOR-1452

@taylangocmen taylangocmen requested review from matejminar and a team November 3, 2021 01:41
@matejminar
Copy link
Member

@taylangocmen looks like this fixed it only for events charts, can you please check why sessions charts are still off?

@github-actions
Copy link
Contributor

github-actions bot commented Nov 4, 2021

size-limit report

Path Base Size (b04e61c) Current Size Change
src/sentry/static/sentry/dist/entrypoints/app.js 52.77 KB 52.78 KB +0.03% 🔺
src/sentry/static/sentry/dist/entrypoints/sentry.css 70.89 KB 70.89 KB 0%

@taylangocmen taylangocmen merged commit 13a3a42 into master Nov 10, 2021
@taylangocmen taylangocmen deleted the taylangocmen/rule-changed-gray-area branch November 10, 2021 17:35
@github-actions github-actions bot locked and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants