Commit Graph

79 Commits

Author SHA1 Message Date
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
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
197ae866a8 Implement margin slider 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
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
ba301c4f0f Sliders 2022-04-12 12:23:08 -07:00
78129a4a85 WIP: article actoins and reader settings 2022-04-12 12:23:08 -07:00
32b08d1112 Disable dots menu Since there are no extra actions yet 2022-04-12 12:23:08 -07:00
ce21621927 Use a themed font colour for the article actions buttons 2022-04-12 12:23:08 -07:00
136762310d Encapsulate the article actions menu, standardize header height at 48px 2022-04-12 12:23:08 -07:00
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
770dbbd68a Add margins on wider screens, keyboard commands to adjust 2022-04-12 12:23:08 -07:00
589e639bb5 Merge pull request #345 from omnivore-app/OMN-190
[Omn-190] - [Settings View] - Labels
2022-04-06 12:54:14 -07:00
8aed5fd517 Propogate changes to the font size
Because this is update in the page now, this needs to be reflected
when changed in the component.
2022-04-06 11:38:32 -07:00
927044fabc Update Label import 2022-04-04 21:42:06 -07:00
1784edefaf Remove unused imports, use a single Label fragment 2022-03-25 14:17:02 -07:00
ea98d97915 Move the edit labels modal into the page so the embedded react component does not bundle it
This will have a native modal on iOS
2022-03-25 14:03:01 -07:00
0859002c0c Remove next dependencies from the article components
This pulls next related deps up into the page instead of the
component and allows us to pull next out of the app reader
dependency.
2022-03-25 13:26:01 -07:00