Commit graph

32 commits

Author SHA1 Message Date
Satindar Dhillon
05574a640e remove performActionSubject from web wrapper view model 2022-04-27 17:12:27 -07:00
Satindar Dhillon
5425e9b0dc delete progress updating delay code 2022-04-23 21:28:20 -07:00
Satindar Dhillon
1bdd79e873 update macos app 2022-04-08 08:45:30 -07:00
Jackson Harper
d2e14fc935 Allow video playback on iOS
Example page:

https://www.technologyreview.com/2022/03/28/1048355/quantum-computing-has-a-hype-problem
2022-03-29 10:55:48 -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
7667dc27cd create new webview coordinator to manage webview 2022-03-20 09:29:06 -07:00
Satindar Dhillon
6f7dd764dd use webviewmanager to resue webviews 2022-03-20 09:29:06 -07:00
Jackson Harper
a58ccb7f14 Use a single process pool for all webviews
This is a first step to improving our caching on iOS.
2022-03-16 10:29:14 -07:00
Satindar Dhillon
525cb9b8b9 update item reading progress when signal is ent from web app view 2022-03-09 13:40:18 -08:00
Satindar Dhillon
191fcb2675 send reading progres updates from embedded web views 2022-03-09 13:40:18 -08:00
Satindar Dhillon
e5a3fdc2d3 update styling and position of font size popover 2022-03-08 11:13:28 -08:00
Jackson Harper
e6b4d80de2 After load set webview to opaque
During the initial load we need the clear + !opaque settings so
the webview does not flash a white background in dark mode. But
after load we want to use the systemBackground colour and an
opaque background, so in dark mode the scrollbars are displayed
correctly. Without this iOS will display a dark scrollbar ontop
of the dark background.

Note that due to a bug in Webkit setting the scrollbar inset
colours doesn't seem to work in current iOS:

https://developer.apple.com/forums/thread/689654
2022-03-06 09:16:40 -08:00
Satindar Dhillon
c73d4dc64a render correct color mode in privacy and term web embeds [apple] 2022-02-24 14:18:51 -08:00
Satindar Dhillon
732941a620 remove link item creator and create view directly instead 2022-02-23 22:20:07 -08:00
Satindar Dhillon
6a41484bca set navBarHeight in one place 2022-02-23 21:24:05 -08:00
Satindar Dhillon
5e4502719e move LinkItemDetailViewModel into binders package 2022-02-23 16:24:21 -08:00
Satindar Dhillon
2169413554 resolve lint/xcode warnings 2022-02-22 09:17:54 -08:00
Satindar Dhillon
9b017f8737 add os conditionals and bump version number 2022-02-18 13:17:32 -08:00
Jackson Harper
8d743617cb Use the new verticalScrollIndicatorInsets instead of scrollIndicatorInsets 2022-02-17 21:55:22 -08:00
Jackson Harper
e757dbfe68 Use navBarHeight for the ... nav bar height 2022-02-17 21:22:19 -08:00
Jackson Harper
d7d4131f9f Set the scroll indicator offsets on the webview
This prevents the scroll from bouncing when we scroll to the top
we should figure out how to query for the system navigation
bar size and use that instead of hard coding 50.
2022-02-17 20:41:13 -08:00
Satindar Dhillon
d9f32d0559 fix animation glitch 2022-02-17 16:25:24 -08:00
Satindar Dhillon
ad9d37e611 remove print statements 2022-02-17 16:08:00 -08:00
Satindar Dhillon
ea93f3926e WiP 2022-02-17 16:07:31 -08:00
Satindar Dhillon
0eca980993 adjust scroll content offset when nav bar toggles 2022-02-16 20:40:39 -08:00
Satindar Dhillon
45533fa562 remove scroll to top behavior on iphone reader view 2022-02-16 20:27:28 -08:00
Satindar Dhillon
e07a504daa show nav bar when user taps the status bar 2022-02-16 19:43:16 -08:00
Satindar Dhillon
997f087635 adjust nav bar height 2022-02-16 13:39:45 -08:00
Satindar Dhillon
ed6740c158 tune the scrolling behavior of nav bar 2022-02-16 08:32:04 -08:00
Satindar Dhillon
7575450121 use scroll view delegate to watch scroll changes and update nav bar visibility 2022-02-15 22:16:01 -08:00
Jackson Harper
84f32935f5 Open source omnivore 2022-02-11 09:24:33 -08:00