Commit graph

11775 commits

Author SHA1 Message Date
Jackson Harper
f7b9acda2a
Merge pull request #4267 from omnivore-app/fix/web-infinite-scroll
More debugging on infinite scroll
2024-08-19 16:48:09 +08:00
Jackson Harper
587df5c3a5 Remove unused component 2024-08-19 16:37:24 +08:00
Jackson Harper
ca1dba7bd6 Remove fetchPreviousPage from fetchMore 2024-08-19 16:21:34 +08:00
Jackson Harper
529a81dd8a Dont need previous fetching anymore 2024-08-19 16:06:10 +08:00
Jackson Harper
5f59a1d364 Can go back to old items list now 2024-08-19 15:58:56 +08:00
Jackson Harper
64cb4eb249 Instead of checking limit use initial index for cache checks 2024-08-19 15:35:02 +08:00
Jackson Harper
82f5c5017c log filteredPages 2024-08-19 15:30:47 +08:00
Jackson Harper
e2a49aec71 Trim old pages from the cache 2024-08-19 15:10:20 +08:00
Jackson Harper
2282a6adde Set cache info in the cache pageInfo section 2024-08-19 14:38:03 +08:00
Jackson Harper
8f480d654a More debugging 2024-08-19 14:08:25 +08:00
Jackson Harper
45c7a57696 More debugging 2024-08-19 13:51:41 +08:00
Jackson Harper
ca7b515488 Remove some of the cache logging to make debugging easier 2024-08-19 13:21:06 +08:00
Jackson Harper
e6a220c984 Remove stale time to force refreshed, start using the cached result 2024-08-19 13:00:14 +08:00
Jackson Harper
4bfcbde65d Some more list improvements 2024-08-19 12:42:43 +08:00
Hongbo Wu
f12eb79a3f
Merge pull request #4275 from omnivore-app/fix/include-content-if-requested
fix: select readable_content from library_item table if content is requested by search api
2024-08-19 10:31:54 +08:00
Hongbo Wu
160d690589 fix: do not select content from database for update since api 2024-08-19 10:21:24 +08:00
Hongbo Wu
19ed5501f6 fix: select readable_content from library_item table if content is requested by search api 2024-08-19 10:09:42 +08:00
Hongbo Wu
626c456364 fix: select readable_content from library_item table if content is requested by update since api 2024-08-19 10:00:38 +08:00
Hongbo Wu
fc00c607e6
Merge pull request #4274 from omnivore-app/fix/youtube-handler
fix: special handler for youtube shorts
2024-08-18 12:38:42 +08:00
Hongbo Wu
4674321531 reduce blocking domain to 1 hour 2024-08-18 12:37:10 +08:00
Hongbo Wu
e6ebac5e13 fix: special handler for youtube shorts 2024-08-18 11:52:21 +08:00
Jackson Harper
541aa859d2 Use staleTime 2024-08-17 17:07:14 +08:00
Jackson Harper
f80570a1ac More debug 2024-08-17 16:13:15 +08:00
Jackson Harper
1e0df9016c More debugging 2024-08-17 15:54:19 +08:00
Jackson Harper
1e2c3b1f8f Fix typo 2024-08-17 15:40:33 +08:00
Jackson Harper
975ae6bee5 TEst out react-infinite-scroll-component 2024-08-17 15:36:27 +08:00
Jackson Harper
3435edfb51 Remove maxPages 2024-08-17 15:21:57 +08:00
Jackson Harper
b0e7737e18 Add getPreviousPage 2024-08-17 14:43:22 +08:00
Jackson Harper
35c7954809 Comment out old containers temporarily 2024-08-17 14:23:37 +08:00
Jackson Harper
095e75f7bd Attempt at using maxPages 2024-08-17 14:19:26 +08:00
Jackson Harper
675e17da79 Add pending items 2024-08-16 17:16:29 +08:00
Hongbo Wu
854d5b7815
Merge pull request #4270 from omnivore-app/perf/api
perf/api
2024-08-16 16:52:13 +08:00
Hongbo Wu
26c7e95a00 update folder 2024-08-16 16:50:46 +08:00
Jackson Harper
9a2490253c Improve fetchMore, add debug 2024-08-16 15:55:36 +08:00
Hongbo Wu
accab510a7 if only rank orders are present, add saved at order 2024-08-16 15:15:11 +08:00
Jackson Harper
e3fd98e47c More debugging 2024-08-16 10:47:48 +08:00
Hongbo Wu
173691048b perf: remove additional order by clause to use the correct order index 2024-08-15 22:10:36 +08:00
Hongbo Wu
03b8750413 Revert "perf: add index on labels columns to library_item table"
This reverts commit 706277085a.
2024-08-15 22:09:47 +08:00
Hongbo Wu
706277085a perf: add index on labels columns to library_item table 2024-08-15 21:57:41 +08:00
Hongbo Wu
32097de62f perf: reduce number of column returned by search query 2024-08-15 21:24:57 +08:00
Hongbo Wu
3a07b21ec7 perf: stop serving content in search and update since api 2024-08-15 21:09:40 +08:00
Hongbo Wu
efb1feb86a perf: compress response body 2024-08-15 20:44:08 +08:00
Jackson Harper
641c64e108 Try max pages 5 2024-08-15 16:51:08 +08:00
Jackson Harper
49b66f3504 Remove the cache busting 2024-08-15 16:27:05 +08:00
Jackson Harper
3ceb18400c Only allow three pages of data to be refreshed 2024-08-15 15:24:02 +08:00
Jackson Harper
913ad0c5d4 More cache key debugging 2024-08-15 13:20:29 +08:00
Jackson Harper
5f94a2a38b Remove stale time on infinite query 2024-08-15 12:35:39 +08:00
Jackson Harper
9e86ddc39b Improve cache key when no query, reduce stale time 2024-08-15 12:20:24 +08:00
Jackson Harper
5373f16328 Add a staleTime to library items query 2024-08-15 11:56:22 +08:00
Jackson Harper
39da8e60c1 More debugging on infinite scroll 2024-08-15 11:39:26 +08:00