Files
farhan a979097c5a fix(socratiq): correct IndexedDB store name and key in getIncorrectQuestions()
updateIncorrectQuestions() writes incorrect quiz answers to the
'ongoingIncorrectQuestions' store (defined in db_configs_one.js) under
the fixed id 'current', but getIncorrectQuestions() read from a
non-existent 'ongoing-incorrect-questions' store and passed no key.
Opening a transaction on an undefined store throws NotFoundError, so
retrieval could never succeed.

Incorrect questions are recorded on every quiz submission today; this
makes that data actually retrievable and unblocks re-enabling the
'study past incorrect questions' feature (initiateStudyBtn, currently
commented out in index.js).

No bundle rebuild needed: the disabled feature is tree-shaken out of
book/quarto/tools/scripts/socratiQ/bundle.js, so output is unchanged.
2026-07-07 21:16:37 +05:00
..