HIGH story-speech-to-text-input-peer-mentor-002 5 pts
5
Story Points
High
Priority
Speech-to-Text Input
Feature

User Story

As a Peer Mentor (Likeperson)
I want to see a live preview of my speech transcription and edit it before inserting it into the report field
So that I can catch and correct any misheard words or proper nouns before they become part of the official report

Acceptance Criteria

  • Given dictation is active, When the peer mentor speaks, Then interim transcription results appear in the preview field within 500ms of each spoken word
  • Given transcription is complete, When the peer mentor reviews the preview, Then they can tap, long-press, and edit any word in the transcription using standard OS text editing
  • Given the peer mentor has reviewed and corrected the transcription, When they tap 'Insert', Then the edited text is placed into the originating report field and the overlay closes
  • Given the peer mentor taps 'Cancel', When the overlay closes, Then no changes are made to the originating field and any in-progress transcription is discarded
  • Given the app is sent to background during active dictation, When the user returns, Then any partial transcription stored in the repository is restored in the preview field

Business Value

Ensuring transcription quality before submission prevents inaccurate records from entering the database, which is critical for Bufdir reporting integrity and for organisations like Blindeforbundet that have structured, formalized report schemas. Correctable previews also increase user trust and adoption of the feature.