From 21e681f4d811ccd08552696cc4ef52fc4ec4cc0c Mon Sep 17 00:00:00 2001 From: Aaron Herman Date: Fri, 18 Apr 2025 14:45:11 -0500 Subject: [PATCH 1/2] fix(slack): Case engage oncall language --- src/dispatch/case/messaging.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dispatch/case/messaging.py b/src/dispatch/case/messaging.py index 8b28744d6969..2126d3fdbac3 100644 --- a/src/dispatch/case/messaging.py +++ b/src/dispatch/case/messaging.py @@ -400,7 +400,7 @@ def send_event_paging_message(case: Case, db_session: Session, oncall_name: str) "type": "section", "text": { "type": "mrkdwn", - "text": f"This event was reported and the team will respond during normal business hours. If you end up needing immediate assistance, you can engage `{oncall_name}` with `{engage_oncall_command}` and selecting the 'Page' option.", + "text": f"""This event was reported and the team will respond during normal business hours. If you end up needing immediate assistance, you can engage `{oncall_name}` by typing and sending the command `{engage_oncall_command}` within this channel, and, in the resulting dialog box, selecting the "Page" option.""" }, }, ] From 86ba6d5e333792b055499cb88ed8b06f3627a9af Mon Sep 17 00:00:00 2001 From: Aaron Herman Date: Fri, 18 Apr 2025 14:55:44 -0500 Subject: [PATCH 2/2] Update src/dispatch/case/messaging.py Co-authored-by: Will Sheldon <114631109+wssheldon@users.noreply.github.com> Signed-off-by: Aaron Herman --- src/dispatch/case/messaging.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dispatch/case/messaging.py b/src/dispatch/case/messaging.py index 2126d3fdbac3..521105b3639b 100644 --- a/src/dispatch/case/messaging.py +++ b/src/dispatch/case/messaging.py @@ -400,7 +400,7 @@ def send_event_paging_message(case: Case, db_session: Session, oncall_name: str) "type": "section", "text": { "type": "mrkdwn", - "text": f"""This event was reported and the team will respond during normal business hours. If you end up needing immediate assistance, you can engage `{oncall_name}` by typing and sending the command `{engage_oncall_command}` within this channel, and, in the resulting dialog box, selecting the "Page" option.""" + "text": f"""Event reported. Team will respond during business hours. For urgent assistance, type `{engage_oncall_command}` in this channel and select "Page" to contact `{oncall_name}`.""" }, }, ]