View Scenario Prompt Detail and Take Contextual Action
When a peer mentor taps a scenario-based notification from the notification centre or from a system tray tap, they are navigated to a scenario notification detail view. This screen renders the scenario type label (e.g., 'Activity Reminder', 'Check-in Prompt'), the human-readable rule that triggered it, a plain-language explanation, the suggested action, and a prominent primary button that triggers the relevant deep link (e.g., log activity, contact a mentee). The scenario deep-link router resolves the action destination based on the scenario type stored in the notification record.
User Story
Acceptance Criteria
- Given a scenario push notification exists in the notification centre, When the mentor taps on it, Then the scenario notification detail view opens showing the scenario type, trigger explanation, and a contextual action button
- Given the detail view is open, When the mentor taps the primary action button, Then the scenario deep-link router navigates them to the correct screen (activity wizard, contact detail, etc.) based on the scenario type
- Given the mentor views the detail screen, When they have not previously read this notification, Then the notification read service marks it as read and the unread badge count decrements
- Given the mentor is on the detail view, When they press the system back button, Then they are returned to the notification centre without losing navigation state
- Given the detail view renders the scenario content, When the content contains a contact name or activity type reference, Then the text is displayed in plain language with no raw IDs or technical identifiers visible
Business Value
A clear, actionable notification detail screen reduces cognitive friction and increases the likelihood that peer mentors act on the prompt. This directly translates to higher activity registration rates and better data quality for coordinators and Bufdir reporting, with minimal effort from the user.
Components
- Scenario Notification Detail View ui
- Scenario Prompt Detail Bottom Sheet ui
- Scenario Deep Link Handler service
- Scenario Deep-Link Router service
- Notification Centre Screen ui
- Notification BLoC service
- Notification Read State Service service
- Notification Repository data
- Notification Domain Model data
- Notification Deep Link Handler service