Skip to content

Commit

Permalink
refactor: update button titles in Slack incident messages to include …
Browse files Browse the repository at this point in the history
…emojis for enhanced visibility
  • Loading branch information
simlarsen committed Mar 4, 2025
1 parent 04dd043 commit 5e45266
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Common/Server/Utils/Workspace/Slack/Messages/Incident.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export default class SlackIncidentMessages {
// view incident.
const viewIncidentButton: WorkspaceMessagePayloadButton = {
_type: "WorkspaceMessagePayloadButton",
title: "View Incident",
title: "🔗 View Incident",
url: await IncidentService.getIncidentLinkInDashboard(
incident.projectId!,
incident.id!,
Expand All @@ -136,7 +136,7 @@ export default class SlackIncidentMessages {
// execute on call.
const executeOnCallButton: WorkspaceMessagePayloadButton = {
_type: "WorkspaceMessagePayloadButton",
title: ":telephone_receiver: Execute On Call",
title: "📞 Execute On Call",
value: "execute_on_call",
actionId: SlackActionType.ViewExecuteIncidentOnCallPolicy,
};
Expand All @@ -146,7 +146,7 @@ export default class SlackIncidentMessages {
// acknowledge incident.
const acknowledgeIncidentButton: WorkspaceMessagePayloadButton = {
_type: "WorkspaceMessagePayloadButton",
title: ":eyes: Acknowledge Incident",
title: "👀 Acknowledge Incident",
value: incident.id?.toString() || "",
actionId: SlackActionType.AcknowledgeIncident,
};
Expand Down

0 comments on commit 5e45266

Please sign in to comment.