Skip to content

feat(offline-sync): file attachments with offline-first sync architec…#6

Open
krishna-404 wants to merge 1 commit into
get-delta-on-connectfrom
upload-pending-entries
Open

feat(offline-sync): file attachments with offline-first sync architec…#6
krishna-404 wants to merge 1 commit into
get-delta-on-connectfrom
upload-pending-entries

Conversation

@krishna-404

Copy link
Copy Markdown
Collaborator

…ture

  • Add MediaUploader component to CreateJournalEntryForm for file attachments
  • Implement SyncOrchestrator for sequential media upload + backend sync
  • Add thumbnail generation and CDN upload pipeline in MediaUploadService
  • Split oRPC client: orpc.client.ts (worker-safe) vs orpc.tanstack.client.ts (React)
  • Database schema v2 migration with thumbnail fields and cdnUrls
  • BroadcastChannel for cross-context DB change notifications
  • Update SSE manager with 30s heartbeat and pending entry detection
  • Add ACL: public-read to CDN presigned URLs for direct access
  • Worker-safe window checks in signout and oRPC error handlers
  • Transaction support in JournalEntriesDBManager and PendingSyncJournalEntriesDBManager

Closes offline-first Phase 10.1.1

…ture

- Add MediaUploader component to CreateJournalEntryForm for file attachments
- Implement SyncOrchestrator for sequential media upload + backend sync
- Add thumbnail generation and CDN upload pipeline in MediaUploadService
- Split oRPC client: orpc.client.ts (worker-safe) vs orpc.tanstack.client.ts (React)
- Database schema v2 migration with thumbnail fields and cdnUrls
- BroadcastChannel for cross-context DB change notifications
- Update SSE manager with 30s heartbeat and pending entry detection
- Add ACL: public-read to CDN presigned URLs for direct access
- Worker-safe window checks in signout and oRPC error handlers
- Transaction support in JournalEntriesDBManager and PendingSyncJournalEntriesDBManager

Closes offline-first Phase 10.1.1
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.

1 participant