From e987d2df2231794459eba5f2fb4fec785429c2ba Mon Sep 17 00:00:00 2001 From: Will Sheldon <114631109+wssheldon@users.noreply.github.com> Date: Fri, 8 Dec 2023 07:44:36 -0800 Subject: [PATCH] Change View Case button to Open in Dispatch (#4093) --- src/dispatch/plugins/dispatch_slack/case/messages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dispatch/plugins/dispatch_slack/case/messages.py b/src/dispatch/plugins/dispatch_slack/case/messages.py index 9163f6d57644..c9a0d6c51005 100644 --- a/src/dispatch/plugins/dispatch_slack/case/messages.py +++ b/src/dispatch/plugins/dispatch_slack/case/messages.py @@ -76,7 +76,7 @@ def create_case_message(case: Case, channel_id: str) -> list[Block]: Section( text=f"*Title* \n {case.title}.", accessory=Button( - text="View", + text="Open in Dispatch", action_id="button-link", url=f"{DISPATCH_UI_URL}/{case.project.organization.slug}/cases/{case.name}", ),