pathephone-web icon indicating copy to clipboard operation
pathephone-web copied to clipboard

Implement production services

Open negamaxi opened this issue 5 years ago • 0 comments

Services affected:

  • getAlbumPreviewsByQuery
  • getAlbumPreviewsFeed
  • getTrackPreviewsByAlbumIds
  • submitAlbumCandidate

What need to be done:

  • [ ] implement a ServiceWorker / WebWorker that will encapsulate operations with IndexedDB and IPFS (SW not that easy in CRA https://karannagupta.com/using-custom-workbox-service-workers-with-create-react-app; WW ceurrently impossible AT ALL https://github.com/facebook/create-react-app/pull/5886)
    • [ ] implement a communication layer between main process and ServiceWorker
  • [ ] refactor service layer to use event-based architecture instead of a promise-based (?)

negamaxi avatar Nov 14 '19 19:11 negamaxi