-
Notifications
You must be signed in to change notification settings - Fork 245
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
notification: add alert summary to status updates #2074
Conversation
# Conflicts: # go.mod
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.
Unable to run make start
, looks like there are some unintended changes to go.mod? Got it to work using git checkout master -- go.mod
Also, the spacing is a bit odd now that I see it, I like the separation with the newlines, but the indentation isn't necessary IMO. If we do want to change, could go in a new issue potentially. For reference, here is my UX for an integration I named "web int":
@dctalbot what version of Go are you on? I had to update to 1.17. |
@dctalbot I see, well it's a result of |
Description:
This PR adds the alert summary to status update messages. Status updates show the alert ID, but do not show the summary or provide a link to the alert, which can make the investigation of an alert cumbersome.
The current alert SMS template is conditionally rendering alert, alert bundle, and alert status messages, so I've made three explicit templates that can be leveraged when setting the type on the
alertSMS
struct before rendering. This should help with maintenance should we want to change any of the templates again.Which issue(s) this PR fixes:
Closes #2056