Add ProgressStore and key-value storage backends

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
denis
2026-10-14 22:06:55 +02:00
parent 2a8ae21e78
commit 7f93403ee6
3 changed files with 247 additions and 1 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ Le brief original est [`prompt-pyquest.md`](prompt-pyquest.md) (résumé fidèle
var_equals, etc.) de façon agnostique au contenu.
6. ✅ FAIT — `app/js/core/ErrorTranslator.js` + `app/js/i18n/errors.{fr,en}.json` — traduit les tracebacks Python en messages simples fr/en
(cf. ton de l'exemple 2 du brief).
7. `app/js/core/ProgressStore.js` — IndexedDB (XP, badges, streaks, niveaux complétés) + export/import.
7. ✅ FAIT (IndexedDB non testé en navigateur) — `app/js/core/ProgressStore.js` + `KeyValueStores.js` — IndexedDB (XP, badges, streaks, niveaux complétés) + export/import.
8. `app/js/core/AudioEngine.js` + `app/js/core/VoiceEngine.js` — effets sonores et
`speechSynthesis`, déblocage uniquement sur geste utilisateur (contrainte iOS autoplay).
9. `app/js/ui/*` — `NotebookView`, `CellManager`, `CellView`, `HintPanel`, `ProgressMap`,