Commit Graph

36 Commits

Author SHA1 Message Date
f0034f8167 swiftlint fixes 2022-04-05 13:46:02 -07:00
b79c71ff65 update reading progress only when user has navigated back to the grid view 2022-04-04 12:05:06 -07:00
13cd668cdd Add invalidation when highlights are added to items 2022-03-31 15:04:22 -07:00
183776c791 Reduce the reader overly length now that items are precached 2022-03-30 17:09:37 -07:00
a1feffaf03 Prefetch page content on iOS 2022-03-30 16:39:51 -07:00
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
709b96eaa7 Ensure title doesnt get html encoded with new appreader 2022-03-29 09:28:40 -07:00
870af33acf check for root element on webview and relaod content of it's missing 2022-03-28 18:45:03 -07:00
278578c82e load webreader in updateUIView func when needsRelaod is true 2022-03-28 17:00:34 -07:00
877fdb1a93 Reload the web reader if its process is terminated 2022-03-28 10:52:31 -07:00
228745f3ea Fix variable name to match attribute 2022-03-25 20:56:17 -07:00
ca0897edab Pass createdAt, savedAt, and publishedAt into the appreader 2022-03-25 20:54:07 -07:00
7f8c794dfc pass annotation to create highlight call 2022-03-24 13:00:21 -07:00
5392265a5e Bridge response values from highlight mutations back to JS in the format it expects 2022-03-24 10:52:26 -07:00
f1c20c731f don't bundle maxjax script tags for apple embeds 2022-03-24 09:18:07 -07:00
5db0cb12f0 remove auth token and env vars from webreader 2022-03-24 08:34:43 -07:00
f8fa7f0344 stub in mathjax scripts 2022-03-24 08:32:39 -07:00
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
3b907d415f handle wkmessages and send replies to webview 2022-03-22 23:48:39 -07:00
7b6c381ce2 Handle results from article actions in swift 2022-03-22 15:25:02 -07:00
e85558114c use shared webview and remove message handlers before each use 2022-03-22 11:54:54 -07:00
6bb8f76f40 add createdByMe field to Highlight model 2022-03-22 11:51:45 -07:00
e28cf07666 pass highlights into webreader 2022-03-22 08:03:03 -07:00
cdefac0d50 add annotattion and safari modals to web reader 2022-03-22 08:03:03 -07:00
93a8d4a890 split reader code into files. remove unused code 2022-03-22 08:03:03 -07:00
3c283a5636 wire up archive and delete actions on web reader 2022-03-22 08:03:03 -07:00
e06f264a87 Set the per environment env vars for the app reader 2022-03-21 14:42:55 -07:00
ebd7018a14 set wedreader server addresses 2022-03-21 13:15:03 -07:00
2ddbeceeb1 set fontsize and token on localstorage for apple web embed 2022-03-21 09:48:34 -07:00
4d6c54da12 show overlay while web view loads 2022-03-21 08:44:47 -07:00
b6b1cdc2b2 move bundle.js into views package. use existing font files for webview 2022-03-20 22:02:19 -07:00
4ef2f704be load fonts into webview 2022-03-20 21:54:46 -07:00
7667dc27cd create new webview coordinator to manage webview 2022-03-20 09:29:06 -07:00
083ca05b3e remove unused css file and utility functions 2022-03-20 09:29:06 -07:00
6f7dd764dd use webviewmanager to resue webviews 2022-03-20 09:29:06 -07:00
5d58cd28bf add local webreader for apple apps 2022-03-20 09:29:06 -07:00