Commit Graph

1104 Commits

Author SHA1 Message Date
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
34d892a9a2 Update comment 2022-04-12 12:23:55 -07:00
c280b2cf01 Remove items from cache when archived from the article actions menu 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
db2251b38a Remove debug 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
197ae866a8 Implement margin slider 2022-04-12 12:23:55 -07:00
d05f091876 Add debug logging for GQL errors 2022-04-12 12:23:55 -07:00
952c137507 In /app dont display labels on the page 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
19f4505943 Add modal for the edit labels dialog 2022-04-12 12:23:55 -07:00
785e3661fc Wire up article actions to have an article instance when hosted in the header 2022-04-12 12:23:55 -07:00
e7528cfc43 Attempt to dismiss focus on mobile 2022-04-12 12:23:55 -07:00
de72df9828 Naming, update small screen layout 2022-04-12 12:23:55 -07:00
92ea5efb98 Update naming 2022-04-12 12:23:55 -07:00
6dd39d5488 Handle toggling labels with mouse 2022-04-12 12:23:55 -07:00
0a4215c57b Handle toggling label state 2022-04-12 12:23:55 -07:00
6b84192543 Increase small screen maxheight 2022-04-12 12:23:55 -07:00
1427ffc783 Test some smaller sizes for mobile screens 2022-04-12 12:23:55 -07:00
eeea5b7c28 Consistent dropdown layout for article actions
We also offset a little to display the popover in the middle of
the article action button on desktop

Disable autofocus on touch devices so the keyboard doesn't take
up too much space
2022-04-12 12:23:55 -07:00
05e7ba7ced Remove empty arrow function 2022-04-12 12:23:55 -07:00
06551bc372 Dont autofocus the labels filter on touch devices as the keyboard uses too much screen space 2022-04-12 12:23:55 -07:00
d8e03c0906 Make arrow styles more closely match design 2022-04-12 12:23:55 -07:00
f87db8bfad Revert "Test with bottom sheet"
This reverts commit 44faad1172580bf4b7ca85d00f0495f76226dc2d.
2022-04-12 12:23:53 -07:00
0d16b32ae7 Test with bottom sheet 2022-04-12 12:23:37 -07:00
0b4f223b26 Spacing on top dropdowns 2022-04-12 12:23:08 -07:00
d8e0648070 Remove empty arrow function 2022-04-12 12:23:08 -07:00
0998048163 Remove unused prop 2022-04-12 12:23:08 -07:00
a9988d4706 Re-enable top menu on small screens 2022-04-12 12:23:08 -07:00
278a885f83 Edit labels menu 2022-04-12 12:23:08 -07:00