Commit Graph

11745 Commits

Author SHA1 Message Date
541aa859d2 Use staleTime 2024-08-17 17:07:14 +08:00
f80570a1ac More debug 2024-08-17 16:13:15 +08:00
1e0df9016c More debugging 2024-08-17 15:54:19 +08:00
1e2c3b1f8f Fix typo 2024-08-17 15:40:33 +08:00
975ae6bee5 TEst out react-infinite-scroll-component 2024-08-17 15:36:27 +08:00
3435edfb51 Remove maxPages 2024-08-17 15:21:57 +08:00
b0e7737e18 Add getPreviousPage 2024-08-17 14:43:22 +08:00
35c7954809 Comment out old containers temporarily 2024-08-17 14:23:37 +08:00
095e75f7bd Attempt at using maxPages 2024-08-17 14:19:26 +08:00
675e17da79 Add pending items 2024-08-16 17:16:29 +08:00
9a2490253c Improve fetchMore, add debug 2024-08-16 15:55:36 +08:00
e3fd98e47c More debugging 2024-08-16 10:47:48 +08:00
641c64e108 Try max pages 5 2024-08-15 16:51:08 +08:00
49b66f3504 Remove the cache busting 2024-08-15 16:27:05 +08:00
3ceb18400c Only allow three pages of data to be refreshed 2024-08-15 15:24:02 +08:00
913ad0c5d4 More cache key debugging 2024-08-15 13:20:29 +08:00
5f94a2a38b Remove stale time on infinite query 2024-08-15 12:35:39 +08:00
9e86ddc39b Improve cache key when no query, reduce stale time 2024-08-15 12:20:24 +08:00
5373f16328 Add a staleTime to library items query 2024-08-15 11:56:22 +08:00
39da8e60c1 More debugging on infinite scroll 2024-08-15 11:39:26 +08:00
5156753bbe Merge pull request #4266 from omnivore-app/fix/api-disable-old-md
Stop support for old plugin clients
2024-08-14 20:09:43 +08:00
7c7a55e475 Stop support for old plugin clients 2024-08-14 19:31:23 +08:00
7da56a3433 Merge pull request #4265 from omnivore-app/fix/total-count-cache
fix: total count cache should be fixed for pagination
2024-08-14 16:27:03 +08:00
cff44b83a8 fix: total count cache should be fixed for pagination 2024-08-14 16:10:41 +08:00
e388d6102c Merge pull request #4264 from omnivore-app/fix/cache-api-response
fix/cache api response
2024-08-14 13:09:24 +08:00
706e972095 Merge pull request #4263 from omnivore-app/fix/web-library-refetch
Set a stale time to try to prevent over fetching
2024-08-14 13:09:15 +08:00
c9aa90b3ae more debugging logs 2024-08-14 13:04:29 +08:00
8b9ab287d7 add debugging logs 2024-08-14 13:00:53 +08:00
4bf3e4ba0f delete count cache after bulk action or empty trash 2024-08-14 12:59:52 +08:00
9923a3baa1 Set a stale time to try to prevent over fetching 2024-08-14 12:55:45 +08:00
4fcf025611 update cache when user is updated 2024-08-14 12:24:35 +08:00
5c7a520144 Merge pull request #4262 from omnivore-app/fix/web-library-fetch
Use react-query for most viewer queries to get better caching, remove the maxpages on library as that broke scrolling
2024-08-14 11:58:22 +08:00
e16acb7f60 Use react-query for most viewer queries to get better caching, remove the maxpages on library as that broke scrolling 2024-08-14 11:41:55 +08:00
4c992f74ec Merge pull request #4260 from omnivore-app/perf/cache-api-response
perf/cache api response
2024-08-14 11:32:19 +08:00
a9d0dd4733 Merge pull request #4261 from omnivore-app/fix/web-library-infinite-scroll
WIP: infinite scroll on the library with react-query
2024-08-14 10:47:12 +08:00
e0b1a01f8f Set a max age on CORs requests 2024-08-14 10:19:17 +08:00
45fdc0d474 cache shortcuts for 600 seconds 2024-08-14 10:18:11 +08:00
e05ff942b1 cache features for 600 seconds 2024-08-14 10:09:37 +08:00
48f427401f Set maxPages to 2, dont disable refetch yet 2024-08-14 10:01:51 +08:00
f58ddbeb9a Add maxPages and refetchOnMount params 2024-08-14 09:58:29 +08:00
338f3bca78 WIP: infinite scroll on the library with react-query 2024-08-14 09:48:56 +08:00
bcdff19a3d cache total count of library items in page info only 2024-08-14 09:40:59 +08:00
81ff5a05f9 extend count cache ttl to 600 seconds 2024-08-14 09:40:59 +08:00
d00a76ca3f hash args in the cache key 2024-08-14 09:40:59 +08:00
c2ec95845e request count of library items only when needed 2024-08-14 09:40:59 +08:00
3a6dbf9032 Merge pull request #4258 from omnivore-app/fix/web-shortcuts-editor
Shortcuts editor for the web
2024-08-14 07:33:27 +08:00
c68680fad9 Use a portal on dropdowns so it doesnt move window when opened from scrolled shortcuts 2024-08-14 00:05:50 +08:00
6f6e42eeda Fix typo 2024-08-13 23:51:59 +08:00
588f7d0fdc Use a separate section for search so we can better control the folder 2024-08-13 23:38:18 +08:00
cca1cbfff4 Shortcuts editor for the web 2024-08-13 23:28:51 +08:00