Commit Graph

197 Commits

Author SHA1 Message Date
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
c5cb5d9514 We initially show the nav bar but not bottom bar, so this keeps them in sync on subsequent taps 2023-02-07 18:07:34 +08:00
9ebf0f6a6b Show bottom buttons when we show nav bar, make tap toggle the two 2023-02-07 17:44:36 +08:00
a0fdf60cd3 Fixed frame for more icon 2023-02-07 11:04:44 +08:00
d094e80b5b More consistent image for the ellipsis 2023-02-07 11:04:44 +08:00
6f8bf6686b Update webreader view when titles are updated 2023-02-07 11:03:53 +08:00
08405dbcc2 Add highlight positional info to iOS highlights 2023-02-02 15:13:51 +08:00
ba39d8aff6 Revert some test iOS changes 2023-02-01 17:23:33 +08:00
fe9ed7aa13 Track the highlight position percent and anchor index when saving on web 2023-02-01 16:42:36 +08:00
c0151afa03 add Open Original to web reader menu 2023-01-29 16:56:37 -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
c486167969 use more LocalText 2023-01-25 10:59:38 -08:00
d6acb69a1c Use sets for selected/unselected labels to eliminate duplicate IDs in selection 2023-01-23 15:43:56 +08:00
461087513b Fix hit testing on labels, fix initially selected labels in edit labels view 2023-01-23 14:03:46 +08:00
12f40a61b8 Use the ApplyLabels view when users want to search for labels 2023-01-20 18:08:51 +08:00
3af4308202 use local text for more strings 2023-01-19 17:36:50 -08:00
207648999b Rename groups to clubs 2022-12-29 14:10:30 +08:00
0c7b8f5036 On iPhone allow saving links from the reader 2022-12-28 16:30:35 +08:00
21bb3f1397 Load groups from disk when recommending, handle network errors better 2022-12-19 17:07:27 +08:00
e8cd9f4412 Shared highlights UX 2022-12-19 17:07:27 +08:00
9d9f2f3be9 Add toggle for including highlights 2022-12-19 17:07:27 +08:00
55e925cc98 Clean up iOS recommendations, show a primer on first load 2022-12-19 17:07:27 +08:00
a8df439297 Rename recommendedBy to recommendations 2022-12-06 21:18:21 +08:00
19a5495bd3 Reset showRecommendSheet properly so the form sheet can be re-opened 2022-12-06 11:46:36 +08:00
66fc258e0c Dont crash if clicking on a fragment link
If a user clicks on a fragment link like <a href="#info">click here to skip to info</a>
we would previously crash because we would reload the bundle.

This prevents the crash but the link does not work, we can't
just synthesize these links with JS, because the id="info" items
are usually removed by readability.

To properly handle this, we probably need to preserve some id
elements if they are linked to. Then we can scroll to those elements
in Javascript.
2022-12-06 10:58:06 +08:00
56c04a35bf UI for recommendations 2022-12-05 21:14:12 +08:00
f2a0c540a6 iOS basic UI for recommending 2022-12-05 17:45:06 +08:00
c03c6e2a51 Use a share view for copying the group invite link 2022-12-05 17:44:48 +08:00
2cdd75ac18 Rename highlights + notes to notebook 2022-12-01 13:59:29 +08:00
ab64e56ab4 Better cancelation of offline audio downloads, menu cleanup 2022-12-01 13:52:58 +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
a3b53485ed Allow editing author on iOS 2022-11-25 14:42:56 +08:00
fc2e4f7d8c Display some UI for highlight on save 2022-11-21 22:39:10 +08:00
1e4658b771 Consistent function declaration syntax 2022-11-21 22:39:10 +08:00
2ec4328a90 Linting 2022-11-21 22:39:10 +08:00
2e7b7c1bb5 Make warning message on reader match library 2022-11-21 22:39:10 +08:00
6eab360da3 Move download audio option, clean up menus 2022-11-14 10:35:17 +08:00
fa99af3f6a Better handling of articles with stub URLs that shouldn't be used (happens with newsletters that dont have a URL') 2022-11-11 15:56:03 +08:00
eaaf1c052b Fix typo 2022-11-11 15:39:47 +08:00
e5947ee7d7 Remove unneeded update to showHighlightAnnotationModal. This is already true 2022-11-01 21:02:29 +08:00
70cf8eb87b Revert some theme stuff 2022-11-01 18:17:48 +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
10efce23c1 add webControlButtonBackground to colors 2022-10-25 08:55:04 -07:00
67049e4c0b animate bottom bar opacity when onAppear event called 2022-10-25 08:37:55 -07: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