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: Add Activated Alert Rules to alert rule index #69124

Merged
merged 10 commits into from
Apr 18, 2024
Prev Previous commit
Next Next commit
updated icons
  • Loading branch information
nhsiehgit committed Apr 18, 2024
commit 3d54f153c80f42453c9a184b406e976915b471e8
6 changes: 3 additions & 3 deletions static/app/components/badge/alertBadge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import {
IconEllipsis,
IconExclamation,
IconFire,
IconHappy,
IconIssues,
IconShow,
} from 'sentry/icons';
import type {SVGIconProps} from 'sentry/icons/svgIcon';
import {t} from 'sentry/locale';
Expand Down Expand Up @@ -63,11 +63,11 @@ function AlertBadge({status, withText, isIssue, activationStatus}: Props) {

if (activationStatus === ActivationStatus.WAITING) {
statusText = t('Ready');
Icon = IconHappy;
Icon = IconEllipsis;
color = 'purple300';
} else if (activationStatus === ActivationStatus.MONITORING) {
statusText = t('Monitoring');
Icon = IconEllipsis;
Icon = IconShow;
}

return (
Expand Down