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

feat(cmp_alerts): Show thresholds for change alerts in the alert details sidebar #29472

Merged
merged 3 commits into from
Oct 21, 2021

Conversation

taylangocmen
Copy link
Contributor

This updates the alert details page sidebar for the change alerts. If it's a change alert we show comparison scheme in writing and a more descriptive threshold description for other alerts. Also added actions for critical and warning thresholds based on the new design. Also removed the threshold lines for change alerts.

Old (same for change/non-change alerts):
Screen Shot 2021-10-20 at 11 13 36 PM

New (non-change alert):
Screen Shot 2021-10-20 at 11 15 53 PM

New (change alert):
Screen Shot 2021-10-20 at 11 12 22 PM

Jira: WOR-1450

@taylangocmen taylangocmen requested a review from a team as a code owner October 21, 2021 06:22
@taylangocmen taylangocmen requested a review from a team October 21, 2021 06:22
@github-actions
Copy link
Contributor

size-limit report

Path Base Size (43c032e) Current Size Change
src/sentry/static/sentry/dist/entrypoints/app.js 52.76 KB 52.77 KB +0.02% 🔺
src/sentry/static/sentry/dist/entrypoints/sentry.css 70.89 KB 70.89 KB 0%

Copy link
Member

@matejminar matejminar left a comment

Choose a reason for hiding this comment

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

looks good to me


type Props = React.ComponentProps<typeof SvgIcon>;

const IconRectangle = React.forwardRef(function IconRectangle(
Copy link
Member

Choose a reason for hiding this comment

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

Should we add this to our storybook collection of icons?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

For sure, I can add it in a separate pr

@taylangocmen taylangocmen merged commit 370466a into master Oct 21, 2021
@taylangocmen taylangocmen deleted the taylangocmen/cmp-alert-details-sidebar branch October 21, 2021 17:08
@github-actions github-actions bot locked and limited conversation to collaborators Nov 6, 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.

2 participants