Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

fix: register Loom migration emails

Richie McIlroy8df6730293da
diff --git a/emails/CATALOG.md b/emails/CATALOG.md
index ccc962d4b..4b8bc43a5 100644
--- a/emails/CATALOG.md
+++ b/emails/CATALOG.md
@@ -618,6 +618,7 @@ These are repository send paths and retained templates, not confirmation of prod
| Messenger support notification | An eligible support conversation requests an email notification | Cap support; replies go to the user | [messenger-support-email](../packages/database/emails/messenger-support-email.tsx) |
| Account deletion request notification | An account deletion request is submitted | Cap support; replies go to the requester | [messenger-support-email](../packages/database/emails/messenger-support-email.tsx) |
| Mobile content report notification | A mobile content report is submitted | Cap support; replies go to the reporter | [messenger-support-email](../packages/database/emails/messenger-support-email.tsx) |
+| Concierge Loom migration | A Cap Pro organization requests migration or its status changes | Cap support for new requests; the requester for status updates | [loom-migration](../packages/database/emails/loom-migration.tsx) |
| Legacy login link template | No current send call found in this checkout | None configured | [login-link](../packages/database/emails/login-link.tsx) |
### Login verification code
@@ -692,6 +693,12 @@ Deduplicated by report ID.
Send source: [apps/web/lib/account-deletion-request.ts](../apps/web/lib/account-deletion-request.ts).
+### Concierge Loom migration
+
+The request stays in the dashboard even if email delivery fails.
+
+Send source: [apps/web/actions/loom-concierge.tsx](../apps/web/actions/loom-concierge.tsx).
+
### Legacy login link template
Retained source template; current email login uses verification codes.
diff --git a/emails/application.ts b/emails/application.ts
index fed7fbd3f..60fe3d642 100644
--- a/emails/application.ts
+++ b/emails/application.ts
@@ -131,6 +131,16 @@ export const applicationEmails: ApplicationEmail[] = [
template: "messenger-support-email",
sources: ["apps/web/lib/account-deletion-request.ts"],
},
+ {
+ id: "loom-migration",
+ name: "Concierge Loom migration",
+ trigger: "A Cap Pro organization requests migration or its status changes",
+ recipients:
+ "Cap support for new requests; the requester for status updates",
+ notes: "The request stays in the dashboard even if email delivery fails.",
+ template: "loom-migration",
+ sources: ["apps/web/actions/loom-concierge.tsx"],
+ },
{
id: "login-link",
name: "Legacy login link template",