Skip to content

feat(coderd): remove greetings from notifications templates #16991

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 23 commits into from
Mar 21, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
regenerate golden files
  • Loading branch information
defelmnq committed Mar 18, 2025
commit e4966e246a5204f2813be83971b09e281a7a62ed
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
},
"title": "Template 'alpha' has been deprecated",
"title_markdown": "Template 'alpha' has been deprecated",
"body": "Hello Bobby,\n\nThe template alpha has been deprecated with the following message:\n\nThis template has been replaced by beta\n\nNew workspaces may not be created from this template. Existing workspaces will continue to function normally.",
"body_markdown": "Hello Bobby,\n\nThe template **alpha** has been deprecated with the following message:\n\n**This template has been replaced by beta**\n\nNew workspaces may not be created from this template. Existing workspaces will continue to function normally."
"body": "The template alpha has been deprecated with the following message:\n\nThis template has been replaced by beta\n\nNew workspaces may not be created from this template. Existing workspaces will continue to function normally.",
"body_markdown": "The template **alpha** has been deprecated with the following message:\n\n**This template has been replaced by beta**\n\nNew workspaces may not be created from this template. Existing workspaces will continue to function normally."
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
},
"title": "A test notification",
"title_markdown": "A test notification",
"body": "Hi Bobby,\n\nThis is a test notification.",
"body_markdown": "Hi Bobby,\n\nThis is a test notification."
"body": "This is a test notification.",
"body_markdown": "This is a test notification."
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
},
"title": "User account \"bobby\" activated",
"title_markdown": "User account \"bobby\" activated",
"body": "Hi Bobby,\n\nUser account bobby has been activated.\n\nThe account belongs to William Tables and it was activated by rob.",
"body_markdown": "Hi Bobby,\n\nUser account **bobby** has been activated.\n\nThe account belongs to **William Tables** and it was activated by **rob**."
"body": "User account bobby has been activated.",
"body_markdown": "User account **bobby** has been activated."
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
},
"title": "User account \"bobby\" created",
"title_markdown": "User account \"bobby\" created",
"body": "Hi Bobby,\n\nNew user account bobby has been created.\n\nThis new user account was created for William Tables by rob.",
"body_markdown": "Hi Bobby,\n\nNew user account **bobby** has been created.\n\nThis new user account was created for **William Tables** by **rob**."
"body": "New user account bobby has been created.",
"body_markdown": "New user account **bobby** has been created."
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
},
"title": "User account \"bobby\" deleted",
"title_markdown": "User account \"bobby\" deleted",
"body": "Hi Bobby,\n\nUser account bobby has been deleted.\n\nThe deleted account belonged to William Tables and was deleted by rob.",
"body_markdown": "Hi Bobby,\n\nUser account **bobby** has been deleted.\n\nThe deleted account belonged to **William Tables** and was deleted by **rob**."
"body": "User account bobby has been deleted.",
"body_markdown": "User account **bobby** has been deleted."
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
},
"title": "User account \"bobby\" suspended",
"title_markdown": "User account \"bobby\" suspended",
"body": "Hi Bobby,\n\nUser account bobby has been suspended.\n\nThe account belongs to William Tables and it was suspended by rob.",
"body_markdown": "Hi Bobby,\n\nUser account **bobby** has been suspended.\n\nThe account belongs to **William Tables** and it was suspended by **rob**."
"body": "User account bobby has been suspended.",
"body_markdown": "User account **bobby** has been suspended."
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
},
"title": "Reset your password for Coder",
"title_markdown": "Reset your password for Coder",
"body": "Hi Bobby,\n\nUse the link below to reset your password.\n\nIf you did not make this request, you can ignore this message.",
"body_markdown": "Hi Bobby,\n\nUse the link below to reset your password.\n\nIf you did not make this request, you can ignore this message."
"body": "A request to reset the password for your Coder account has been made. Your one-time passcode is:\n\n00000000-0000-0000-0000-000000000000\n\nIf you did not request to reset your password, you can ignore this message.",
"body_markdown": "A request to reset the password for your Coder account has been made. Your one-time passcode is:\n\n**00000000-0000-0000-0000-000000000000**\n\nIf you did not request to reset your password, you can ignore this message."
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
},
"title": "Workspace \"bobby-workspace\" updated automatically",
"title_markdown": "Workspace \"bobby-workspace\" updated automatically",
"body": "Hi Bobby,\n\nYour workspace bobby-workspace has been updated automatically to the latest template version (1.0).\n\nReason for update: template now includes catnip.",
"body_markdown": "Hi Bobby,\n\nYour workspace **bobby-workspace** has been updated automatically to the latest template version (1.0).\n\nReason for update: **template now includes catnip**."
"body": "Your workspace bobby-workspace has been updated automatically to the latest template version (1.0).",
"body_markdown": "Your workspace **bobby-workspace** has been updated automatically to the latest template version (1.0)."
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
},
"title": "Workspace \"bobby-workspace\" autobuild failed",
"title_markdown": "Workspace \"bobby-workspace\" autobuild failed",
"body": "Hi Bobby,\n\nAutomatic build of your workspace bobby-workspace failed.\n\nThe specified reason was \"autostart\".",
"body_markdown": "Hi Bobby,\n\nAutomatic build of your workspace **bobby-workspace** failed.\n\nThe specified reason was \"**autostart**\"."
"body": "Automatic build of your workspace bobby-workspace failed.\nThe specified reason was \"autostart\".",
"body_markdown": "Automatic build of your workspace **bobby-workspace** failed.\nThe specified reason was \"**autostart**\"."
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
},
"title": "Workspace 'bobby-workspace' has been created",
"title_markdown": "Workspace 'bobby-workspace' has been created",
"body": "Hello Bobby,\n\nThe workspace bobby-workspace has been created from the template bobby-template using version alpha.",
"body_markdown": "Hello Bobby,\n\nThe workspace **bobby-workspace** has been created from the template **bobby-template** using version **alpha**."
"body": "The workspace bobby-workspace has been created from the template bobby-template using version alpha.",
"body_markdown": "The workspace **bobby-workspace** has been created from the template **bobby-template** using version **alpha**."
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
},
"title": "Workspace \"bobby-workspace\" deleted",
"title_markdown": "Workspace \"bobby-workspace\" deleted",
"body": "Hi Bobby,\n\nYour workspace bobby-workspace was deleted.\n\nThe specified reason was \"autodeleted due to dormancy (autobuild)\".",
"body_markdown": "Hi Bobby,\n\nYour workspace **bobby-workspace** was deleted.\n\nThe specified reason was \"**autodeleted due to dormancy (autobuild)**\"."
"body": "Your workspace bobby-workspace was deleted.\nThe specified reason was \"autodeleted due to dormancy (autobuild)\".",
"body_markdown": "Your workspace **bobby-workspace** was deleted.\nThe specified reason was \"**autodeleted due to dormancy (autobuild)**\"."
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
},
"title": "Workspace \"bobby-workspace\" deleted",
"title_markdown": "Workspace \"bobby-workspace\" deleted",
"body": "Hi Bobby,\n\nYour workspace bobby-workspace was deleted.\n\nThe specified reason was \"autodeleted due to dormancy (autobuild)\".",
"body_markdown": "Hi Bobby,\n\nYour workspace **bobby-workspace** was deleted.\n\nThe specified reason was \"**autodeleted due to dormancy (autobuild)**\"."
"body": "Your workspace bobby-workspace was deleted.\nThe specified reason was \"autodeleted due to dormancy (autobuild)\".",
"body_markdown": "Your workspace **bobby-workspace** was deleted.\nThe specified reason was \"**autodeleted due to dormancy (autobuild)**\"."
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
},
"title": "Workspace \"bobby-workspace\" manual build failed",
"title_markdown": "Workspace \"bobby-workspace\" manual build failed",
"body": "Hi Bobby,\n\nA manual build of the workspace bobby-workspace using the template bobby-template failed (version: bobby-template-version).\n\nThe workspace build was initiated by joe.",
"body_markdown": "Hi Bobby,\n\nA manual build of the workspace **bobby-workspace** using the template **bobby-template** failed (version: **bobby-template-version**).\n\nThe workspace build was initiated by **joe**."
"body": "A manual build of the workspace bobby-workspace using the template bobby-template failed (version: bobby-template-version).\nThe workspace build was initiated by joe.",
"body_markdown": "A manual build of the workspace **bobby-workspace** using the template **bobby-template** failed (version: **bobby-template-version**).\nThe workspace build was initiated by **joe**."
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
},
"title": "Workspace 'bobby-workspace' has been manually updated",
"title_markdown": "Workspace 'bobby-workspace' has been manually updated",
"body": "Hello Bobby,\n\nA new workspace build has been manually created for your workspace bobby-workspace by bobby to update it to version alpha of template bobby-template.",
"body_markdown": "Hello Bobby,\n\nA new workspace build has been manually created for your workspace **bobby-workspace** by **bobby** to update it to version **alpha** of template **bobby-template**."
"body": "A new workspace build has been manually created for your workspace bobby-workspace by bobby to update it to version alpha of template bobby-template.",
"body_markdown": "A new workspace build has been manually created for your workspace **bobby-workspace** by **bobby** to update it to version **alpha** of template **bobby-template**."
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@
},
"title": "Your workspace \"bobby-workspace\" is low on volume space",
"title_markdown": "Your workspace \"bobby-workspace\" is low on volume space",
"body": "Hi Bobby,\n\nVolume /home/coder is over 90% full in workspace bobby-workspace.",
"body_markdown": "Hi Bobby,\n\nVolume **`/home/coder`** is over 90% full in workspace **bobby-workspace**."
"body": "Volume /home/coder is over 90% full in workspace bobby-workspace.",
"body_markdown": "Volume **`/home/coder`** is over 90% full in workspace **bobby-workspace**."
}
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@
},
"title": "Your workspace \"bobby-workspace\" is low on volume space",
"title_markdown": "Your workspace \"bobby-workspace\" is low on volume space",
"body": "Hi Bobby,\n\nThe following volumes are nearly full in workspace bobby-workspace\n\n/home/coder is over 90% full\n/dev/coder is over 80% full\n/etc/coder is over 95% full",
"body_markdown": "Hi Bobby,\n\nThe following volumes are nearly full in workspace **bobby-workspace**\n\n- **`/home/coder`** is over 90% full\n- **`/dev/coder`** is over 80% full\n- **`/etc/coder`** is over 95% full\n"
"body": "The following volumes are nearly full in workspace bobby-workspace\n\n/home/coder is over 90% full\n/dev/coder is over 80% full\n/etc/coder is over 95% full",
"body_markdown": "The following volumes are nearly full in workspace **bobby-workspace**\n\n- **`/home/coder`** is over 90% full\n- **`/dev/coder`** is over 80% full\n- **`/etc/coder`** is over 95% full\n"
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
},
"title": "Your workspace \"bobby-workspace\" is low on memory",
"title_markdown": "Your workspace \"bobby-workspace\" is low on memory",
"body": "Hi Bobby,\n\nYour workspace bobby-workspace has reached the memory usage threshold set at 90%.",
"body_markdown": "Hi Bobby,\n\nYour workspace **bobby-workspace** has reached the memory usage threshold set at **90%**."
"body": "Your workspace bobby-workspace has reached the memory usage threshold set at 90%.",
"body_markdown": "Your workspace **bobby-workspace** has reached the memory usage threshold set at **90%**."
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
},
"title": "Your account \"bobby\" has been activated",
"title_markdown": "Your account \"bobby\" has been activated",
"body": "Hi Bobby,\n\nYour account bobby has been activated by rob.",
"body_markdown": "Hi Bobby,\n\nYour account **bobby** has been activated by **rob**."
"body": "Your account bobby has been activated.",
"body_markdown": "Your account **bobby** has been activated."
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
},
"title": "Your account \"bobby\" has been suspended",
"title_markdown": "Your account \"bobby\" has been suspended",
"body": "Hi Bobby,\n\nYour account bobby has been suspended by rob.",
"body_markdown": "Hi Bobby,\n\nYour account **bobby** has been suspended by **rob**."
"body": "Your account bobby has been suspended.",
"body_markdown": "Your account **bobby** has been suspended."
}
Loading