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

905: Send automatic mail for new applications and verifications #954

Merged

Conversation

sarahsporck
Copy link
Contributor

I had to rename useQueryHandler as it is in fact not a hook (Kinda messed this up in the other pr) and therefore eslint would not allow to use it in other hooks. Renaming fixed this.

Additionally I moved the mails that are sent into the mailer (but I did not change the messages, so no need to review this :)). This way we have a much better overview of what default sentences and structure we use in the mails.

Due to the rename there were still quite a few files changed. Sorry for this 🙈

@sarahsporck sarahsporck linked an issue May 2, 2023 that may be closed by this pull request
@sarahsporck sarahsporck requested a review from f1sh1918 as a code owner May 2, 2023 09:11
@sarahsporck sarahsporck force-pushed the 905-application-send-automatic-mail-for-new-applications branch 4 times, most recently from 88a029c to a6055b1 Compare May 2, 2023 09:30
Copy link
Contributor

@f1sh1918 f1sh1918 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everythings works and looks fine. Just some mail templating.
And local mail sending doesn't work with the check you added
You could add this small issue into your pr #960

val message = """
Guten Tag,

Ein ein Antrag ist Verifiziert worden.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Ein ein Antrag ist Verifiziert worden.
ein neuer Antrag wurde verifiziert.


Falls Sie keine weiteren Benachrichtigungen zu neuen Anträgen erhalten möchten können Sie dies unter ${projectConfig.administrationBaseUrl}/user-settings deaktivieren.

Dies ist eine automatisierte Nachricht. Antworten Sie nicht auf diese Email.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Dies ist eine automatisierte Nachricht. Antworten Sie nicht auf diese Email.
Dies ist eine automatisierte Nachricht. Bitte antworten Sie nicht auf diese Email.

@sarahsporck sarahsporck force-pushed the 905-application-send-automatic-mail-for-new-applications branch from 3146a1a to 2e0542d Compare May 10, 2023 09:00
@sarahsporck sarahsporck enabled auto-merge May 10, 2023 09:02
@sarahsporck sarahsporck merged commit 81f6d2a into main May 10, 2023
@sarahsporck sarahsporck deleted the 905-application-send-automatic-mail-for-new-applications branch May 10, 2023 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants