ADDED Requirements
Requirement: Per-Category Notification Toggles
The system SHALL allow users to enable or disable notifications per category.
Scenario: Disable shopping notifications
- GIVEN a user has shopping notifications enabled
- WHEN they toggle shopping notifications off
- THEN they SHALL NOT receive push notifications for shopping list activity
- AND the preference SHALL be persisted
Scenario: Disable cleaning notifications
- GIVEN a user has cleaning notifications enabled
- WHEN they toggle cleaning notifications off
- THEN they SHALL NOT receive push notifications for cleaning task activity
- AND the preference SHALL be persisted
Scenario: Global notification toggle
- GIVEN a user wants to disable all notifications
- WHEN they toggle global notifications off
- THEN they SHALL NOT receive any push notifications
- AND individual category toggles SHALL be ignored
Requirement: Preference Respect in Notification Dispatch
The system SHALL respect user preferences when dispatching notifications.
Scenario: Category disabled prevents notification
- GIVEN a user has shopping notifications disabled
- AND another household member adds a shopping list item
- WHEN notifications are dispatched
- THEN the user with disabled preferences SHALL NOT receive a push notification
- AND an in-app notification SHALL still be created
Scenario: Global disabled prevents all notifications
- GIVEN a user has global notifications disabled
- WHEN any notification event occurs
- THEN the user SHALL NOT receive any push notification
- AND in-app notifications SHALL still be created
Reacties