feat: add weekly summary notifications

Adds Sunday weekly recap push notifications summarizing couple match
activity. Includes edge function, migration, notification preference
toggle, and mobile notification handling.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
jjbruntonandClaude Opus 4.5 committed 2026-01-31 21:56:32 +00:00
1 parent e380c0a31c
commit 25db338861
5 files changed
+244 -2

No files matched your search

+2 -2
View File
@@ -19,7 +19,7 @@ Notifications.setNotificationHandler({
// Types
export interface NotificationData {
type: "match" | "message" | "match_digest" | "partner_activity" | "nudge";
type: "match" | "message" | "match_digest" | "partner_activity" | "nudge" | "weekly_summary";
match_id?: string;
message_id?: string;
count?: number;
@@ -231,7 +231,7 @@ export function handleNotificationResponse(
return;
}
if (data.type === "match_digest") {
if (data.type === "match_digest" || data.type === "weekly_summary") {
router.push("/(app)/matches");
return;
}