-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
feat(mute-metric-alerts): Add mute button to metric alerts page #50967
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
Conversation
import type {IssueAlertRule} from 'sentry/types/alerts'; | ||
import {RuleActionsCategories} from 'sentry/types/alerts'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just combine these
: tct( | ||
"[creator] muted this alert[forEveryone]so you won't get these notifications in the future.", | ||
{ | ||
creator: rule.snoozeCreatedBy, | ||
forEveryone: rule.snoozeForEveryone ? ' for everyone ' : ' ', | ||
} | ||
)} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dumb question but wouldn't metric alerts always be for everyone or are we looking for specific email my team -> this user is muted
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this pr adds in the mute button and banner showing mute status to the metric alerts page.