Commit Graph

82 Commits

Author SHA1 Message Date
2d7fe30d6d Fix snackbar issues 2023-07-27 14:06:29 +08:00
2f35d20562 Fix the texteditor on the notebook view 2023-06-14 21:41:01 +08:00
1fbd0a5e64 Fixes to build on Macos 2023-05-30 22:25:50 +08:00
dbbd3abdee Update background color behind webview when user switches themes 2023-04-11 16:44:52 +08:00
dd88d9f125 Use navigation view for setting note 2023-04-10 15:59:40 +08:00
d428baa916 Remove old note icon 2023-04-10 15:59:40 +08:00
522ea0a3c3 Fix issue with changing system colormode causing the incorrect theme to be applied 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
b61b511c23 add os conditionals to get mac app to compile 2023-03-22 09:24:12 -07:00
edb9d5cfca attempt to mitigate line length warnings 2023-02-20 12:15:29 -07:00
8156328cf6 fix some linter warnings on deliberate code 2023-02-20 12:15:29 -07:00
4fd4d5a4db New library item cards, fix issue with read position 2023-02-15 13:56:11 +08:00
e219f94504 Enable translate menu, only show selection menus when non-highlight menu 2023-02-10 12:10:32 +08:00
fc49c54867 use string rather than boolean to send js event 2023-02-09 17:55:48 -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
dcf40c1daa apply generic local text values 2023-01-25 13:09:19 -08:00
1cbaa87101 apply local text on for text (other than generic list) 2023-01-25 12:45:12 -08:00
d6acb69a1c Use sets for selected/unselected labels to eliminate duplicate IDs in selection 2023-01-23 15:43:56 +08:00
3af4308202 use local text for more strings 2023-01-19 17:36:50 -08:00
125f6a2dea use local text for 'labels' text 2023-01-19 17:12:40 -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
53c9881fe0 Allow setting highlight labels by clicking a highlight 2022-11-29 11:58:32 +08:00
395b3d7ac7 Allow setting labels on highlights 2022-11-28 21:32:42 +08:00
a29a430f91 Fix bug causing quotes to appear around notes on iOS
When serialized to a JSON string quotes are added, so we were
double quoting our strings.
2022-11-07 08:16:21 +08:00
472e11e9db Add three new fonts, display fonts in the font selector 2022-11-02 18:04:55 +08:00
531275a013 Remove some more temp theme stuff, update reader bundle 2022-11-01 18:27:05 +08:00
e9ed8e6138 Better handling of errors when dispatching annotation events to JS 2022-11-01 18:15:49 +08:00
01ce025720 Revert some theme changes, update reader, fix theme clearing 2022-11-01 17:53:25 +08:00
16d06f8f6f Add missing import 2022-11-01 17:42:08 +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
c287eb4a59 add os conditionals so the mac app compiles 2022-10-12 10:11:09 -07:00
49e911f023 show highlight annotation sheet when tapping on note or 'add a note' 2022-10-05 12:02:08 -07:00
d3099e8611 Update to handle iOS16 menus
On iOS16 the way context menus are built is slightly changed, this
was causing "Look up" to be removed from our menu.
2022-09-16 16:10:40 +08:00
66ea008f05 WIP: fetch speech files, show some follow along 2022-09-13 15:22:09 +08:00
b63c9b0265 Make event names match in Swift and JS 2022-08-29 11:28:54 +08: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
b113d78904 add os conditionals to get mac app running: 2022-06-21 22:05:39 -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
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
2f95c02ad3 use enum to manage events sent to web view 2022-06-03 15:17:14 -07:00
7fae2c6265 fix margin adjustment binding error 2022-06-01 20:29:35 -07:00
cebdbedc59 wire up margin and line height changes to web view 2022-06-01 17:16:06 -07:00
954d84fab2 add share option to web reader context menu 2022-05-16 12:05:45 -07:00