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
954d84fab2
add share option to web reader context menu
2022-05-16 12:05:45 -07:00
d041c73fd1
show nav bar on tap in the web reader
2022-05-10 21:16:45 -07:00
a63bf7928e
remove deprecated data models
2022-04-22 19:58:13 -07:00
6968e06da5
use persisted article content model to store html and highlights string
2022-04-21 09:09:26 -07:00
0fc7ff0a43
rename FeedItem to FeedItemDep
2022-04-21 09:09:26 -07:00
a60a5e3991
mark some models as deprecated
2022-04-21 09:09:26 -07:00
1bdd79e873
update macos app
2022-04-08 08:45:30 -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
7f8c794dfc
pass annotation to create highlight call
2022-03-24 13:00:21 -07:00
5db0cb12f0
remove auth token and env vars from webreader
2022-03-24 08:34:43 -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
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
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