Commit Graph

61 Commits

Author SHA1 Message Date
eddbcd293a add toggle for auto highlight mode on ios 2023-02-09 15:22:39 -08:00
d8392a64dd Remove unused color 2023-02-07 15:56:53 +08:00
bfe2c7db27 More consistent header font and colors 2023-02-07 15:41:22 +08:00
319e31edfc Add title and label changing to ArticleContainer
This prevents us from getting stuck an a loop of change events
when the user changes some settings.
2023-02-07 15:25:56 +08:00
92d5851aa9 Enable highlight on selection behavior on iOS 2023-02-07 11:03:53 +08:00
4f2d05d3be Remove highlightsBaseURL as it is no longer used 2023-02-07 11:03:53 +08:00
79ae04215e Remove unused imports 2022-12-21 13:14:49 +08:00
6a94fb4aa7 Fix props 2022-12-19 21:27:10 +08:00
1ac5beef6c Clean up recommendation quotes view 2022-12-19 17:14:21 +08:00
e8cd9f4412 Shared highlights UX 2022-12-19 17:07:27 +08:00
55e925cc98 Clean up iOS recommendations, show a primer on first load 2022-12-19 17:07:27 +08:00
aa856a5366 If in a pre block dont replace whitespace when highlighting 2022-11-15 15:34:27 +08:00
472e11e9db Add three new fonts, display fonts in the font selector 2022-11-02 18:04:55 +08:00
531275a013 Remove some more temp theme stuff, update reader bundle 2022-11-01 18:27:05 +08:00
467a37e8cc WIP: New themes and reader preferences for iOS 2022-11-01 17:40:11 +08:00
f0037a758b Article-Title Fix 2022-10-14 08:43:47 -05:00
2beb75d747 isDark is a string in Swift so we need to check for "true" 2022-08-29 11:31:07 +08:00
da6103b444 Fix issues with merging highlights
highlightLocations can't be a prop or they wont be updated
properly when highlights are created and merged.

This fixes issues with merging highlights. It changes how we
scroll to an initial highlight in the case of deep links too.
2022-06-23 16:09:28 -07:00
eb8cb3854c Do all scroll watching on the main window
This moves all scrolling from child divs to the main window. This
improves our keyboard handling, as focus will be given to the
body element, not the child div when navigating by keyboard
commands, so arrow keys and space bar will work after navigating
to the reader with the keyboard commands.
2022-06-17 15:59:51 -07:00
bd34f4ff3c use maxWidthPercentage to update margin in web reader: 2022-06-13 11:27:21 -07:00
4423bc3e44 adds ability to control maxWidth on iphone 2022-06-13 09:57:28 -07:00
7522f22f51 Pull in bundle.js from main 2022-06-09 13:53:15 -07:00
0eadd8516e use unset instead of undefined for default font 2022-06-05 11:49:46 -07:00
d547946e84 remove sf mono font in web reader font list. add sysstem default 2022-06-05 11:24:31 -07:00
bbf4ef42ef Add ability to toggle higher contrast text in the reader 2022-06-03 20:59:53 -07:00
e607fc5675 update font family in web view 2022-06-03 16:44:40 -07:00
be5323b8ce update web preferences event listeners 2022-06-03 15:59:49 -07:00
e0372bfc5a adjust maxWidth for iphone web embed 2022-06-03 11:54:45 -07:00
1f0c48fdfa add web listeners for margin and line spacing changes on ios 2022-06-01 14:52:38 -07:00
4b3533c17d pass url and title to share call. update bundle.js in apple apps 2022-05-16 12:20:05 -07:00
51117290d7 add event listener for share event in webview 2022-05-16 12:10:03 -07:00
4c7dce330c Merge pull request #537 from omnivore-app/OMN-434
[OMN-434]: cypress tests for saving links
2022-05-10 12:03:00 -07:00
c5549d72a6 Pull in link to highlight changes 2022-05-03 14:04:40 -07:00
57e6bcac8e Added cypress tests for saving links 2022-05-03 17:46:52 +00:00
0c5c9f492a Move the analytics event for link_read out of the container, supply userId
This prevents events from being sent when there is no user id yet
due to race conditions in analytics setup.
2022-04-29 13:54:44 -07:00
0715dafd4b Display the all highlights modal from PDFs via the article actions button 2022-04-14 15:56:10 -07:00
4480548e48 Use a modal instead of dropdown on small screens 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
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
aa9797f4d4 Dont reserve label space if there are no labels 2022-04-12 12:23:56 -07:00
23416cd1e7 Allow adjusting line height 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
ba301c4f0f Sliders 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
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
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