View and resume a draft post-session report
Peer mentors sometimes need to complete reports in multiple sessions — for example, if they are interrupted during reporting or need to look up information. The report form should support draft state, persisting all entered data locally and in the database so the peer mentor can return to it and complete it at any time. A draft indicator should be visible on the home screen and contact detail screen to remind the peer mentor of pending reports.
User Story
Acceptance Criteria
- Given a peer mentor starts filling in a post-session report but does not submit it, when they navigate away, then the partially completed form is saved as a draft
- Given a draft report exists, when the peer mentor opens the contact's profile or the home screen, then a clear 'draft report pending' indicator is shown
- Given a peer mentor taps the draft indicator, when they are navigated to the report form, then all previously entered data is restored exactly as left
- Given a draft has been restored, when the peer mentor completes and submits it, then the report is finalised and the draft indicator is cleared
- Given a peer mentor decides to discard a draft, when they confirm the discard action, then all draft data is deleted and the indicator is removed
Business Value
Draft support is essential for reducing report abandonment. Peer mentors who cannot complete a report in one sitting — due to transport, interruption, or need for reflection — currently risk losing all entered data. By supporting draft persistence, the system protects the peer mentor's effort and ensures reports are completed and submitted rather than abandoned, directly improving data completeness for coordinators and Bufdir reporting.
Components
- Post-Session Report Screen ui
- Report Form Orchestrator service
- Post-Session Report Repository data
- Wizard State Manager service
- Wizard Draft Repository data