Skip to content

feat(pwa): add Progressive Web App support with offline caching#63

Open
nymulinfoinlet wants to merge 1 commit intomainfrom
feat/pwa-offline
Open

feat(pwa): add Progressive Web App support with offline caching#63
nymulinfoinlet wants to merge 1 commit intomainfrom
feat/pwa-offline

Conversation

@nymulinfoinlet
Copy link
Copy Markdown
Contributor

Summary

  • Add vite-plugin-pwa to the frontend with auto-updating service worker registration
  • Configure web app manifest with Studyield branding (name, icons, theme color, standalone display)
  • Set up Workbox with precaching for static assets and StaleWhileRevalidate runtime caching for API calls, enabling offline study sessions

Closes #52

Test plan

  • Run npm run build in frontend/ and verify dist/sw.js and dist/manifest.webmanifest are generated
  • Serve the built app and verify the PWA install prompt appears in Chrome/Edge
  • Install the PWA, go offline, and confirm cached pages/assets still load
  • Verify API responses are served from cache when offline after an initial online fetch

🤖 Generated with Claude Code

Add vite-plugin-pwa to enable PWA capabilities including service worker
generation, web manifest, and runtime API caching for offline study.
Closes #52

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(pwa): Progressive Web App support with offline study capability

1 participant