Commit Graph

201 Commits

Author SHA1 Message Date
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
da561ca58b Query for labels with library items. Display properly on the home feed 2022-04-13 13:38:36 -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
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
aa9797f4d4 Dont reserve label space if there are no labels 2022-04-12 12:23:56 -07:00
113101fd63 Handle creating labels via keyboard 2022-04-12 12:23:56 -07:00
cf300a615c Keyboard navigation for the bottom buttons 2022-04-12 12:23:56 -07:00
454f379e70 Navigate via keyboard to edit labels page 2022-04-12 12:23:56 -07:00
9f02f3ec15 Allow selection of the bottom edit labels footer 2022-04-12 12:23:55 -07:00
4888c75b9a Reset focused index when search bar gets focus
This is needed if someone combines keyboard navigation and
using the mouse to select the textbox
2022-04-12 12:23:55 -07:00
96ba44df6e Remove unused ref prop 2022-04-12 12:23:55 -07:00
110a503927 Implement the Create new Label button 2022-04-12 12:23:55 -07:00
83a53c0722 Increment and decrement buttons on line height, add a reset button 2022-04-12 12:23:55 -07:00
2ab7e4ccdd Make the action dropdowns modal
This dismisses the tooltip when the modal is active
2022-04-12 12:23:55 -07:00
ebe22f3df8 Wrap the button so style isnt changed 2022-04-12 12:23:55 -07:00
9a627c225e Add tooltips to article actions 2022-04-12 12:23:55 -07:00
23416cd1e7 Allow adjusting line height 2022-04-12 12:23:55 -07:00
4ed475ecf5 Invert margin buttons 2022-04-12 12:23:55 -07:00
8b579064a4 Dont show margin sizer on small screens that dont allow sizing margins 2022-04-12 12:23:55 -07:00
a104486602 Clip the label chips to their radius 2022-04-12 12:23:55 -07:00