Description
Users on unstable connections (e.g., commuting) should be able to train using chess puzzles even when disconnected.
What Needs to be Done
- Update
ext.config.js to implement next-pwa.
- Configure service workers to cache a payload of 100 daily puzzles.
- Create an 'Offline Mode' banner when
avigator.onLine is false.
- Store completed puzzle results in IndexedDB and sync them to the backend when reconnected.
Acceptance Criteria
Description
Users on unstable connections (e.g., commuting) should be able to train using chess puzzles even when disconnected.
What Needs to be Done
ext.config.js to implement next-pwa.
avigator.onLine is false.
Acceptance Criteria