User Interface medium complexity frontendmobile
0
Dependencies
0
Dependents
0
Entities
0
Integrations

Description

An embedded widget that peer mentors activate after an interaction to dictate activity notes verbally. It displays recording state, live transcription preview, and controls to accept, discard, or re-record. Designed for accessibility with large touch targets and clear visual feedback for users with motor impairments.

Feature: Speech-to-Text Input

speech-to-text-widget

Sources & reasoning

Line 88 provides the definitive specification: both HLF and Blindeforbundet want speech input for post-visit report writing, with Blindeforbundet prohibiting live recording to protect open conversation. Line 347 places this in Fase 2 of the roadmap. Blueprint assigns [v1.0] matching the Fase 2 ordinal mapping.

  • docs/source/likeperson.md · line 88
    Begge organisasjoner ønsker mulighet for å snakke inn rapporter fremfor å skrive. Blindeforbundet understreker at opptak under selve samtalen er uønsket - tale-til-tekst er for etterpå, ved rapportskriving.
  • docs/source/likeperson.md · line 347
    Tale-til-tekst i rapportskriving

Responsibilities

  • Render microphone activation button and recording state indicators
  • Display live transcription text as speech is processed
  • Provide accept, discard, and re-record actions for the transcribed result
  • Communicate recording lifecycle events to the parent form context
  • Show clear error states when speech recognition is unavailable or fails

Interfaces

startRecording(): void
stopRecording(): void
onTranscriptReady(text: string): void
onError(error: SpeechError): void
reset(): void