Removed memorialized note
Deploy / deploy-prod (push) Skipped
Deploy / deploy-dev (push) Successful in 3m3s

This commit is contained in:
blaisadmin committed 2026-10-07 19:33:49 -04:00
1 parent b5f875e077
commit 4869756957
7 files changed
+9 -32

No files matched your search

+1 -5
View File
@@ -711,7 +711,6 @@ const normalizeBird = (row: BirdRow) => ({
publicProfileEnabled: row.public_profile_enabled ?? false,
memorializedAt: row.memorialized_at,
memorializedOn: row.memorialized_on,
memorialNote: row.memorial_note,
notifyOnMemorialDay: row.notify_on_memorial_day,
createdAt: row.created_at,
latestWeightGrams: row.latest_weight_grams ? Number(row.latest_weight_grams) : null,
@@ -1766,9 +1765,7 @@ const buildBirdMilestoneReminderCopy = (reminder: BirdMilestoneReminderCandidate
yearCount > 0
? `From our flock to yours, holding ${reminder.name}'s memory close on this ${formatOrdinal(yearCount)} memorial day.`
: `From our flock to yours, holding ${reminder.name}'s memory close today.`,
body: reminder.memorial_note
? reminder.memorial_note
: 'A quiet moment for the feathers, songs, routines, and happy memories that still stay with you.',
body: 'A quiet moment for the feathers, songs, routines, and happy memories that still stay with you.',
milestoneLabel: yearCount > 0 ? `${formatOrdinal(yearCount)} Memorial Day` : 'Memorial Day on file',
};
}
@@ -4194,7 +4191,6 @@ app.post('/api/birds/:birdId/memorialize', requireAuth, requireWriteAccess, requ
birdId: req.params.birdId,
workspaceId: req.auth!.workspace.id,
memorializedOn: parsed.data.memorializedOn,
memorialNote: emptyToNull(parsed.data.memorialNote),
notifyOnMemorialDay: parsed.data.notifyOnMemorialDay ?? false,
});