Basic email template for notifications #96

Merged
Anna Sirota merged 14 commits from notification-templates into main 2024-05-02 14:04:24 +02:00
Owner

Based on the proposal #93

Email subjects change to the following:

Add-on approved: "Genuinely Disgusting"
New comment on Add-on "Genuinely Disgusting"
Add-on rated: "Genuinely Disgusting"
Add-on reported: "Genuinely Disgusting"
Add-on rating reported: "Genuinely Disgusting"
Add-on changes requested: "Genuinely Disgusting"
Add-on review requested: "Genuinely Disgusting"

Notification emails can also be viewed in the admin Email previews section (with fake objects constructed and passed into email template contexts):

Indicating why the email was sent is not in this change because we currently don't store why precisely (can only guess it's either because of moderators group or extension follow, the state of either can change after the notification was generated). This can be part of the Notification records however, after that the reason can be included in the email.

Based on the proposal https://projects.blender.org/infrastructure/extensions-website/issues/93 Email subjects change to the following: ``` Add-on approved: "Genuinely Disgusting" New comment on Add-on "Genuinely Disgusting" Add-on rated: "Genuinely Disgusting" Add-on reported: "Genuinely Disgusting" Add-on rating reported: "Genuinely Disgusting" Add-on changes requested: "Genuinely Disgusting" Add-on review requested: "Genuinely Disgusting" ``` Notification emails can also be viewed in the admin `Email previews` section (with fake objects constructed and passed into email template contexts): ![](https://projects.blender.org/attachments/855a6d7e-232a-42f5-990b-64f5c0c326aa) Indicating why the email was sent is not in this change because we currently don't store why **precisely** (can only guess it's either because of `moderators` group or extension follow, the state of either can change after the notification was generated). This can be part of the `Notification` records however, after that the reason can be included in the email.
Anna Sirota added 1 commit 2024-04-29 19:08:40 +02:00
Anna Sirota added 1 commit 2024-04-30 10:02:34 +02:00
Anna Sirota added 1 commit 2024-04-30 11:08:33 +02:00
Anna Sirota added 1 commit 2024-04-30 19:52:43 +02:00
Anna Sirota added 4 commits 2024-05-02 13:21:05 +02:00
Anna Sirota added 2 commits 2024-05-02 13:25:04 +02:00
Anna Sirota added 1 commit 2024-05-02 13:30:23 +02:00
Anna Sirota added 1 commit 2024-05-02 13:31:59 +02:00
Anna Sirota changed title from WIP: Basic email template for notifications to Basic email template for notifications 2024-05-02 13:32:10 +02:00
Anna Sirota added 1 commit 2024-05-02 13:47:11 +02:00
Anna Sirota added 1 commit 2024-05-02 13:53:46 +02:00
Oleg-Komarov approved these changes 2024-05-02 14:03:42 +02:00
Anna Sirota merged commit cc900979d6 into main 2024-05-02 14:04:24 +02:00
Anna Sirota deleted branch notification-templates 2024-05-02 14:04:29 +02:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: infrastructure/extensions-website#96
No description provided.