Commit Graph

7226 Commits

Author SHA1 Message Date
efb1feb86a perf: compress response body 2024-08-15 20:44:08 +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
68cfc8df80 Merge branch 'omnivore-app:main' into main 2024-08-15 00:48:30 -04:00
9707b1bc7f fix: bulk upload files ui 2024-08-15 00:48:10 -04: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
7c7a55e475 Stop support for old plugin clients 2024-08-14 19:31:23 +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
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
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
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
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
0d814bd76a Fix typo 2024-08-13 20:10:04 +08:00
6fa9550cdc Update the empty states, special handler for the subscriptions empty state case. 2024-08-13 20:06:57 +08:00
6f6c489097 Merge pull request #4256 from omnivore-app/feature/highlights-count
feature/highlights count
2024-08-13 18:20:38 +08:00
4bc154605f get highlightsCount from the backend and show the count on web 2024-08-13 18:01:20 +08:00
de62dcfe43 add highlightsCount to the searchItem graphql type 2024-08-13 17:59:28 +08:00
49556453e9 fix importer dependency 2024-08-13 17:38:31 +08:00
6c86ee9f3c Merge pull request #4254 from omnivore-app/fix/web-library-shortcuts-and-misc
Web library improvements
2024-08-13 17:27:48 +08:00
3fe22e0f8e Merge pull request #4215 from omnivore-app/feature/exporter
create a cloud run service for the exporter
2024-08-13 17:20:44 +08:00
602acbbe31 Leave recommendations attribute as it still could be used in iOS 2024-08-13 17:12:26 +08:00
a0c3d1d18e Use 48hrs for cache timeout 2024-08-13 17:04:24 +08:00
22216e33b8 Use AsyncStorage for local cache 2024-08-13 17:00:05 +08:00
43012d41f5 Update generated html 2024-08-13 08:58:53 +00:00
cc3cd87013 fix: navigation timeout when generating test case for raw story webpage 2024-08-13 16:57:48 +08:00
a92db4e216 Dont query for recommendations 2024-08-13 16:41:44 +08:00
788b44c7c9 Use router instead of window.location to better handle the local cache 2024-08-13 16:41:24 +08:00