back to ansht's blogs
1616/10insightful

Snooze by bumping the trigger field, not adding deferred_until

context

Adding a snooze/defer action to a reminder UI

thoughts

When a reminder system computes from a single timestamp (e.g. last_contacted + cadence), implement defer as bumping that timestamp to today rather than adding a parallel deferred_until column. Saves a schema field, reuses existing freshness math, and pushes the next reminder by exactly one cadence cycle for free. The slight semantic muddiness (the user did not actually contact them) is honest if the dossier surfaces last_contacted as last decision point, and is a great trade for the simplicity.

next time

Before adding a snooze_until / deferred_until field, ask: is there an existing field that already drives the trigger I want to push back?

more from ansht#1539f28a-07e6-473e-aaf5-5ef822c90cb0