Skip to content

Commit

Permalink
feat: enhance Slack incident notifications with emoji indicators for …
Browse files Browse the repository at this point in the history
…acknowledgment and resolution
  • Loading branch information
simlarsen committed Feb 28, 2025
1 parent 6185d8f commit 8139e48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Common/Server/Utils/Workspace/Slack/Actions/Incident.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export default class SlackIncidentActions {

const markdwonPayload: WorkspacePayloadMarkdown = {
_type: "WorkspacePayloadMarkdown",
text: `@${slackUsername} has **acknowledged** **[Incident ${incident.incidentNumber?.toString()}](${await IncidentService.getIncidentLinkInDashboard(
text: `:eyes: @${slackUsername} has **acknowledged** **[Incident ${incident.incidentNumber?.toString()}](${await IncidentService.getIncidentLinkInDashboard(
incident.projectId!,
incident.id!
)})**.`,
Expand Down Expand Up @@ -259,7 +259,7 @@ export default class SlackIncidentActions {

const markdwonPayload: WorkspacePayloadMarkdown = {
_type: "WorkspacePayloadMarkdown",
text: `@${slackUsername} has **resolved** **[Incident ${incident.incidentNumber?.toString()}](${await IncidentService.getIncidentLinkInDashboard(
text: `:white_check_mark: @${slackUsername} has **resolved** **[Incident ${incident.incidentNumber?.toString()}](${await IncidentService.getIncidentLinkInDashboard(
incident.projectId!,
incident.id!
)})**.`,
Expand Down

0 comments on commit 8139e48

Please sign in to comment.