Commit graph

179 commits

Author SHA1 Message Date
Jackson Harper
207648999b Rename groups to clubs 2022-12-29 14:10:30 +08:00
Jackson Harper
0c7b8f5036 On iPhone allow saving links from the reader 2022-12-28 16:30:35 +08:00
Jackson Harper
21bb3f1397 Load groups from disk when recommending, handle network errors better 2022-12-19 17:07:27 +08:00
Jackson Harper
e8cd9f4412 Shared highlights UX 2022-12-19 17:07:27 +08:00
Jackson Harper
9d9f2f3be9 Add toggle for including highlights 2022-12-19 17:07:27 +08:00
Jackson Harper
55e925cc98 Clean up iOS recommendations, show a primer on first load 2022-12-19 17:07:27 +08:00
Jackson Harper
a8df439297 Rename recommendedBy to recommendations 2022-12-06 21:18:21 +08:00
Jackson Harper
19a5495bd3 Reset showRecommendSheet properly so the form sheet can be re-opened 2022-12-06 11:46:36 +08:00
Jackson Harper
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
Jackson Harper
56c04a35bf UI for recommendations 2022-12-05 21:14:12 +08:00
Jackson Harper
f2a0c540a6 iOS basic UI for recommending 2022-12-05 17:45:06 +08:00
Jackson Harper
c03c6e2a51 Use a share view for copying the group invite link 2022-12-05 17:44:48 +08:00
Jackson Harper
2cdd75ac18 Rename highlights + notes to notebook 2022-12-01 13:59:29 +08:00
Jackson Harper
ab64e56ab4 Better cancelation of offline audio downloads, menu cleanup 2022-12-01 13:52:58 +08:00
Jackson Harper
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
Jackson Harper
53c9881fe0 Allow setting highlight labels by clicking a highlight 2022-11-29 11:58:32 +08:00
Jackson Harper
395b3d7ac7 Allow setting labels on highlights 2022-11-28 21:32:42 +08:00
Jackson Harper
a3b53485ed Allow editing author on iOS 2022-11-25 14:42:56 +08:00
Jackson Harper
fc2e4f7d8c Display some UI for highlight on save 2022-11-21 22:39:10 +08:00
Jackson Harper
1e4658b771 Consistent function declaration syntax 2022-11-21 22:39:10 +08:00
Jackson Harper
2ec4328a90 Linting 2022-11-21 22:39:10 +08:00
Jackson Harper
2e7b7c1bb5 Make warning message on reader match library 2022-11-21 22:39:10 +08:00
Jackson Harper
6eab360da3 Move download audio option, clean up menus 2022-11-14 10:35:17 +08:00
Jackson Harper
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
Jackson Harper
eaaf1c052b Fix typo 2022-11-11 15:39:47 +08:00
Jackson Harper
e5947ee7d7 Remove unneeded update to showHighlightAnnotationModal. This is already true 2022-11-01 21:02:29 +08:00
Jackson Harper
70cf8eb87b Revert some theme stuff 2022-11-01 18:17:48 +08:00
Jackson Harper
2c07dbf8ff Better handling of errors when dispatching annotation events to JS 2022-11-01 17:40:13 +08:00
Jackson Harper
467a37e8cc WIP: New themes and reader preferences for iOS 2022-11-01 17:40:11 +08:00
Satindar Dhillon
10efce23c1 add webControlButtonBackground to colors 2022-10-25 08:55:04 -07:00
Satindar Dhillon
67049e4c0b animate bottom bar opacity when onAppear event called 2022-10-25 08:37:55 -07:00
Jackson Harper
8eb204b4c0 Add new action bar at bottom of iOS reader that shows when user reaches end 2022-10-25 16:09:15 +08:00
Jackson Harper
68a304664c Empty state for the Highlights View 2022-10-17 15:13:05 +08:00
Satindar Dhillon
c287eb4a59 add os conditionals so the mac app compiles 2022-10-12 10:11:09 -07:00
Jackson Harper
08c06a6dff Add a button to reset read location
This will be more useful when text to speech updates read position
while listening, gives the user more control and makes it easier
to handle scrolling back in an article.
2022-10-11 15:12:25 +08:00
Jackson Harper
783e25b63a Remove text to speech feature flag, its enabled for everyone now 2022-10-11 11:27:33 +08:00
Jackson Harper
e831ba54ae Better sizing on webview nav bar items 2022-10-06 12:34:16 +08:00
Jackson Harper
42b0921ab6 More work on the player UI, more consistent nav bar item sizing 2022-10-06 12:34:16 +08:00
Satindar Dhillon
e36920e96e reload web view if article highlights had been mutated from the highlits list modal 2022-10-05 12:02:08 -07:00
Satindar Dhillon
db9246553f message web container view when highlight view is dismissed and mutations have occurred 2022-10-05 12:02:08 -07:00
Satindar Dhillon
c5ad8a238c persist annotation changes from highlights view 2022-10-05 12:02:08 -07:00
Satindar Dhillon
397fb5d9f7 add a basic highlights list view 2022-10-05 12:02:08 -07:00
Jackson Harper
be6e52fbab Display headphones if playing another audio item 2022-09-24 11:19:14 +08:00
Jackson Harper
fbd6e97be6 Handle async threading error with read now accessing the currentViewer property 2022-09-23 17:49:45 +08:00
Jackson Harper
b610a7f734 Better sizing of the headphones image 2022-09-23 17:01:09 +08:00
Jackson Harper
d11091a458 Make tts preload optional, use headphones for tts icon, language ux 2022-09-23 16:38:21 +08:00
Satindar Dhillon
1250e07645 update stubbed content for android webview 2022-09-19 22:17:45 -07:00
Jackson Harper
01eb7bc451 Make sure we access currentViewer on the main thread 2022-09-14 17:45:29 +08:00
Satindar Dhillon
c4152a05a0 create a LinkedItemAudioProperties struct that can be passed to AudioController (instead of passing LinkedItem) 2022-09-13 15:27:48 +08:00
Jackson Harper
c4bbf4f618 Continue naming refactor. Session -> Controller 2022-09-13 15:26:48 +08:00