Superseded placement note added in v391: v383 is preserved as historical context, but its placement of notification preferences on /notifications was superseded by v390. Notification preferences now belong in Workspace Settings > Notifications. The /notifications page is alert/action-only.
Dispatch Spot Notification Preferences and Opt-In Foundation v383
Purpose
v383 deepens the simple app-style notification foundation without returning to the old complex Notification Center.
The goal is to let each user choose how they want to receive alerts while keeping provider setup out of the daily notification page.
What changed
- Added simple user alert preferences to
/notifications.
- Added toggles for in-app alerts, urgent email alerts, overdue email alerts, due-today email alerts, daily team email, and urgent text alert opt-in planning.
- Connected the notification snapshot to each user's saved notification preferences.
- The top-bar bell now respects the in-app alert choice by hiding the badge count when in-app alerts are off.
- Notification delivery cards now reflect whether email/text delivery is requested or off.
- Preserved the rule that provider setup belongs in Workspace Settings and Third-Party Integrations.
User-facing rule
The user should see what needs attention, where to click, and how they want to be notified.
The user should not see SMTP setup, API keys, Twilio setup, push provider setup, delivery logs, or debug status.
Technical notes
v383 uses the existing UserNotificationPreference model and the existing /api/notifications/preferences route.
No Prisma schema changes were required.