Commit Graph

76 Commits

Author SHA1 Message Date
2be835f23e Enable fullscreen mode
This is needed on iOS to allow the YouTube embed to go fullscreen.
2024-03-13 22:04:21 +08:00
839b364d13 Separate bottom bar visibility so we dont display the top bar when scrolled to bottom 2024-02-06 11:43:44 +08:00
03766734e5 Pull out popup view and replace with Transmission snackbars
PopupView and Transimission can interfere with each other and
cause an issue with the root screen becoming black and the app
getting stuck.
2024-02-06 11:43:43 +08:00
0529792f2a Improve the header and toolbar icons in the reader 2023-12-20 14:35:59 +08:00
e63b4f9b2c Abstract out fetching from view model so we can better handle multiple fetch folders
Rename LinkedItem to LibraryItem

More on following

Add new fetcher

Tab bar
2023-12-07 17:15:52 +08:00
0fa45750a4 Dont attempt local searches for custom saved searches on iOS 2023-11-28 14:19:48 +08:00
2d7fe30d6d Fix snackbar issues 2023-07-27 14:06:29 +08:00
590fc2ed25 Update iconography and listview for ios, bump android 2023-07-24 12:11:21 +08:00
57894754a6 Add MainActor to main views in iOS 2023-07-20 13:12:48 +08:00
bf799a6534 Better default font 2023-05-31 13:50:02 +08:00
1fbd0a5e64 Fixes to build on Macos 2023-05-30 22:25:50 +08:00
4d801a7cec Fix issue with justify-text not being set on iOS 2023-05-26 18:02:06 +08:00
cd5d135032 Set the iOS caret colour based on theme 2023-05-04 14:11:56 +08:00
dbbd3abdee Update background color behind webview when user switches themes 2023-04-11 16:44:52 +08:00
bed8c94a2d Fix background scoll color visible in WebReader bounce area 2023-04-10 15:59:40 +08:00
14d5676979 Add handler for justify text, fix dependency issue with auto highlights 2023-04-10 15:59:40 +08:00
9669026c8f WIP: update the display settings view on iOS 2023-04-10 15:59:40 +08:00
c9296deac4 Update TTS user interface 2023-02-20 22:49:09 +08:00
4fd4d5a4db New library item cards, fix issue with read position 2023-02-15 13:56:11 +08:00
eddbcd293a add toggle for auto highlight mode on ios 2023-02-09 15:22:39 -08:00
3062e16e63 Pass tap events from web reader into native instead of setting up gestures in native
This allows us to handle tap events based on state better, most
importantly it means we wont raise the bottom buttons if the
there is a tap to dismiss an active menu.
2023-02-08 18:52:17 +08:00
6f8bf6686b Update webreader view when titles are updated 2023-02-07 11:03:53 +08:00
d6acb69a1c Use sets for selected/unselected labels to eliminate duplicate IDs in selection 2023-01-23 15:43:56 +08:00
1b57d879ed Better handling of errors in javascript while waiting in swift
Two main changes here:

- Wait for JS highlight methods to complete, if an error occurs
post that error back to Swift.

- When creating a highlight with a note, post a message back to
Swift to signify success. We wait for that message instead of
closing immediately, so that a user doesn't lose their note if
creating the highlight failed.
2022-11-30 21:09:02 +08:00
e5947ee7d7 Remove unneeded update to showHighlightAnnotationModal. This is already true 2022-11-01 21:02:29 +08:00
2c07dbf8ff Better handling of errors when dispatching annotation events to JS 2022-11-01 17:40:13 +08:00
467a37e8cc WIP: New themes and reader preferences for iOS 2022-11-01 17:40:11 +08:00
8eb204b4c0 Add new action bar at bottom of iOS reader that shows when user reaches end 2022-10-25 16:09:15 +08:00
e36920e96e reload web view if article highlights had been mutated from the highlits list modal 2022-10-05 12:02:08 -07:00
03fac22c29 update text chip color scheme 2022-07-21 10:39:27 -07:00
02bb54b813 change order on increase/decrease in mac menu 2022-07-12 22:31:00 -07:00
fb361096fa bundle all reader preferences cahnges into a single transaction 2022-07-12 22:31:00 -07:00
af6f8dd416 enable highlight bar for macos web reader 2022-06-29 22:09:52 -07:00
aa79137223 fix bug where viewerAction is overridden on webreader 2022-06-29 20:23:54 -07:00
6721a0681c remove duplicate platform code in webreader 2022-06-29 20:08:42 -07:00
e48a3027f6 use resourceURL for locating bundled web reader web resources 2022-06-29 15:58:16 -07:00
43a20abcd5 try to load htmlString on mac app 2022-06-28 17:03:58 -07:00
93d3485e40 remove old web reader code 2022-06-28 16:21:42 -07:00
23a03e4aa2 rename WebView to OmnivoreWebView to avaoid clash with AppKit class 2022-06-28 15:17:50 -07:00
d3be6cf72a set text contrast preference at article loading time. default to true 2022-06-22 15:08:01 -07:00
6f86495cf4 lint fixes 2022-06-17 13:54:40 -07:00
bd34f4ff3c use maxWidthPercentage to update margin in web reader: 2022-06-13 11:27:21 -07:00
4423bc3e44 adds ability to control maxWidth on iphone 2022-06-13 09:57:28 -07:00
d8e2285f2b Make sure titles are updated when fetching updated article content 2022-06-09 13:52:49 -07:00
187526db02 Update web prefs ui to allow for text contrast change 2022-06-04 08:52:46 -07:00
e607fc5675 update font family in web view 2022-06-03 16:44:40 -07:00
6fd096bf9f remove duplicate web pref adjustment signals 2022-06-03 15:28:53 -07:00
2f95c02ad3 use enum to manage events sent to web view 2022-06-03 15:17:14 -07:00
afd2acf302 pass in font family to web reader 2022-06-03 11:54:45 -07:00
cebdbedc59 wire up margin and line height changes to web view 2022-06-01 17:16:06 -07:00