Commit Graph

53 Commits

Author SHA1 Message Date
b70a8a8585 remove AsyncLoadingImage struct 2022-08-25 21:45:33 -07:00
c8643c591a remove search bar from share extension 2022-07-22 14:13:26 -07:00
c5b3354d8f add macos conditionals for share extension improvements 2022-07-22 13:04:04 -07:00
a4811104d6 load share ext labels from core data 2022-07-21 21:04:46 -07:00
fdc1b28cf1 add circular checkmark to share ext labels list cell 2022-07-21 10:59:06 -07:00
868886ab83 add create label option on share ext 2022-07-20 10:13:45 -07:00
f3d2b6c89f add search field to labels list in share ext 2022-07-20 10:06:09 -07:00
6a3e7d9d4e create labels view specific for share ext 2022-07-19 21:28:15 -07:00
6aa9e07f35 set linked item so apply labels view can be shown in share extension 2022-07-19 20:46:42 -07:00
497314df05 fix mac function call 2022-07-13 10:07:52 -07:00
4bc9119b59 add ApplyLabelsView to share extension view 2022-07-12 22:31:00 -07:00
9c2509951d consolidate share extension view code 2022-07-12 22:31:00 -07:00
16358bf230 remove extra init of Services in share extension 2022-07-12 22:31:00 -07:00
d7370a579d merge ExtensionSaveService into ExtensionViewModel 2022-07-12 22:31:00 -07:00
d6ccc5b318 move share extension view from Views to App 2022-07-12 22:31:00 -07:00
4747b685ba resolve stash conflict 2022-07-12 22:31:00 -07:00
b752fdc9d0 open mac app when read now button is tapped from share extension 2022-07-12 22:31:00 -07:00
62a7b41ccc set requestID on main thread only 2022-07-12 22:31:00 -07:00
0b3993215f update share extension save service to work outside of a operation queue 2022-07-12 22:31:00 -07:00
b113d78904 add os conditionals to get mac app running: 2022-06-21 22:05:39 -07:00
587cbe2f26 remove unused Combine imports 2022-06-21 14:51:26 -07:00
6f86495cf4 lint fixes 2022-06-17 13:54:40 -07:00
726c11afd2 delete a few unused functions and lint fixes 2022-06-17 13:54:40 -07:00
611b237e17 Handle save operations completing in the background while opening itemIDs 2022-06-09 13:52:49 -07:00
9e88a11dda Enable Read Now, handle scenarios where an article is already saved so the LinkedItem.id is updated 2022-06-09 13:52:49 -07:00
311c5172cc Status is moved to the child view model now 2022-06-09 13:52:49 -07:00
25a8aebe4d resolve merge conflict (web prefs popover) 2022-06-03 17:25:07 -07:00
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
b736bc721a Better image previews when saving from URL 2022-06-02 16:25:27 -07:00
ef72e09006 Start implementing the new share extension, mostly so we can show the sync status 2022-06-02 15:29:57 -07:00
92f8218960 Fetch icon URLs from pages 2022-06-02 11:37:04 -07:00
e0e7a7a131 Remove debug 2022-06-01 21:05:10 -07:00
b2cbcc23c3 Improvements to background syncing 2022-06-01 17:24:42 -07:00
04195665a7 Make services a member var so they arent dealloced during async operations 2022-06-01 09:45:31 -07:00
6f27b31cb4 resolve merge conflict 2022-05-31 16:17:26 -07:00
2eb0d94399 make sure end background task is callled on failed saves 2022-05-31 16:15:19 -07:00
f8dcab74ec Nil out background task after we have ended it 2022-05-31 15:14:44 -07:00
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
822a38a863 convert save page publisher to async 2022-05-31 12:34:11 -07:00
53c423b714 WIP: upload PDFs using background task 2022-05-30 22:30:43 -07:00
a17cb72527 Use the request ID as the background task ID 2022-05-30 09:16:33 -07:00
974757c7da Improve background uploading of PDFs 2022-05-27 16:38:19 -07:00
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
ed285c4a03 disable read now 2022-05-18 13:10:14 -07:00
2d4ec9d45d share extension starts with a .processing status 2022-05-18 08:49:50 -07:00
25ae8622ba Dispatch to main after verifying network connection in share ext 2022-05-16 11:26:42 -07:00
e53b295cb1 replace fetchViewer call in extension with a verift token call for faster feedback 2022-05-16 11:18:30 -07:00
70c4b1c690 convery additional uses of viewerPublisher to fetchViewer 2022-04-14 14:57:48 -07:00
f88676807a initialize stateObject correctly on share extension view 2022-02-28 20:23:20 -08:00
1073c63476 use @StateObject when the view owns the observable object 2022-02-26 10:54:05 -08:00