Commit graph

399 commits

Author SHA1 Message Date
Jackson Harper
68794bf184 Fix colors.length modulus 2023-08-04 10:22:08 +08:00
Jackson Harper
69a84278e5 Some debugging for color generation 2023-08-04 10:07:45 +08:00
Jackson Harper
f5323d10c3 Lower the zindex for progress bars so they are under headers when scrolled 2023-08-03 20:47:38 +08:00
Jackson Harper
712adeaff3 More grid tweaks 2023-08-03 18:56:51 +08:00
Jackson Harper
d8bd659404 Improve the spacing on library grid cards 2023-08-03 18:51:54 +08:00
Jackson Harper
21a86b27d2 Tweak some colours 2023-08-03 18:22:06 +08:00
Jackson Harper
dbd85d717f Improve spacing for new list view and header 2023-08-03 18:00:46 +08:00
Jackson Harper
0b2e0878fc Update margins on the list view, better title line spacing 2023-08-03 17:05:36 +08:00
Jackson Harper
63e47a87ad Lower z-index for hover actions so they dont display over header 2023-08-03 16:51:54 +08:00
Jackson Harper
2037236748 Only display two lines of text on the grid cards 2023-08-03 15:22:40 +08:00
Jackson Harper
4095cc7c1a Remove dead code 2023-08-03 14:56:07 +08:00
Jackson Harper
40266422ab Fix imports 2023-08-03 13:36:13 +08:00
Jackson Harper
1feee4d7cf Add missing files 2023-08-03 13:27:21 +08:00
Jackson Harper
97f422cf3f Improve multiselect 2023-08-03 13:21:46 +08:00
Jackson Harper
26bfbedcb9 Show progress on grid, change separator for progress 2023-08-01 20:45:15 +08:00
Jackson Harper
ef840bd2a7 Show the progress on library grid cards 2023-08-01 20:39:49 +08:00
Jackson Harper
33dbb90c72 Improve loading of images on grid 2023-08-01 18:56:19 +08:00
Jackson Harper
d8c7970000 Hover action sizes 2023-08-01 17:44:21 +08:00
Jackson Harper
c0dbbc3b86 Update icons 2023-08-01 12:31:12 +08:00
Jackson Harper
dde070f078 Better fallback images 2023-07-31 21:06:38 +08:00
Jackson Harper
58ac6381db Clean up positioning on mobile, hovercards on desktop 2023-07-31 19:16:16 +08:00
Jackson Harper
296050feea Font and text style 2023-07-31 17:46:26 +08:00
Jackson Harper
97d2da4b5c WIP: grid card design 2023-07-31 17:36:15 +08:00
Jackson Harper
b56513d28b Remove display inline on highlight view markdown blocks
This fixes the formatting of lists in highlight views.
2023-06-30 09:14:41 -07:00
Jackson Harper
873f24c125 Styling on highlight views 2023-06-28 21:03:07 +08:00
Jackson Harper
d511d43593 Handle all whitespace nodes when creating highlights, improve highlight view styling 2023-06-28 15:42:31 +08:00
Jackson Harper
24780ea5f6 Allow list author infos more room if needed 2023-06-27 16:05:46 +08:00
Jackson Harper
cdedb9f4a4 Add import 2023-06-27 15:47:32 +08:00
Jackson Harper
e8948ef14c Dont show hover actions on touch devices 2023-06-27 15:47:32 +08:00
Jackson Harper
5925f50826 Better handling article notes 2023-06-27 15:47:32 +08:00
Jackson Harper
c5cb6097b3 Different alphas for light and dark highlights 2023-06-27 15:47:32 +08:00
Jackson Harper
976a0cb88c Update the selected highlight item when using keyboard controls 2023-06-27 15:47:32 +08:00
Jackson Harper
94286c6676 clean up highlights layout to work with new highlight items 2023-06-27 15:47:32 +08:00
Jackson Harper
f5792cfc3a Add padding on bottom of notebooks, add cancel button to note editor 2023-06-27 15:46:50 +08:00
Jackson Harper
aab893584e MOre work on notebook side pane 2023-06-27 15:46:50 +08:00
Jackson Harper
3f17538cb8 Always display the dropdown menu on touch devices 2023-06-27 15:46:49 +08:00
Jackson Harper
b6cbbd765d Linting cleanup 2023-06-27 15:46:49 +08:00
Jackson Harper
92b4f0e523 Better hover action positioning 2023-06-27 15:46:49 +08:00
Jackson Harper
d4ccde4cd2 Improve hover actions on library cards, start to add spaced list view 2023-06-27 15:46:49 +08:00
Jackson Harper
ae05789e5b Add hover actions to the library 2023-06-27 15:46:49 +08:00
Jackson Harper
b916b4a065 Fix bug preventing setting a highlight note to an empty string 2023-06-27 15:46:49 +08:00
Jackson Harper
83012946dc fix empty arrow funcs 2023-06-27 15:46:49 +08:00
Jackson Harper
300f27a83e view in reader for the small screen highlights view 2023-06-27 15:46:49 +08:00
Jackson Harper
0888f38d84 Add a header to the highglight view 2023-06-27 15:46:49 +08:00
Jackson Harper
cdaa0c2876 Put the highlight menu in a container 2023-06-27 15:46:49 +08:00
Jackson Harper
ff06f817fe Better handling of state changes on notes 2023-06-27 15:46:49 +08:00
Jackson Harper
f1e435ff0b Passing error messages for notebooks 2023-06-27 15:46:49 +08:00
Jackson Harper
9f20fd4736 Clean up notebook options 2023-06-27 15:46:49 +08:00
Jackson Harper
15dd87db8f Clean up note saving, linting fixes 2023-06-27 15:46:49 +08:00
Jackson Harper
cb7e4f7d7f Remove hover actions on grid view 2023-06-27 15:46:49 +08:00
Jackson Harper
b0b7bf5dcc Update notebook styling 2023-06-27 15:46:49 +08:00
Jackson Harper
b1a7fc8488 Improve styling of notes 2023-06-27 15:46:49 +08:00
Jackson Harper
e294ed4b4b Clean up notebooks design and saving 2023-06-27 15:46:49 +08:00
Jackson Harper
fa0efe7794 First pass at hover actions on the library items 2023-06-27 15:46:49 +08:00
Rahul Tripathi
44bdf4cd26 #2267 fix styling for highlight bar in mobile. 2023-06-26 14:39:37 +05:30
Rahul Tripathi
09abc46102 Correct highlight bar css object conditional. 2023-06-23 03:23:01 +05:30
Rahul Tripathi
273d98332e Clean up HighlightBar.tsx and remove dup code 2023-06-22 17:54:04 +05:30
Rahul Tripathi
36898eea93 Issue 2267 - add a copy button to highlights 2023-06-22 17:16:29 +05:30
Jackson Harper
b733420d19 Allow opening notebooks from the library 2023-06-20 15:54:04 +08:00
Jackson Harper
e270d4acf9 Warnings clean up 2023-06-20 13:36:36 +08:00
Jackson Harper
99af02b5ad Fix padding on list 2023-06-13 16:08:38 +08:00
Jackson Harper
b272e6a46a Padding on the confirmation dialog 2023-06-09 18:03:38 +08:00
Jackson Harper
032b28ba79 Improve list layout 2023-06-09 17:30:24 +08:00
Jackson Harper
4e2c69d681 Some breakpoint improvements 2023-06-09 14:23:10 +08:00
Jackson Harper
180a914260 Fix list view breakpoints to match grid 2023-06-08 19:57:33 +08:00
Jackson Harper
e0cdbdb0e7 More work on multiple selection mode 2023-06-08 19:57:33 +08:00
Jackson Harper
d4aa715b5b Add checkboxes on library cards in multi select mode 2023-06-08 19:57:33 +08:00
Jackson Harper
e6eadf75f0 Some menu and bulk selection UI 2023-06-08 19:57:33 +08:00
Jackson Harper
5a3d0698bf Make sure we filter origin names on library cards 2023-05-26 13:01:42 +08:00
Jackson Harper
b6410976e5 Better handling of focus outlines 2023-05-25 15:26:29 +08:00
Jackson Harper
6cfd424922 Modify the sizes of the left menu and the header 2023-05-25 12:56:58 +08:00
Jackson Harper
f4a860e912 Add label sorting on the web 2023-05-05 12:36:30 +08:00
Jackson Harper
aab332eefc Sort labels by name 2023-05-05 12:03:50 +08:00
Jackson Harper
fde5ec29cf Dont allow descriptions to overflow their card width 2023-05-05 12:00:22 +08:00
Jackson Harper
2698bb0a24 Display read time on the reader view 2023-05-02 11:56:09 +08:00
Jackson Harper
1f320b6db4 Better handling of the tab keypress in notebooks 2023-04-28 20:13:16 +08:00
Jackson Harper
978e802786 Clean up keyboard commands functionalities and modal, add tooltips 2023-04-14 11:27:01 +08:00
Jackson Harper
3c7ab5d77e Remove position: relative in unneeded places
- relative positioning causes it to create its own box, so
it gets its on z-index, removing this prevents it from showing
above the label modal.
2023-04-13 11:52:01 +08:00
Jackson Harper
872c3d8d0b Fix edit labels drop down action 2023-04-10 16:15:57 +08:00
Jackson Harper
4468b038a8 Update notebook icon 2023-04-05 15:09:03 +08:00
Jackson Harper
8e3aba2295 WIP: feature cards, fir merging highlights offline sync 2023-04-04 21:04:13 +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
c00ef27e77 Revert scrolling changes 2023-04-03 10:41:18 +08:00
Jackson Harper
f6fc974040 Add a key to help with rerenders 2023-03-31 21:49:26 +08:00
Jackson Harper
a6bda62a91 Min font size on iOS inputs should be 16px or we will zoom on input 2023-03-31 19:43:03 +08:00
Jackson Harper
ddb32a7704 Allow passing children as text 2023-03-31 15:57:17 +08:00
Jackson Harper
3fdc199401 Padding on empty note boxes 2023-03-31 15:50:19 +08:00
Jackson Harper
579bc45237 Formatting on highlight notes 2023-03-31 15:44:07 +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
d77ce3c46d Improve CSS on MD boxes 2023-03-31 13:23:01 +08:00
Jackson Harper
e3675295f0 WIP: use MD for highlight quotes 2023-03-31 12:26:03 +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
f658df006e Remove import 2023-03-24 20:39:13 +08:00
Jackson Harper
da795848d8 Move both note handlers into same file 2023-03-24 20:21:35 +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
0b04cbef28 Udpated boxes for notes
Needs to be refactored a bit, but using two different components
right now because some of the small differences are hard to
abstract while developing.
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
baad0030ca Handle highlight delete in the mobile library view 2023-03-17 15:24:22 +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
Jackson Harper
56d79580e2 Improve settings layout 2023-03-10 11:03:30 +08:00
Jackson Harper
47277b63ee Clean up the settings header to work better with new layout 2023-03-10 10:12:59 +08:00
Jackson Harper
2f5305ffe4 Padding on author top 2023-03-10 09:17:05 +08:00
Jackson Harper
39207f73a2 Fix imports 2023-03-10 08:35:27 +08:00
Jackson Harper
6bc146f5b0 Simplify metadata on library cards, handle plural in hacky way 2023-03-09 18:46:01 +08:00
Jackson Harper
b445c7ebfe Padding, margin, font size tweaks on highlight editors 2023-03-09 10:23:02 +08:00
Jackson Harper
84dee7cf34 Add missing import 2023-03-08 18:08:13 +08:00
Jackson Harper
e4ae4a7e64 Allow wider grid cards on smaller screens so there isnt a huge amount of margin 2023-03-08 17:58:23 +08:00
Jackson Harper
1067726a7a Sort highlights, make the notes editable 2023-03-08 17:48:30 +08:00
Jackson Harper
e9b4cdd7bf Remove unused 2023-03-08 17:05:42 +08:00
Jackson Harper
c9d48c5f35 Clean up card types, remove old code 2023-03-08 17:02:52 +08:00
Jackson Harper
818a9a66ad Consolidate more of the highlight card code 2023-03-08 16:51:22 +08:00
Jackson Harper
61c44c807b Consolidate some list styling 2023-03-08 16:48:36 +08:00
Jackson Harper
142d1fc4f2 Update some highlights colours 2023-03-08 15:31:52 +08:00
Jackson Harper
3fdb7f8694 Add new mobile highlight cards 2023-03-08 15:23:40 +08:00
Jackson Harper
e13b809389 Get highlights with library items, over fetching for now, can maybe trim stuff in future 2023-03-06 22:13:50 +08:00
Jackson Harper
96ddc100b5 Linting improvements 2023-03-06 16:21:26 +08:00
Jackson Harper
4c4f970a5d Set width on the list view 2023-03-06 16:06:08 +08:00
Jackson Harper
74db69c243 Use a more subtle color for card metadata 2023-03-06 12:58:49 +08:00
Jackson Harper
8a27a50eb5 Hover color for menu buttons 2023-03-06 12:24:45 +08:00
Jackson Harper
205f337ea7 Always display hover state on touch devices for menu 2023-03-06 12:16:55 +08:00
Jackson Harper
8c02184b99 Consolidate library styles 2023-03-06 11:34:02 +08:00
Jackson Harper
b8f24e7be5 Consolidate styles for list and grid cards 2023-03-06 11:24:45 +08:00
Jackson Harper
79902364ae Move article actions to their own menu 2023-03-03 21:55:04 +08:00
Jackson Harper
ac5c3e0176 Fill color for the progress bars in dark 2023-03-03 19:01:07 +08:00
Jackson Harper
35bed5236a Light / dark tweaks 2023-03-03 18:54:09 +08:00
Jackson Harper
f725eea1e5 Borders on list view 2023-03-03 14:23:15 +08:00
Jackson Harper
37b8d644a5 Use theme for display font 2023-03-03 13:29:36 +08:00
Jackson Harper
3eb74251da Work on dark mode 2023-03-03 12:15:02 +08:00
Jackson Harper
e09aaf0347 Use SF pro instead of SF Pro Display 2023-03-03 10:58:36 +08:00
Jackson Harper
3b132490c9 Start adding a search modal thingy 2023-03-03 10:21:06 +08:00
Jackson Harper
7f6c0e9e0a Reading progress dot shouldnt be green 2023-03-02 21:56:46 +08:00
Jackson Harper
7fcd5e300d menu size max list size 2023-03-02 21:41:16 +08:00
Jackson Harper
b4512c7f14 Add library list card 2023-03-02 21:36:44 +08:00
Jackson Harper
ded3768766 Library list view implementation 2023-03-02 21:22:19 +08:00
Jackson Harper
aa2e20d9c0 Edit title and description modal 2023-03-02 12:59:31 +08:00
Jackson Harper
211ba68f6f Remove debug line 2023-03-02 10:28:50 +08:00
Jackson Harper
a95477ab0e Track menu state so we dont hide buttons when they open 2023-03-01 23:29:33 +08:00
Jackson Harper
b07485443f Handle focusing the active element on hover 2023-03-01 23:13:30 +08:00
Jackson Harper
c6f752d3c4 Wrap the next Link in the VStack so we still get hover states from the Library list code 2023-03-01 21:20:10 +08:00
Jackson Harper
7cd8fee664 Hover on the left menu items 2023-03-01 20:41:52 +08:00
Jackson Harper
90c8837c39 Display hover menu backgrounds 2023-03-01 20:35:16 +08:00
Jackson Harper
d05aa87fe8 Handle large lists of labels on some cards 2023-03-01 16:04:52 +08:00
Jackson Harper
deb41afd3f Use full width for cards 2023-03-01 15:36:56 +08:00
Jackson Harper
fef1349dde Remove old commented out code 2023-03-01 15:30:00 +08:00