Commit graph

27 commits

Author SHA1 Message Date
Satindar Dhillon
25a8aebe4d resolve merge conflict (web prefs popover) 2022-06-03 17:25:07 -07:00
Jackson Harper
f54968d5d1 Fixes for the sync state UI when errors occur
If syncing fails, the item is still saved so we don't change the
title.

When syncing fails make sure the red error cloud is shown.
2022-06-02 21:36:32 -07:00
Jackson Harper
b736bc721a Better image previews when saving from URL 2022-06-02 16:25:27 -07:00
Jackson Harper
ef72e09006 Start implementing the new share extension, mostly so we can show the sync status 2022-06-02 15:29:57 -07:00
Jackson Harper
92f8218960 Fetch icon URLs from pages 2022-06-02 11:37:04 -07:00
Jackson Harper
e0e7a7a131 Remove debug 2022-06-01 21:05:10 -07:00
Jackson Harper
b2cbcc23c3 Improvements to background syncing 2022-06-01 17:24:42 -07:00
Jackson Harper
04195665a7 Make services a member var so they arent dealloced during async operations 2022-06-01 09:45:31 -07:00
Satindar Dhillon
6f27b31cb4 resolve merge conflict 2022-05-31 16:17:26 -07:00
Satindar Dhillon
2eb0d94399 make sure end background task is callled on failed saves 2022-05-31 16:15:19 -07:00
Jackson Harper
f8dcab74ec Nil out background task after we have ended it 2022-05-31 15:14:44 -07:00
Jackson Harper
cbf0215936 Call uploadFileRequest before uploading files
App Engine cant handle larger request sizes, so using a redirect
here doesn't work.
2022-05-31 15:11:53 -07:00
Satindar Dhillon
822a38a863 convert save page publisher to async 2022-05-31 12:34:11 -07:00
Jackson Harper
53c423b714 WIP: upload PDFs using background task 2022-05-30 22:30:43 -07:00
Jackson Harper
a17cb72527 Use the request ID as the background task ID 2022-05-30 09:16:33 -07:00
Jackson Harper
974757c7da Improve background uploading of PDFs 2022-05-27 16:38:19 -07:00
Jackson Harper
c3096e5dfe Better PDF upload handling on iOS
Three main changes here:
- If a PDF isn't a local file, dont try to download and then
  upload it to the backend. Just treat it as a URL.

- If we are passed PDF data by an app like Files, upload it.

- Wrap the whole operation in a Background task so its not
  killed if the user taps dismiss during the upload of larger
  documents.
2022-05-26 21:40:40 -07:00
Satindar Dhillon
ed285c4a03 disable read now 2022-05-18 13:10:14 -07:00
Satindar Dhillon
2d4ec9d45d share extension starts with a .processing status 2022-05-18 08:49:50 -07:00
Satindar Dhillon
25ae8622ba Dispatch to main after verifying network connection in share ext 2022-05-16 11:26:42 -07:00
Satindar Dhillon
e53b295cb1 replace fetchViewer call in extension with a verift token call for faster feedback 2022-05-16 11:18:30 -07:00
Satindar Dhillon
70c4b1c690 convery additional uses of viewerPublisher to fetchViewer 2022-04-14 14:57:48 -07:00
Satindar Dhillon
f88676807a initialize stateObject correctly on share extension view 2022-02-28 20:23:20 -08:00
Satindar Dhillon
1073c63476 use @StateObject when the view owns the observable object 2022-02-26 10:54:05 -08:00
Satindar Dhillon
58cfc4f8b2 remove bing function from share extension view model 2022-02-24 16:33:35 -08:00
Satindar Dhillon
a5ff333ac4 move share extension view model into App package 2022-02-24 16:18:06 -08:00
Satindar Dhillon
e7e710feaa rename Binders package to App 2022-02-24 15:07:32 -08:00