Speech Input Widget
Component Detail
User Interface
medium complexity
mobilefrontend
0
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
Microphone button and live transcription panel embedded inside the activity-registration report composer. Shows recording state, interim transcript, and lets the user accept, edit, or discard the dictated text before it lands in the report field.
speech-input-widget
Sources & reasoning
Priority matrix row 102 places Tale-til-tekst at SHOULD HAVE / Fase 2, which maps to the Core Product phase per §5. Blindeforbundet's anti-recording constraint is binding and drives the implementation boundary.
-
docs/source/likeperson.md · line 52-53Tale-til-tekst i rapportskriving (Blindeforbundet + HLF) ... Blindeforbundet understreker at opptak under selve samtalen er uønsket - tale-til-tekst er for etterpå, ved rapportskriving.
-
docs/source/likeperson.md · line 102Tale-til-tekst | - | - | ✓ | ✓ | ✓ | SHOULD HAVE | 2
Responsibilities
- Render mic toggle and recording indicator inside the report text field
- Stream interim and final transcripts back into the bound textarea
- Surface permission prompts and error states when the mic is blocked or unsupported
- Respect the per-activity-type config flag that gates the feature
- Provide accessible controls and announcements for Blindeforbundet volunteers
Interfaces
startDictation(targetFieldId): void
stopDictation(): TranscriptResult
onTranscriptUpdate(handler): Unsubscribe
isAvailable(): boolean