-
Notifications
You must be signed in to change notification settings - Fork 12
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
Add support for rejection emails #678
Conversation
* Centralize custom strings in client to strings.json * Make redirect on unsubscribe templatized * Fix typo in Announcement * Rename application_status.svg
* Modify application to prepare for VH2020 summer * Fix minor bugs and update title string * Add 2024 as grad year option * Add button on login screen to redirect to summer.vh website (#631) * add button linking to summervh * Fix linting and testing errors Co-authored-by: Gabriel Ting <[email protected]> * Make summer link open in new tab * Update email templates for vh summer edition 2020 (#636) * update application deadline (#641) * add summer hackathon waiver (#639) * add summer hackathon waiver * Add waiver as required field Co-authored-by: Gabriel Ting <[email protected]> * Add sentence about hackathon waiver (#643) * add sentence about hackathon waiver * Change waiver wording * Change waiver wording Co-authored-by: Gabriel Ting <[email protected]> Co-authored-by: Baibhav Vatsa <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
The PR looks good, but I would like the following to happen:
|
src/server/resolvers/index.ts
Outdated
@@ -318,6 +318,7 @@ export const resolvers: CustomResolvers<Context> = { | |||
throw new UserInputError(`user ${id} (${value}) error: ${JSON.stringify(err)}`); | |||
|
|||
if (status === ApplicationStatus.Accepted) sendStatusEmail(value, ApplicationStatus.Accepted); | |||
if (status === ApplicationStatus.Rejected) sendStatusEmail(value, ApplicationStatus.Rejected); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Even though this should never be a problem, I think that this should be an else if
iirc @lucao2018 tested this locally and it was working |
Code Climate has analyzed commit 6b1ffec and detected 0 issues on this pull request. View more on Code Climate. |
/rebase |
Looks like this is already in |
Closes #665