Commit graph

63 commits

Author SHA1 Message Date
Satindar Dhillon
4e5377d7f4 remove web reader loading overlay 2022-05-04 15:22:21 -07:00
Satindar Dhillon
a2a7a2a232 handle content fetch errors in web reader 2022-05-04 15:20:44 -07:00
Satindar Dhillon
4279bed74d show progress view on web reader if content doesn't load in one second 2022-05-04 14:48:12 -07:00
Jackson Harper
2c56073406 Display labels on the appreader page 2022-05-03 21:00:04 -07:00
Satindar Dhillon
67a1ad6953 add text placeholder in web reader to reflect processing and error states 2022-05-02 20:41:03 -07:00
Satindar Dhillon
c39ab2d5f7 retry article content fetches when server returns a .processing state 2022-05-02 20:30:57 -07:00
Satindar Dhillon
ffe1eed6b6 remove extra combine imports 2022-04-28 12:49:06 -07:00
Satindar Dhillon
0e8d5f23da move article content fetching into fewer functions 2022-04-27 20:55:57 -07:00
Satindar Dhillon
4e2a2e595e set nav bar hidded modifier on the navlink view 2022-04-27 12:32:06 -07:00
Satindar Dhillon
c9052f5f81 use coredata to track highlight merge and updates 2022-04-25 17:50:01 -07:00
Satindar Dhillon
aca38f2077 use coredata for create highlight function 2022-04-25 14:00:50 -07:00
Satindar Dhillon
9828846222 use core data to track reading progress 2022-04-25 12:17:27 -07:00
Satindar Dhillon
9c7a0d2ee9 update archive and delete link mutations to work off of core data 2022-04-25 11:56:03 -07:00
Satindar Dhillon
5425e9b0dc delete progress updating delay code 2022-04-23 21:28:20 -07:00
Satindar Dhillon
a63bf7928e remove deprecated data models 2022-04-22 19:58:13 -07:00
Satindar Dhillon
ba152b8f0a remove PersistedArticleContent entity 2022-04-21 12:01:23 -07:00
Satindar Dhillon
6658d1d69b rename article content models to avoid clashing 2022-04-21 09:09:26 -07:00
Satindar Dhillon
6968e06da5 use persisted article content model to store html and highlights string 2022-04-21 09:09:26 -07:00
Satindar Dhillon
33342deb5d create an internal highlight function for encoding 2022-04-21 09:09:26 -07:00
Satindar Dhillon
1b4c871276 use coredata highlight model in some places 2022-04-21 09:09:26 -07:00
Satindar Dhillon
0fc7ff0a43 rename FeedItem to FeedItemDep 2022-04-21 09:09:26 -07:00
Satindar Dhillon
a60a5e3991 mark some models as deprecated 2022-04-21 09:09:26 -07:00
Satindar Dhillon
1d92e64801 define viewer as a nsmanagedobject 2022-04-21 09:09:26 -07:00
Satindar Dhillon
00639011d8 read/write article content using coredata 2022-04-21 09:09:26 -07:00
Satindar Dhillon
6af0452d14 remove ios14 specific code 2022-04-14 12:45:45 -07:00
Satindar Dhillon
1e2901c4e7 add label editing to reader view 2022-04-13 10:48:25 -07:00
Satindar Dhillon
1bdd79e873 update macos app 2022-04-08 08:45:30 -07:00
Satindar Dhillon
f0034f8167 swiftlint fixes 2022-04-05 13:46:02 -07:00
Satindar Dhillon
b79c71ff65 update reading progress only when user has navigated back to the grid view 2022-04-04 12:05:06 -07:00
Jackson Harper
13cd668cdd Add invalidation when highlights are added to items 2022-03-31 15:04:22 -07:00
Jackson Harper
183776c791 Reduce the reader overly length now that items are precached 2022-03-30 17:09:37 -07:00
Jackson Harper
a1feffaf03 Prefetch page content on iOS 2022-03-30 16:39:51 -07:00
Satindar Dhillon
ea7ad52ca6
Merge pull request #332 from omnivore-app/fix/webview-reload
Reload the web reader if its process is terminated
2022-03-29 09:48:33 -07:00
Jackson Harper
709b96eaa7 Ensure title doesnt get html encoded with new appreader 2022-03-29 09:28:40 -07:00
Satindar Dhillon
870af33acf check for root element on webview and relaod content of it's missing 2022-03-28 18:45:03 -07:00
Satindar Dhillon
278578c82e load webreader in updateUIView func when needsRelaod is true 2022-03-28 17:00:34 -07:00
Jackson Harper
877fdb1a93 Reload the web reader if its process is terminated 2022-03-28 10:52:31 -07:00
Jackson Harper
228745f3ea Fix variable name to match attribute 2022-03-25 20:56:17 -07:00
Jackson Harper
ca0897edab Pass createdAt, savedAt, and publishedAt into the appreader 2022-03-25 20:54:07 -07:00
Satindar Dhillon
7f8c794dfc pass annotation to create highlight call 2022-03-24 13:00:21 -07:00
Jackson Harper
5392265a5e Bridge response values from highlight mutations back to JS in the format it expects 2022-03-24 10:52:26 -07:00
Satindar Dhillon
f1c20c731f don't bundle maxjax script tags for apple embeds 2022-03-24 09:18:07 -07:00
Satindar Dhillon
5db0cb12f0 remove auth token and env vars from webreader 2022-03-24 08:34:43 -07:00
Satindar Dhillon
f8fa7f0344 stub in mathjax scripts 2022-03-24 08:32:39 -07:00
Jackson Harper
f8f9af8ec4 Pass html content and title to appreader as HTML
Passing the content in as HTML means we dont have to worry about
escaping it or any issues with quotes in the htmlContent
2022-03-23 19:44:33 -07:00
Satindar Dhillon
3b907d415f handle wkmessages and send replies to webview 2022-03-22 23:48:39 -07:00
Jackson Harper
7b6c381ce2 Handle results from article actions in swift 2022-03-22 15:25:02 -07:00
Satindar Dhillon
e85558114c use shared webview and remove message handlers before each use 2022-03-22 11:54:54 -07:00
Satindar Dhillon
6bb8f76f40 add createdByMe field to Highlight model 2022-03-22 11:51:45 -07:00
Satindar Dhillon
e28cf07666 pass highlights into webreader 2022-03-22 08:03:03 -07:00