Commit graph

116 commits

Author SHA1 Message Date
Satindar Dhillon
f6da7d6251 enable pdfreader for macos 2022-06-29 22:57:06 -07:00
Satindar Dhillon
943845628a adjust header layout for macos reader 2022-06-29 22:45:58 -07:00
Satindar Dhillon
09b28a1960 fix webPreferencesPopoverView for macos 2022-06-29 22:22:00 -07:00
Satindar Dhillon
af6f8dd416 enable highlight bar for macos web reader 2022-06-29 22:09:52 -07:00
Satindar Dhillon
aa79137223 fix bug where viewerAction is overridden on webreader 2022-06-29 20:23:54 -07:00
Satindar Dhillon
6721a0681c remove duplicate platform code in webreader 2022-06-29 20:08:42 -07:00
Satindar Dhillon
e48a3027f6 use resourceURL for locating bundled web reader web resources 2022-06-29 15:58:16 -07:00
Satindar Dhillon
43a20abcd5 try to load htmlString on mac app 2022-06-28 17:03:58 -07:00
Satindar Dhillon
93d3485e40 remove old web reader code 2022-06-28 16:21:42 -07:00
Satindar Dhillon
23a03e4aa2 rename WebView to OmnivoreWebView to avaoid clash with AppKit class 2022-06-28 15:17:50 -07:00
Satindar Dhillon
d3be6cf72a set text contrast preference at article loading time. default to true 2022-06-22 15:08:01 -07:00
Satindar Dhillon
6f86495cf4 lint fixes 2022-06-17 13:54:40 -07:00
Satindar Dhillon
726c11afd2 delete a few unused functions and lint fixes 2022-06-17 13:54:40 -07:00
Satindar Dhillon
1cdfe4a439 move function to load content by requestID into data service 2022-06-17 13:54:40 -07:00
Satindar Dhillon
e399a5e185 rename loadContentWithRtries function. move pdfFetch to own file 2022-06-17 13:54:40 -07:00
Satindar Dhillon
ffcd43060c separate article content fetch gql call from persistence code 2022-06-17 13:54:40 -07:00
Satindar Dhillon
96b09fec8e separate linkeditem network fetches from persistence functions 2022-06-17 13:54:40 -07:00
Satindar Dhillon
f7172f02b1 show title edit sheets from context menu taps 2022-06-13 21:55:05 -07:00
Satindar Dhillon
fc01a6b7db add edit title context menu options 2022-06-13 21:35:21 -07:00
Satindar Dhillon
bd34f4ff3c use maxWidthPercentage to update margin in web reader: 2022-06-13 11:27:21 -07:00
Satindar Dhillon
4423bc3e44 adds ability to control maxWidth on iphone 2022-06-13 09:57:28 -07:00
Satindar Dhillon
5025a8a58f use fullScreenCover for safrai view 2022-06-13 08:44:21 -07:00
Jackson Harper
7b81ad253d Store PDF paths as filenames instead of full URLs
This fixes issues where the full URL of our directory path
changes, also it moves files into documents instead of
caches, and ensures PDFs are downloaded before opening.
2022-06-09 13:52:49 -07:00
Jackson Harper
2e3ff15b51 WIP: Ensure local items are available in Read Now view 2022-06-09 13:52:49 -07:00
Jackson Harper
544454e087 Ensure items are ready to read before presenting in Read now
- HTML items: content is downloaded, no longer in processing state
- PDF items: PDF content is downloaded
2022-06-09 13:52:49 -07:00
Jackson Harper
d8e2285f2b Make sure titles are updated when fetching updated article content 2022-06-09 13:52:49 -07:00
Jackson Harper
611b237e17 Handle save operations completing in the background while opening itemIDs 2022-06-09 13:52:49 -07:00
Jackson Harper
4ff8a9b83d When opening with a request id check core data first for an item 2022-06-09 13:52:49 -07:00
Satindar Dhillon
8460ba1cea pop read now link when archiving or deleting from reader 2022-06-09 13:52:49 -07:00
Satindar Dhillon
ec7a7f18b2 Merge branch 'main' into feature/high-text-contrast-reader-text 2022-06-04 08:52:50 -07:00
Satindar Dhillon
187526db02 Update web prefs ui to allow for text contrast change 2022-06-04 08:52:46 -07:00
Satindar Dhillon
2991549413 attempt to adjust form sheet size 2022-06-03 18:52:26 -07:00
Satindar Dhillon
e607fc5675 update font family in web view 2022-06-03 16:44:40 -07:00
Satindar Dhillon
6fd096bf9f remove duplicate web pref adjustment signals 2022-06-03 15:28:53 -07:00
Satindar Dhillon
2f95c02ad3 use enum to manage events sent to web view 2022-06-03 15:17:14 -07:00
Satindar Dhillon
afd2acf302 pass in font family to web reader 2022-06-03 11:54:45 -07:00
Jackson Harper
975411d429
Merge pull request #719 from omnivore-app/fix/pdf-uploading-improvements 2022-06-02 16:47:03 -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
Satindar Dhillon
5a2f3890df style preferences popover 2022-06-01 22:54:38 -07:00
Jackson Harper
fc990fb2ab Return recursive call 2022-06-01 21:04:38 -07:00
Jackson Harper
207a06ed74 Retry loading content if it fails
This happens when syncing content, as there is a slight
delay between content being synced and content being available

Refetching handles this case and any other fetch errors.
2022-06-01 20:47:52 -07:00
Satindar Dhillon
7fae2c6265 fix margin adjustment binding error 2022-06-01 20:29:35 -07:00
Jackson Harper
ee4dc0aaae Correct error message typo 2022-06-01 20:10:16 -07:00
Satindar Dhillon
cebdbedc59 wire up margin and line height changes to web view 2022-06-01 17:16:06 -07:00
Satindar Dhillon
f04621a8fa create a web prefs form sheet 2022-06-01 11:46:12 -07:00
Satindar Dhillon
b32db17dbc WIP 2022-06-01 11:23:48 -07:00
Satindar Dhillon
16c161e0e3 use nav link to present deep link 2022-05-18 11:38:10 -07:00
Satindar Dhillon
17e807afe3 set stack style navigation for full screen reader 2022-05-17 14:56:07 -07:00
Satindar Dhillon
da9b77153a enable read now link from share extension 2022-05-17 14:48:44 -07:00
Satindar Dhillon
033965f0b4 remove homeViewModel references where they're no longer needed 2022-05-17 11:32:07 -07:00