Commit graph

39 commits

Author SHA1 Message Date
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
Satindar Dhillon
cdefac0d50 add annotattion and safari modals to web reader 2022-03-22 08:03:03 -07:00
Satindar Dhillon
93a8d4a890 split reader code into files. remove unused code 2022-03-22 08:03:03 -07:00
Satindar Dhillon
3c283a5636 wire up archive and delete actions on web reader 2022-03-22 08:03:03 -07:00
Jackson Harper
e06f264a87 Set the per environment env vars for the app reader 2022-03-21 14:42:55 -07:00
Satindar Dhillon
ebd7018a14 set wedreader server addresses 2022-03-21 13:15:03 -07:00
Satindar Dhillon
2ddbeceeb1 set fontsize and token on localstorage for apple web embed 2022-03-21 09:48:34 -07:00
Satindar Dhillon
4d6c54da12 show overlay while web view loads 2022-03-21 08:44:47 -07:00
Satindar Dhillon
b6b1cdc2b2 move bundle.js into views package. use existing font files for webview 2022-03-20 22:02:19 -07:00
Satindar Dhillon
4ef2f704be load fonts into webview 2022-03-20 21:54:46 -07:00
Satindar Dhillon
7667dc27cd create new webview coordinator to manage webview 2022-03-20 09:29:06 -07:00
Satindar Dhillon
083ca05b3e remove unused css file and utility functions 2022-03-20 09:29:06 -07:00
Satindar Dhillon
6f7dd764dd use webviewmanager to resue webviews 2022-03-20 09:29:06 -07:00
Satindar Dhillon
5d58cd28bf add local webreader for apple apps 2022-03-20 09:29:06 -07:00