feat(simulations/eo): waveform + timeline colorée pendant l'enregistrement (Sprint 4.6)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
9614f9de14
commit
d8bae9520c
6 changed files with 279 additions and 0 deletions
|
|
@ -29,6 +29,31 @@ Chaque entrée suit ce format :
|
|||
|
||||
---
|
||||
|
||||
## [Unreleased] — 2026-04-25 — Sprint 4.6 — UI EO (waveform + timeline)
|
||||
|
||||
### Added
|
||||
|
||||
- `RecordingWaveform.tsx` — visualiseur audio animé (AnalyserNode, fftSize 256,
|
||||
smoothing 0.7, 32 barres). Visible uniquement pendant `isRecording`. Respecte
|
||||
`prefers-reduced-motion` (frame statique). AudioContext fermé au cleanup.
|
||||
- `RecordingTimeline.tsx` — barre de progression colorée avec seuils fixes :
|
||||
vert (0 → maxSeconds-30s), orange (maxSeconds-30s → maxSeconds-15s),
|
||||
rouge (maxSeconds-15s → fin). Applicable T1 et T3.
|
||||
- `RecordingTimeline.test.tsx` — 7 tests (logique seuils + rendu + clamp).
|
||||
|
||||
### Changed
|
||||
|
||||
- `useAudioRecorder.ts` — expose `mediaStream: MediaStream | null` (set au
|
||||
start, reset au cleanup).
|
||||
- `AudioRecorder.tsx` — intègre Waveform + Timeline dans l'UI d'enregistrement.
|
||||
|
||||
### Notes
|
||||
|
||||
- Aucun changement backend.
|
||||
- Tests : 166 → 173 verts (+7).
|
||||
|
||||
---
|
||||
|
||||
## [Unreleased] — 2026-04-25 — Sprint 4.5 Clean + fixes Golden Dataset
|
||||
|
||||
### Added
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue