View History of Received Scenario Prompts in Notification Centre
The notification centre screen displays all notification records for the current user, sourced from the notification repository. Scenario-based notifications are rendered using the notification list item widget with a distinct scenario type icon and badge. The notification filter bar allows the mentor to filter by type (all, scenario, expiry, pause, etc.). Unread scenario notifications are visually differentiated with a bold title and an unread indicator dot. The notification tab badge in the bottom navigation reflects the total unread count including unread scenario prompts. Selecting any scenario notification item navigates to the scenario notification detail view.
User Story
Acceptance Criteria
- Given the mentor opens the notification centre, When scenario notification records exist for their account, Then they appear in the list ordered by timestamp descending with the correct scenario type label and icon
- Given the mentor has unread scenario notifications, When they open the notification centre, Then unread items are visually distinguished from read items and the tab badge shows the correct unread count
- Given the mentor taps the scenario filter option in the notification filter bar, When the filter is applied, Then only scenario-type notifications are displayed and all other types are hidden
- Given the mentor taps a scenario notification list item, When the detail view opens, Then the notification is marked as read and the unread indicator is removed from that list item
- Given the mentor has no notifications of any type, When they open the notification centre, Then the notification empty state component is displayed with a message indicating no notifications
- Given the mentor uses a screen reader, When navigating the notification list, Then each list item announces the notification type, summary text, read status, and relative timestamp via the notification accessibility announcer
Business Value
A persistent notification history ensures peer mentors can recover from dismissed or missed scenario prompts without losing the context of the engagement signal. This is especially valuable for mentors with cognitive accessibility needs who benefit from being able to revisit prompts at their own pace rather than reacting under time pressure.
Components
- Notification Centre Screen ui
- Notification List Item ui
- Notification Filter Bar ui
- Notification Tab Badge ui
- Notification Empty State Widget ui
- Notification BLoC service
- Role-Aware Notification Filter Service service
- Notification Read State Service service
- Notification Repository data
- Notification Domain Model data
- Notification Accessibility Announcer infrastructure
- Scenario Notification Detail View ui