From 54da1e8d403598f9d527f515a5942efdcd40969e Mon Sep 17 00:00:00 2001 From: Bishwas Praveen Date: Tue, 4 Jun 2024 10:54:02 -0500 Subject: [PATCH] added additional status transitions --- sde_collections/utils/slack_utils.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/sde_collections/utils/slack_utils.py b/sde_collections/utils/slack_utils.py index 796d9b48..b9ee1daf 100644 --- a/sde_collections/utils/slack_utils.py +++ b/sde_collections/utils/slack_utils.py @@ -24,10 +24,22 @@ SLACK_ID_MAPPING["Advait Yogaonkar"], ], }, + (WorkflowStatusChoices.READY_FOR_ENGINEERING, WorkflowStatusChoices.READY_FOR_CURATION): { + "message": "Engineering on {name} is complete. Ready for curation! :mag:", + "tags": [SLACK_ID_MAPPING["Emily Foshee"]], + }, (WorkflowStatusChoices.ENGINEERING_IN_PROGRESS, WorkflowStatusChoices.READY_FOR_CURATION): { "message": "Engineering on {name} is complete. Ready for curation! :mag:", "tags": [SLACK_ID_MAPPING["Emily Foshee"]], }, + (WorkflowStatusChoices.READY_FOR_CURATION, WorkflowStatusChoices.CURATED): { + "message": "Curation on {name} is complete. It's now curated! :checkered_flag:", + "tags": [ + SLACK_ID_MAPPING["Carson Davis"], + SLACK_ID_MAPPING["Bishwas Praveen"], + SLACK_ID_MAPPING["Ashish Acharya"], + ], + }, (WorkflowStatusChoices.CURATION_IN_PROGRESS, WorkflowStatusChoices.CURATED): { "message": "Curation on {name} is complete. It's now curated! :checkered_flag:", "tags": [