Configure Personal Notification Preferences
A notification preferences screen allows peer mentors to toggle specific notification categories on or off independently. Categories include: new assignments, follow-up reminders, certification expiry warnings, pause status updates, and scenario prompts. For each category, the user can choose push only, in-app only, or both. Preferences are stored per user in the backend and applied at dispatch time so the server respects opt-outs before sending. Preferences must be accessible from both the settings menu and from within the notification centre screen.
User Story
Acceptance Criteria
- Given a peer mentor opens notification preferences, when the screen loads, then all notification categories are listed with their current toggle states reflecting the saved preferences
- Given the user disables push notifications for 'Follow-up Reminders', when a reminder trigger fires, then no FCM push is sent but an in-app notification centre entry is still created
- Given the user disables all notifications for a category, when a trigger fires for that category, then neither a push nor an in-app notification is created for that user
- Given the user saves updated preferences, when the save completes, then the preferences are persisted to the backend and applied immediately for subsequent notification dispatches
- Given the user accesses preferences via the notification centre screen, when they navigate back, then their updated preferences are reflected in that session without requiring an app restart
Business Value
Notification fatigue is a primary cause of users disabling all notifications entirely, which would remove the system's ability to deliver any time-sensitive alerts. Granular preferences give mentors control over their experience, increasing long-term retention of notification opt-in status and ensuring the most critical alerts (new assignments) are never blocked because a user grew tired of less important ones.