Commit graph

169 commits

Author SHA1 Message Date
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
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
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
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
Jackson Harper
19f4505943 Add modal for the edit labels dialog 2022-04-12 12:23:55 -07:00
Jackson Harper
785e3661fc Wire up article actions to have an article instance when hosted in the header 2022-04-12 12:23:55 -07:00
Jackson Harper
e7528cfc43 Attempt to dismiss focus on mobile 2022-04-12 12:23:55 -07:00
Jackson Harper
de72df9828 Naming, update small screen layout 2022-04-12 12:23:55 -07:00
Jackson Harper
92ea5efb98 Update naming 2022-04-12 12:23:55 -07:00
Jackson Harper
6dd39d5488 Handle toggling labels with mouse 2022-04-12 12:23:55 -07:00
Jackson Harper
0a4215c57b Handle toggling label state 2022-04-12 12:23:55 -07:00
Jackson Harper
6b84192543 Increase small screen maxheight 2022-04-12 12:23:55 -07:00
Jackson Harper
1427ffc783 Test some smaller sizes for mobile screens 2022-04-12 12:23:55 -07:00
Jackson Harper
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
Jackson Harper
05e7ba7ced Remove empty arrow function 2022-04-12 12:23:55 -07:00
Jackson Harper
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
Jackson Harper
d8e03c0906 Make arrow styles more closely match design 2022-04-12 12:23:55 -07:00
Jackson Harper
f87db8bfad Revert "Test with bottom sheet"
This reverts commit 44faad1172580bf4b7ca85d00f0495f76226dc2d.
2022-04-12 12:23:53 -07:00
Jackson Harper
0d16b32ae7 Test with bottom sheet 2022-04-12 12:23:37 -07:00
Jackson Harper
0b4f223b26 Spacing on top dropdowns 2022-04-12 12:23:08 -07:00
Jackson Harper
d8e0648070 Remove empty arrow function 2022-04-12 12:23:08 -07:00
Jackson Harper
a9988d4706 Re-enable top menu on small screens 2022-04-12 12:23:08 -07:00
Jackson Harper
278a885f83 Edit labels menu 2022-04-12 12:23:08 -07:00
Jackson Harper
ba301c4f0f Sliders 2022-04-12 12:23:08 -07:00
Jackson Harper
78129a4a85 WIP: article actoins and reader settings 2022-04-12 12:23:08 -07:00
Jackson Harper
32b08d1112 Disable dots menu Since there are no extra actions yet 2022-04-12 12:23:08 -07:00
Jackson Harper
ce21621927 Use a themed font colour for the article actions buttons 2022-04-12 12:23:08 -07:00
Jackson Harper
19e3af66d5 Encapsulate the article actions menu, standardize header height at 48px 2022-04-12 12:23:08 -07:00
Jackson Harper
136762310d Encapsulate the article actions menu, standardize header height at 48px 2022-04-12 12:23:08 -07:00
Jackson Harper
602dbb29be Play with transparent header in desktop 2022-04-12 12:23:08 -07:00
Jackson Harper
a777c67e4c Simplify 2022-04-12 12:23:08 -07:00
Jackson Harper
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
Jackson Harper
770dbbd68a Add margins on wider screens, keyboard commands to adjust 2022-04-12 12:23:08 -07:00