Commit Graph

22 Commits

Author SHA1 Message Date
a6566e4a9b Rename notes sidebar to highlights modal 2022-04-12 12:23:56 -07:00
aa9797f4d4 Dont reserve label space if there are no labels 2022-04-12 12:23:56 -07:00
23416cd1e7 Allow adjusting line height 2022-04-12 12:23:55 -07:00
0bb2c1d8c6 Refresh labels when edited 2022-04-12 12:23:55 -07:00
e2aeff0c6f Use single label type 2022-04-12 12:23:55 -07:00
ba301c4f0f Sliders 2022-04-12 12:23:08 -07:00
216cc99932 WIP: reader control breakpoints
This implements the left side controls on desktop and in the
header on smaller screens.

partial work, committing as-is to test on device
2022-04-12 12:23:08 -07:00
770dbbd68a Add margins on wider screens, keyboard commands to adjust 2022-04-12 12:23:08 -07:00
8aed5fd517 Propogate changes to the font size
Because this is update in the page now, this needs to be reflected
when changed in the component.
2022-04-06 11:38:32 -07:00
1784edefaf Remove unused imports, use a single Label fragment 2022-03-25 14:17:02 -07:00
ea98d97915 Move the edit labels modal into the page so the embedded react component does not bundle it
This will have a native modal on iOS
2022-03-25 14:03:01 -07:00
0859002c0c Remove next dependencies from the article components
This pulls next related deps up into the page instead of the
component and allows us to pull next out of the app reader
dependency.
2022-03-25 13:26:01 -07:00
f1c20c731f don't bundle maxjax script tags for apple embeds 2022-03-24 09:18:07 -07:00
6daa599b76 Separate the mutations out of lower level components
This will let us handle the mutations differently on native
iOS and should help in avoiding making web calls directly from
the web view, so we can avoid CORs and introduce a caching
layer.
2022-03-22 13:58:39 -07:00
8109dd3a85 Fix implementation of u key
The `u` key isn't supposed to be a general purpose back key, there
is a `b` command for that. The `u` key should just be used as an
"up" command to go from the reader to the library.
2022-03-08 12:57:59 -08:00
3d72d0f9d5 Dont use <Script inside next/head 2022-03-03 20:56:16 -08:00
fb6564a126 Use next/script for Mathjax 2022-03-03 20:37:04 -08:00
c2dd4143ff Ensure font size changes are persisted 2022-03-01 12:04:19 -08:00
81324c128d update selected labels once close the modal 2022-02-24 14:47:47 +08:00
8f68b60f18 Add basic UI for editing labels 2022-02-24 14:44:49 +08:00
4b06e52128 Tweak the line height for reader text and titles
We still aren't using the degular font, so I kept the font sizes
the same as they are now. We will need to update if we change
the font.
2022-02-18 00:45:40 -08:00
84f32935f5 Open source omnivore 2022-02-11 09:24:33 -08:00