Commit Graph

48 Commits

Author SHA1 Message Date
4d0f1bec88 Add support for embedding TikTok videos 2024-05-13 13:30:54 +08:00
fcaac20828 Fix const instead of var 2024-03-26 15:20:25 +08:00
cc945eb6c9 Add a placeholder for the youtube iframe so when it is scrolled away the document height does not change
This fixes an issue with scrolling kind of jumping on devices when
the youtube video is moved to the sticky position.
2024-03-26 14:49:30 +08:00
7c3d15e31a Add some scrolling on youtube videos 2024-03-14 12:48:56 +08:00
58f75b51d5 Open links in new tab 2024-03-05 14:37:35 +08:00
470006017d Better loading of synced items 2023-12-26 18:53:32 +08:00
c5450d0231 Make the carousel infinite 2023-08-10 17:01:00 +08:00
d6fa803053 Add lightbox to the appreader 2023-08-10 16:42:48 +08:00
17da8199be Some zoom and carousel settings twaks, enable pulldown dismisal 2023-08-10 14:57:10 +08:00
bcd5fa9f64 Add plugins to lightbox 2023-08-10 14:36:23 +08:00
8838ade283 Add a lightbox to the web viewer 2023-08-10 13:56:05 +08:00
97f422cf3f Improve multiselect 2023-08-03 13:21:46 +08:00
0ed08df1a7 Fix paths to static resources 2023-07-28 09:37:51 +08:00
7d821d1c42 Vendor the mathjax and highlightjs code to avoid CSP loading 2023-07-28 09:37:51 +08:00
523e399e9d Dont load the twitter SDK unless we have to 2023-06-12 18:02:29 +08:00
f779185066 Do not enlarge small images, fallback to original src if proxy URL fails 2023-04-25 12:17:24 +08:00
467ace2f14 Rename reading progress file now that its no longer a react hook 2023-03-13 13:29:29 +08:00
112df31fe4 remove debug lines 2023-03-11 08:02:46 +08:00
5c69b5d8c0 Use bounding rects for filtering top rect 2023-03-10 17:25:09 +08:00
8cf0a6ecb2 Simplify top positioning 2023-03-10 16:47:02 +08:00
cc4b07a5ed Set reading progress top percent 2023-03-10 15:10:47 +08:00
036040a3a0 Start sending top percent 2023-03-10 15:05:18 +08:00
a0a144cdbd set reading progress percent to bottom position 2023-03-10 15:05:18 +08:00
2192c563a7 Do debouncing in scrollWatcher instead of using lodash 2023-03-10 15:05:18 +08:00
4d2698145a Better handling of overflow to improve scroll watching 2023-03-10 15:05:18 +08:00
0f51ee42a8 Remove image layout handler 2023-03-02 10:39:13 +08:00
25055598e3 Update read position while listening to audio 2022-10-11 17:22:40 +08:00
2be59bdf89 stub logs in for web action handler in web reader view Model 2022-09-26 19:20:01 -07:00
67cf702ada update android js interface. send actionID and json to WebReaderViewModel 2022-09-26 19:19:29 -07:00
821f2da3a0 add android message handlers in same places webKit handlers are used 2022-09-26 19:19:01 -07: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
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
d6fb21e6c4 Import just the debounce package to reduce bundle size 2022-03-25 10:57:35 -07:00
6daa599b76 Separate the mutations out of lower level components
This will let us handle the mutations differently on native
iOS and should help in avoiding making web calls directly from
the web view, so we can avoid CORs and introduce a caching
layer.
2022-03-22 13:58:39 -07:00
4c535147f1 round reading progress to 100% if more than that
round reading progress to 100% if more than that

round reading progress to 100% if more than that
2022-03-18 14:56:49 +08:00
17edc482f6 update debounce timeout to be 2 seconds 2022-03-18 14:06:58 +08:00
1218bb0afd use lodash debounce the api call to save reading progress 2022-03-18 12:20:45 +08:00
463e569e57 In /app use the window to scroll to initial read position
There isn't a scrollElementRef in `/app` because there is no
fixed header, so this will scroll the entire document instead.
2022-03-16 12:47:28 -07:00
f29d0fdb71 Prettier fix 2022-03-09 19:17:33 -08:00
be75bfdd0b Only updating reading progress if scroll position changes 2022-03-09 19:12:55 -08:00
bf035a4ec4 use window to track scrolling for /app web routes 2022-03-09 13:40:18 -08:00
ddb13770d3 set position to fixed for article container wrapper in /app routes 2022-03-09 13:40:18 -08:00
191fcb2675 send reading progres updates from embedded web views 2022-03-09 13:40:18 -08:00
84fbc9cd27 Add code highlighting using highlight.js 2022-02-26 14:57:59 -08:00
84f32935f5 Open source omnivore 2022-02-11 09:24:33 -08:00