-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Notify users of plan changes (#4271)
When we receive a plan change from the cloudery (i.e. a new feature set that's not a sponsorship), we send a notification (preferably a push one) to the user to invite them to reload their mobile app and/or their browser page so flags can be refreshed. This is especially useful when the user is expecting to gain new features.
- Loading branch information
Showing
15 changed files
with
1,195 additions
and
905 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{{define "content"}} | ||
<mj-text mj-class="title content-medium"> | ||
<img src="https://files.cozycloud.cc/email-assets/stack/icon-check-circle.png" width="16" height="16" style="vertical-align:sub;"/> | ||
{{t "Notifications Plan Changed Title"}} | ||
</mj-text> | ||
<mj-text mj-class="content-medium"> | ||
{{tHTML "Notifications Plan Changed Intro"}} | ||
</mj-text> | ||
<mj-text mj-class="content-medium"> | ||
<ul style="margin: 0"> | ||
<li>{{t "Notifications Plan Changed Recommendation 1"}}</li> | ||
<li>{{t "Notifications Plan Changed Recommendation 2"}}</li> | ||
</ul> | ||
</mj-text> | ||
<mj-text mj-class="content-medium"> | ||
{{tHTML "Notifications Plan Changed Outro"}} | ||
</mj-text> | ||
{{end}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{{t "Notifications Plan Changed Title"}} | ||
--- | ||
|
||
{{t "Notifications Plan Changed Intro"}} | ||
|
||
- {{t "Notifications Plan Changed Recommendation 1"}} | ||
- {{t "Notifications Plan Changed Recommendation 2"}} | ||
|
||
{{t "Notifications Plan Changed Outro"}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.