diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 34eca96..6b65ac2 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -29,6 +29,42 @@ Chaque entrée suit ce format : --- +## [Unreleased] — 2026-04-25 — Sprint 4c — Frontend EO (T1 + T3) + +### Added + +- `features/simulations/pages/SimulationEOPage.tsx` — TaskSelector EO (T1, T3, T2 cadenas Premium) +- `features/simulations/pages/SujetsEOPage.tsx` — grille sujets EO_T3 + bouton aléatoire +- `features/simulations/pages/PreEnregistrementEOPage.tsx` — consigne + durée recommandée +- `features/simulations/pages/EnregistrementEOPage.tsx` — enregistrement audio + auto-submit à expiration +- `features/simulations/pages/ModeChoixT1Page.tsx` — choix Générer / Enregistrer directement +- `features/simulations/pages/QuestionnaireT1Page.tsx` — 5 champs + validation Zod + génération IA +- `features/simulations/pages/PresentationGenereeT1Page.tsx` — texte généré, modifier, copier, .txt, refaire, localStorage +- `features/simulations/hooks/useAudioRecorder.ts` — MediaRecorder, timer, maxSeconds, auto-stop, download +- `features/simulations/hooks/useDeepgramLive.ts` — conservé dormant (FTD-37) +- `features/simulations/components/AudioRecorder.tsx` — UI enregistrement, maxSeconds/onMaxReached +- `features/simulations/components/TranscriptionDisplay.tsx` — conservé dormant +- `entities/transcription/` — token Deepgram (dormant, FTD-37) +- `entities/presentation/` — generatePresentation (POST /presentations/generate) +- `shared/lib/audio.ts` — blobToBase64 helper + +### Changed + +- `SimulationFlowProvider` — étendu EO : submitEoAudio, presentationT1, résolution race condition step=done +- `entities/report/api.ts` — CORRECTION_EE_TIMEOUT_MS=60s / CORRECTION_EO_TIMEOUT_MS=120s +- `entities/report/types.ts` — CorrectEoPayload étendu audioBase64/mimeType +- MIME normalisé côté frontend (strip codec params) +- router.tsx — 7 nouvelles routes EO sous SimulationFlowLayout +- FTD-30 à 37 tracées dans TECH_DEBT.md + +### Notes + +- Transcription live Deepgram abandonnée pour le MVP — Gemini batch côté backend +- Audio non stocké côté serveur — bouton télécharger local +- Tests : 122 → 159 verts (+37) + +--- + ## [Unreleased] — 2026-04-25 — Fix timeout API ### Fixed diff --git a/docs/ROADMAP.md b/docs/ROADMAP.md index bfa4a67..0158413 100644 --- a/docs/ROADMAP.md +++ b/docs/ROADMAP.md @@ -101,9 +101,12 @@ - Dashboard : split Free/Standard/Premium, NclcHero + StatCards + RecentSimulations + NextStepCard + PaywallBanner refonte - MobileHeader supprimé (remplacé par Topbar) -## Sprint 4 — Simulations EO (audio) +## Sprint 4 — Simulations EO (audio) ✅ -16. MediaRecorder + upload audio EO T1/T3 +- MediaRecorder + Gemini batch transcription (EO T1/T3) +- Questionnaire T1 + génération présentation IA (POST /presentations/generate) +- Auto-submit à expiration de la durée recommandée +- Rapport EO format 3.6a (4 critères officiels TCF Canada) ## Sprint 4.5 — Clean