Draft: feat: offline save and auto-sync support for volunteer vitals
Summary
This merge request contains my individual contribution related to offline data handling for the volunteer module.
Changes Implemented
- Added offline data persistence using local storage
- Implemented auto-sync logic when network connectivity is restored
- Introduced an online status hook to track network availability
- Updated volunteer vitals page to support offline save flow
Files Modified / Added
- src/pages/volunteer/RecordVitalsPage.tsx
- src/hooks/useOnlineStatus.ts
- src/utils/offlineStore.ts
Scope of Work
This MR includes only the above changes implemented by me. Additional enhancements and related improvements are being handled in separate branches and merge requests by other team members.
Commits
All commits in this merge request belong to this branch and reflect my individual contribution.