Commit Graph

317 Commits

Author SHA1 Message Date
6f9abc198f Fix typo in labels docs 2022-04-18 13:17:52 -07:00
3ba67a9e38 Adjust article actions width to center under logo 2022-04-18 09:34:14 -07:00
c004f20ee7 More label padding tweaks 2022-04-14 21:38:48 -07:00
0db6bff308 label padding 2022-04-14 21:20:17 -07:00
0e50ef1b56 Tighten padding on label chips 2022-04-14 21:15:53 -07:00
d56e3147df Remove whitespace 2022-04-14 21:05:02 -07:00
944784f25a Use Button+router for label chips instead of next/link
This allows us to use preventDefault on click, which means labels
can be inside of grid cards, and clicking a label wont navigate
to the card's page.
2022-04-14 20:40:28 -07:00
958e67a1cb Use block display for label chips so they wrap to new lines on overflow 2022-04-14 20:21:58 -07:00
6cb78cca34 Re-enable labels on the grid cards 2022-04-14 20:10:27 -07:00
7e9e678e0d Dont show reader display settings on PDFs 2022-04-14 16:46:13 -07:00
bb95a26718 Remove unused prop 2022-04-14 16:06:29 -07:00
0842aba57c Always display the article actions toolbar on top for PDFs
Because we dont have margin space on PDFs we want to always
display this on top.
2022-04-14 15:56:10 -07:00
0715dafd4b Display the all highlights modal from PDFs via the article actions button 2022-04-14 15:56:10 -07:00
a5885fe16c Push props down for lineheight, margin width to keep in sync 2022-04-13 20:46:49 -07:00
c553b8317a Disable label chips on main grid to see if it is causing sizing issues 2022-04-13 16:19:39 -07:00
810401946e Use local storage for margins and line spacing since these are per-device preferences 2022-04-13 16:03:07 -07:00
9c42d473c1 Do not display left side article actions for PDFs 2022-04-13 13:50:55 -07:00
3ec84d3f33 Fix apos escaping 2022-04-13 13:44:06 -07:00
da561ca58b Query for labels with library items. Display properly on the home feed 2022-04-13 13:38:36 -07:00
31861f81e2 Add very basic help page for labels 2022-04-13 13:29:49 -07:00
4e4dae89d7 Consistent naming on label controls
- Edit Labels: Edit all of a user's labels
- Set Labels: Set the labels assigned to a link
2022-04-13 10:52:00 -07:00
fe56c4a689 Add dropdown link to labels 2022-04-13 10:34:46 -07:00
18cbe4a856 Remove font stepper from dropdown 2022-04-13 10:28:33 -07:00
86d6d03fe0 Remove default button padding, on Safari this caused extra padding on dropdown triggers 2022-04-13 10:25:01 -07:00
049a5cf22f Close highlight modal on click/tap outside 2022-04-13 09:59:36 -07:00
8978ff68f7 Use standard box shadow on modals 2022-04-13 09:58:50 -07:00
5a4e4baae6 Handle changes to createLabel response. Trim label names 2022-04-12 21:49:48 -07:00
5a77bd8332 Update to use pageId instead of linkId for SetLabels API 2022-04-12 20:50:06 -07:00
a728bcf886 Improve sizing of scrollable content area on mobile 2022-04-12 20:36:00 -07:00
6231741281 Set the link colour. Safari needs this 2022-04-12 20:09:03 -07:00
11429dddc0 Dont autofocus the text input on mobile
On mobile we dont want to auto focus because the keyboard opens
and takes up most of the screen space.
2022-04-12 20:08:20 -07:00
92a061b4ba Fix tooltip tags -> labels 2022-04-12 18:10:43 -07:00
d92b526583 Give the labels control a max height 2022-04-12 18:09:43 -07:00
372cd6afe2 More consistent boxshadows with themes 2022-04-12 13:16:25 -07:00
0d1b05d4fc Rename reader settings 2022-04-12 12:58:04 -07:00
244cced8b4 Make the labels modal non-scrollable on small screens, add a border 2022-04-12 12:35:56 -07:00
cbff548b98 Tweak box shadows in dark mode 2022-04-12 12:23:56 -07:00
9834303b3c Refine box shadows in dark mode 2022-04-12 12:23:56 -07:00
5450c9ce29 Add stand alone display settings modal 2022-04-12 12:23:56 -07:00
54ff7b6d60 Smaller display settings dropdown on small screens. Better shadows 2022-04-12 12:23:56 -07:00
68933689f6 Close labels modal when tap outside 2022-04-12 12:23:56 -07:00
4480548e48 Use a modal instead of dropdown on small screens 2022-04-12 12:23:56 -07:00
c6cc7d2987 Dont set a max width on smaller devices for the labels modal 2022-04-12 12:23:56 -07:00
bffe887b92 Only show the old article toolbar on ios embedded web (/app) 2022-04-12 12:23:56 -07:00
58d6e508bb Set the label modal width to be consistent 2022-04-12 12:23:56 -07:00
f0a725b7ef Dont let labels list expand too wide 2022-04-12 12:23:56 -07:00
c2cf30624b Remove X icon on reset to better center button 2022-04-12 12:23:56 -07:00
04eef29387 Wire up show highlights modal to new article actions 2022-04-12 12:23:56 -07:00
a6566e4a9b Rename notes sidebar to highlights modal 2022-04-12 12:23:56 -07:00
8d5425bc53 Show a success message when reader settings are reset 2022-04-12 12:23:56 -07:00