Commit graph

1124 commits

Author SHA1 Message Date
Jackson Harper
049a5cf22f Close highlight modal on click/tap outside 2022-04-13 09:59:36 -07:00
Jackson Harper
8978ff68f7 Use standard box shadow on modals 2022-04-13 09:58:50 -07:00
Jackson Harper
5a4e4baae6 Handle changes to createLabel response. Trim label names 2022-04-12 21:49:48 -07:00
Jackson Harper
5a77bd8332 Update to use pageId instead of linkId for SetLabels API 2022-04-12 20:50:06 -07:00
Jackson Harper
a728bcf886 Improve sizing of scrollable content area on mobile 2022-04-12 20:36:00 -07:00
Jackson Harper
6231741281 Set the link colour. Safari needs this 2022-04-12 20:09:03 -07:00
Jackson Harper
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
Jackson Harper
92a061b4ba Fix tooltip tags -> labels 2022-04-12 18:10:43 -07:00
Jackson Harper
d92b526583 Give the labels control a max height 2022-04-12 18:09:43 -07:00
Jackson Harper
372cd6afe2 More consistent boxshadows with themes 2022-04-12 13:16:25 -07:00
Jackson Harper
0d1b05d4fc Rename reader settings 2022-04-12 12:58:04 -07:00
Jackson Harper
244cced8b4 Make the labels modal non-scrollable on small screens, add a border 2022-04-12 12:35:56 -07:00
Jackson Harper
cbff548b98 Tweak box shadows in dark mode 2022-04-12 12:23:56 -07:00
Jackson Harper
9834303b3c Refine box shadows in dark mode 2022-04-12 12:23:56 -07:00
Jackson Harper
5450c9ce29 Add stand alone display settings modal 2022-04-12 12:23:56 -07:00
Jackson Harper
54ff7b6d60 Smaller display settings dropdown on small screens. Better shadows 2022-04-12 12:23:56 -07:00
Jackson Harper
68933689f6 Close labels modal when tap outside 2022-04-12 12:23:56 -07:00
Jackson Harper
4480548e48 Use a modal instead of dropdown on small screens 2022-04-12 12:23:56 -07:00
Jackson Harper
c6cc7d2987 Dont set a max width on smaller devices for the labels modal 2022-04-12 12:23:56 -07:00
Jackson Harper
bffe887b92 Only show the old article toolbar on ios embedded web (/app) 2022-04-12 12:23:56 -07:00
Jackson Harper
58d6e508bb Set the label modal width to be consistent 2022-04-12 12:23:56 -07:00
Jackson Harper
f0a725b7ef Dont let labels list expand too wide 2022-04-12 12:23:56 -07:00
Jackson Harper
c2cf30624b Remove X icon on reset to better center button 2022-04-12 12:23:56 -07:00
Jackson Harper
04eef29387 Wire up show highlights modal to new article actions 2022-04-12 12:23:56 -07:00
Jackson Harper
a6566e4a9b Rename notes sidebar to highlights modal 2022-04-12 12:23:56 -07:00
Jackson Harper
8d5425bc53 Show a success message when reader settings are reset 2022-04-12 12:23:56 -07:00
Jackson Harper
aa9797f4d4 Dont reserve label space if there are no labels 2022-04-12 12:23:56 -07:00
Jackson Harper
113101fd63 Handle creating labels via keyboard 2022-04-12 12:23:56 -07:00
Jackson Harper
cf300a615c Keyboard navigation for the bottom buttons 2022-04-12 12:23:56 -07:00
Jackson Harper
454f379e70 Navigate via keyboard to edit labels page 2022-04-12 12:23:56 -07:00
Jackson Harper
9f02f3ec15 Allow selection of the bottom edit labels footer 2022-04-12 12:23:55 -07:00
Jackson Harper
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
Jackson Harper
96ba44df6e Remove unused ref prop 2022-04-12 12:23:55 -07:00
Jackson Harper
110a503927 Implement the Create new Label button 2022-04-12 12:23:55 -07:00
Jackson Harper
34d892a9a2 Update comment 2022-04-12 12:23:55 -07:00
Jackson Harper
c280b2cf01 Remove items from cache when archived from the article actions menu 2022-04-12 12:23:55 -07:00
Jackson Harper
83a53c0722 Increment and decrement buttons on line height, add a reset button 2022-04-12 12:23:55 -07:00
Jackson Harper
2ab7e4ccdd Make the action dropdowns modal
This dismisses the tooltip when the modal is active
2022-04-12 12:23:55 -07:00
Jackson Harper
db2251b38a Remove debug 2022-04-12 12:23:55 -07:00
Jackson Harper
ebe22f3df8 Wrap the button so style isnt changed 2022-04-12 12:23:55 -07:00
Jackson Harper
9a627c225e Add tooltips to article actions 2022-04-12 12:23:55 -07:00
Jackson Harper
23416cd1e7 Allow adjusting line height 2022-04-12 12:23:55 -07:00
Jackson Harper
4ed475ecf5 Invert margin buttons 2022-04-12 12:23:55 -07:00
Jackson Harper
8b579064a4 Dont show margin sizer on small screens that dont allow sizing margins 2022-04-12 12:23:55 -07:00
Jackson Harper
a104486602 Clip the label chips to their radius 2022-04-12 12:23:55 -07:00
Jackson Harper
197ae866a8 Implement margin slider 2022-04-12 12:23:55 -07:00
Jackson Harper
d05f091876 Add debug logging for GQL errors 2022-04-12 12:23:55 -07:00
Jackson Harper
952c137507 In /app dont display labels on the page 2022-04-12 12:23:55 -07:00
Jackson Harper
0bb2c1d8c6 Refresh labels when edited 2022-04-12 12:23:55 -07:00
Jackson Harper
e2aeff0c6f Use single label type 2022-04-12 12:23:55 -07:00