Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change automatic email notifications for project status changes #4366

Closed
lcjohnso opened this issue Jul 24, 2024 · 3 comments
Closed

Change automatic email notifications for project status changes #4366

lcjohnso opened this issue Jul 24, 2024 · 3 comments

Comments

@lcjohnso
Copy link
Member

Current Behavior

When project transitions to launch approved, an automatic email notification is sent to the project team and relevant Zoo emails. These emails are confusing (e.g., stating your request is being reviewed vs. the project just went live) and not necessary (plenty of notification already via current project review + launch process).

Desired Behavior

Halt all project status email notifications EXCEPT the initial notification acknowledging project has applied for beta review.

@Tooyosi
Copy link
Contributor

Tooyosi commented Aug 5, 2024

Some feedback on this issue, the ProjectRequestEmailWorker is triggered on the after_update callback of the Projects model, within the send_notifications function. Essentially what is happening here is it checks if the project has just been beta_requested or launch_requested and calls the Worker and Mailer with the appropriate request type(beta/launch) which is passed to the mail template.

I tried reproducing the usecase of mails sending when launch_approved is changed but was unable to. Checking through the code, i can't find a pointer to where the mail is triggered upon approval.

Opened a pr to keep the emails on beta_requested alone here: #4373

@lcjohnso
Copy link
Member Author

lcjohnso commented Aug 5, 2024

On closer examination: I confirm that the unwanted notification email is in response to "launch_requested" change to true -- example: see this notification in Slack. The confusion from my side was due to the fact that launch_requested & launch_approved are toggled together, leading to my imprecise assignment of what change was leading to the notification.

Conclusion: This issue is a request to disable the email notification for launch_requested.

@lcjohnso
Copy link
Member Author

Closed by #4373

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants