Skip to content

feat(coderd/notifications): improve notification format consistency #14967

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

Merged
merged 20 commits into from
Oct 9, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
70f3486
feat(notifications): Improve notification format consistency
SasSwart Oct 3, 2024
7e31a34
chore(coderd/notifications): regenerate notification testdata from th…
SasSwart Oct 5, 2024
cf3afd4
Merge remote-tracking branch 'origin/main' into jjs/consistent-notifi…
SasSwart Oct 5, 2024
4b85f2b
chore(coderd/database): renumber migration
SasSwart Oct 5, 2024
e8ad3ac
chore(coderd/notifications): regenerate testdata
SasSwart Oct 5, 2024
2a4d740
fix(coderd/notifications): remove duplicate function signature
SasSwart Oct 5, 2024
e741c43
chore: remove redundant escaping in migration
SasSwart Oct 5, 2024
adffe60
chore(coderd/notifications): improve failed test feedback
SasSwart Oct 5, 2024
41ed54a
feat(coderd/database): add new information to the account activated n…
SasSwart Oct 7, 2024
5541331
Merge remote-tracking branch 'origin/main' into jjs/additional-notifi…
SasSwart Oct 8, 2024
fe94f0d
chore(coderd/database): rework migration for legibility
SasSwart Oct 8, 2024
98e7501
feat(coderd): send newly required information to notification templates
SasSwart Oct 8, 2024
d8e00c2
feat(coderd/notifications): provide additional context to workspace n…
SasSwart Oct 8, 2024
d6a339f
fix(coderd/notifications): add a missing call to fmt.Sprintf
SasSwart Oct 8, 2024
920ad31
fix(coderd/notifications): fix oversights in template migration
SasSwart Oct 9, 2024
9e938e5
chore(coderd/provisionerdserver): set the displayname in TestNotifica…
SasSwart Oct 9, 2024
59e57ac
chore(coderd): add more robust testing assertions to TestNotifyDelete…
SasSwart Oct 9, 2024
c907238
chore(coderd/notifications): fix migration indentation
SasSwart Oct 9, 2024
2493556
chore(coderd/notifications): regenerate golden files
SasSwart Oct 9, 2024
19dccc8
Merge remote-tracking branch 'origin/main' into jjs/consistent-notifi…
SasSwart Oct 9, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore(coderd/notifications): regenerate testdata
  • Loading branch information
SasSwart committed Oct 5, 2024
commit e8ad3acd86846d99e0d1c191a758b046896e7395
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Hi Bobby
Hi Bobby,

The template **bobby-template** was deleted by **rob**.
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
Hi Bobby,

User account **bobby** has been activated.
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
Hi Bobby,

User account **bobby** has been suspended.
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Hi Bobby
Hi Bobby,

Your workspace **bobby-workspace** has been updated automatically to the latest template version (1.0).

Reason for update: **template now includes catnip**
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Hi Bobby
Hi Bobby,

Automatic build of your workspace **bobby-workspace** failed.

The specified reason was "**autostart**".
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Hi Bobby
Hi Bobby,

Your workspace **bobby-workspace** was deleted.

The specified reason was "**autodeleted due to dormancy (autobuild)**".
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Hi Bobby
Hi Bobby,

Your workspace **bobby-workspace** has been marked as [**dormant**](https://coder.com/docs/templates/schedule#dormancy-threshold-enterprise) because of breached the template's threshold for inactivity.
Dormant workspaces are [automatically deleted](https://coder.com/docs/templates/schedule#dormancy-auto-deletion-enterprise) after 24 hours of inactivity.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Hi Bobby,

A manual build of the workspace **bobby-workspace** using the template **bobby-template** failed (version: **bobby-template-version**).

The workspace build was initiated by **joe**.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Hi Bobby
Hi Bobby,

Your workspace **bobby-workspace** has been marked for **deletion** after 24 hours of [dormancy](https://coder.com/docs/templates/schedule#dormancy-auto-deletion-enterprise) because of template updated to new dormancy policy.
To prevent deletion, use your workspace with the link below.
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
Hi Bobby,

Your account **bobby** has been activated.
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
Hi Bobby,

Your account **bobby** has been suspended.
Loading