Commit graph

325 commits

Author SHA1 Message Date
Jackson Harper
0e1aaae8fa Use an override for advanced reader settings so we can update when reader settings change 2023-04-11 12:26:35 +08:00
Jackson Harper
99d3efed51 Only add text-align on p elements 2023-04-11 11:59:18 +08:00
Jackson Harper
522ea0a3c3 Fix issue with changing system colormode causing the incorrect theme to be applied 2023-04-10 15:59:40 +08:00
Jackson Harper
14d5676979 Add handler for justify text, fix dependency issue with auto highlights 2023-04-10 15:59:40 +08:00
Jackson Harper
9669026c8f WIP: update the display settings view on iOS 2023-04-10 15:59:40 +08:00
Jackson Harper
987394c26a Remove extra debug 2023-04-05 18:18:54 +08:00
Jackson Harper
490cd6b098 Scroll to highlight keyboard commands 2023-04-05 18:13:54 +08:00
Jackson Harper
3f8926eb18 Better handling of closing notebooks and refreshing data in the highlight layer 2023-04-05 17:49:54 +08:00
Jackson Harper
2ed372a74c Better dependency handling of highlights data 2023-04-05 17:05:30 +08:00
Jackson Harper
6226131c16 Implement scroll to highlight in PDF 2023-04-05 15:39:51 +08:00
Jackson Harper
4468b038a8 Update notebook icon 2023-04-05 15:09:03 +08:00
Jackson Harper
1220481b00 Better highlight position calculation 2023-04-04 21:26:47 +08:00
Jackson Harper
8e3aba2295 WIP: feature cards, fir merging highlights offline sync 2023-04-04 21:04:13 +08:00
Jackson Harper
5e396ef23b Better MD support in iOS, merge fixes 2023-04-03 19:35:06 +08:00
Jackson Harper
51f17350a7 Remove duplicated attribute from merge 2023-04-03 17:44:29 +08:00
Jackson Harper
af00b88c5a More merge fixes 2023-04-03 17:29:01 +08:00
Jackson Harper
5eef42e296 Merge highlight improvements 2023-04-03 17:19:43 +08:00
Jackson Harper
8fd891bae7 Start to add a new modal for notes 2023-04-03 16:13:53 +08:00
Jackson Harper
f20cbed563 Improve highlight scrolling from notebooks 2023-04-03 13:46:19 +08:00
Jackson Harper
86c3e08355 Update color, remove unused code 2023-03-31 14:54:22 +08:00
Jackson Harper
d6a3eaea92 Fix notebook layout to match design, remove unused file 2023-03-31 14:48:31 +08:00
Jackson Harper
2607445a0b Wider views on small devices for notebooks 2023-03-31 14:36:34 +08:00
Jackson Harper
495b509c51 Update notebook modals, allow edit mode 2023-03-27 15:04:20 +08:00
Jackson Harper
2a0244b612 Refactor for PDF highlights 2023-03-27 14:53:33 +08:00
Jackson Harper
bf768293aa Use same notebook across layouts 2023-03-27 14:04:43 +08:00
Jackson Harper
040e446167 WIP: refactoring to reuse notebook code 2023-03-27 12:16:21 +08:00
Jackson Harper
53e5d9c6a0 Quote is nullable, fix style issues in notebooks 2023-03-27 10:17:33 +08:00
Jackson Harper
10c8348f1a Update notes modal in PDFContainer 2023-03-24 20:42:56 +08:00
Jackson Harper
33e301cae6 Handle changes in the modal notebook 2023-03-24 20:18:37 +08:00
Jackson Harper
356c64173a Improve the notebooks 2023-03-24 16:23:04 +08:00
Jackson Harper
e2aaaf5a08 Sizing fixes on the note modal 2023-03-24 10:18:36 +08:00
Jackson Harper
1fb3c44b93 WIP: Use a reducer when creating notes 2023-03-24 10:18:36 +08:00
Jackson Harper
69eaff395e WIP: improve notebook UX, add markdown, document notes 2023-03-24 10:18:36 +08:00
Jackson Harper
89d59be1f2 Improve the height of the header in the library
We need to handle library headers and PDF headers differently.
2023-03-21 12:57:40 +08:00
Jackson Harper
a9128a0733 Use vh to force the PDF container height 2023-03-16 17:01:53 +08:00
Jackson Harper
a40c63cb41 Set a min height for library and reader so when small content is display the full screen is always used 2023-03-13 14:45:00 +08:00
Jackson Harper
467ace2f14 Rename reading progress file now that its no longer a react hook 2023-03-13 13:29:29 +08:00
Jackson Harper
608ef8cadc Remove debug line 2023-03-13 13:14:54 +08:00
Jackson Harper
112df31fe4 remove debug lines 2023-03-11 08:02:46 +08:00
Jackson Harper
5c69b5d8c0 Use bounding rects for filtering top rect 2023-03-10 17:25:09 +08:00
Jackson Harper
8cf0a6ecb2 Simplify top positioning 2023-03-10 16:47:02 +08:00
Jackson Harper
cc4b07a5ed Set reading progress top percent 2023-03-10 15:10:47 +08:00
Jackson Harper
036040a3a0 Start sending top percent 2023-03-10 15:05:18 +08:00
Jackson Harper
a0a144cdbd set reading progress percent to bottom position 2023-03-10 15:05:18 +08:00
Jackson Harper
2192c563a7 Do debouncing in scrollWatcher instead of using lodash 2023-03-10 15:05:18 +08:00
Jackson Harper
4d2698145a Better handling of overflow to improve scroll watching 2023-03-10 15:05:18 +08:00
Jackson Harper
e4b717c3e2 Padding on the top of articles shouldnt change with breakpoints 2023-03-10 15:05:18 +08:00
Jackson Harper
376d75a756 Theme selector colours 2023-03-10 15:05:18 +08:00
Jackson Harper
4fc29aab9a Fix checkbox colors on theme selector 2023-03-10 15:05:18 +08:00
Jackson Harper
23efda667d Theme cleanup, expose extra reader themes
This also removes synced reader preferences so everything is
per device now.
2023-03-10 15:05:18 +08:00