Commit graph

11729 commits

Author SHA1 Message Date
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
Jackson Harper
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
Jackson Harper
7c7a55e475 Stop support for old plugin clients 2024-08-14 19:31:23 +08:00
Hongbo Wu
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
Hongbo Wu
cff44b83a8 fix: total count cache should be fixed for pagination 2024-08-14 16:10:41 +08:00
Hongbo Wu
e388d6102c
Merge pull request #4264 from omnivore-app/fix/cache-api-response
fix/cache api response
2024-08-14 13:09:24 +08:00
Jackson Harper
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
Hongbo Wu
c9aa90b3ae more debugging logs 2024-08-14 13:04:29 +08:00
Hongbo Wu
8b9ab287d7 add debugging logs 2024-08-14 13:00:53 +08:00
Hongbo Wu
4bf3e4ba0f delete count cache after bulk action or empty trash 2024-08-14 12:59:52 +08:00
Jackson Harper
9923a3baa1 Set a stale time to try to prevent over fetching 2024-08-14 12:55:45 +08:00
Hongbo Wu
4fcf025611 update cache when user is updated 2024-08-14 12:24:35 +08:00
Jackson Harper
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
Jackson Harper
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
Hongbo Wu
4c992f74ec
Merge pull request #4260 from omnivore-app/perf/cache-api-response
perf/cache api response
2024-08-14 11:32:19 +08:00
Jackson Harper
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
Jackson Harper
e0b1a01f8f Set a max age on CORs requests 2024-08-14 10:19:17 +08:00
Hongbo Wu
45fdc0d474 cache shortcuts for 600 seconds 2024-08-14 10:18:11 +08:00
Hongbo Wu
e05ff942b1 cache features for 600 seconds 2024-08-14 10:09:37 +08:00
Jackson Harper
48f427401f Set maxPages to 2, dont disable refetch yet 2024-08-14 10:01:51 +08:00
Jackson Harper
f58ddbeb9a Add maxPages and refetchOnMount params 2024-08-14 09:58:29 +08:00
Jackson Harper
338f3bca78 WIP: infinite scroll on the library with react-query 2024-08-14 09:48:56 +08:00
Hongbo Wu
bcdff19a3d cache total count of library items in page info only 2024-08-14 09:40:59 +08:00
Hongbo Wu
81ff5a05f9 extend count cache ttl to 600 seconds 2024-08-14 09:40:59 +08:00
Hongbo Wu
d00a76ca3f hash args in the cache key 2024-08-14 09:40:59 +08:00
Hongbo Wu
c2ec95845e request count of library items only when needed 2024-08-14 09:40:59 +08:00
Jackson Harper
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
Jackson Harper
c68680fad9 Use a portal on dropdowns so it doesnt move window when opened from scrolled shortcuts 2024-08-14 00:05:50 +08:00
Jackson Harper
6f6e42eeda Fix typo 2024-08-13 23:51:59 +08:00
Jackson Harper
588f7d0fdc Use a separate section for search so we can better control the folder 2024-08-13 23:38:18 +08:00
Jackson Harper
cca1cbfff4 Shortcuts editor for the web 2024-08-13 23:28:51 +08:00
Jackson Harper
ec0c02b1b7
Merge pull request #4257 from omnivore-app/fix/web-library-empty-states
Update the empty states, special handler for the subscriptions empty state case.
2024-08-13 20:21:02 +08:00
Jackson Harper
0d814bd76a Fix typo 2024-08-13 20:10:04 +08:00
Jackson Harper
6fa9550cdc Update the empty states, special handler for the subscriptions empty state case. 2024-08-13 20:06:57 +08:00
Hongbo Wu
6f6c489097
Merge pull request #4256 from omnivore-app/feature/highlights-count
feature/highlights count
2024-08-13 18:20:38 +08:00
Hongbo Wu
4bc154605f get highlightsCount from the backend and show the count on web 2024-08-13 18:01:20 +08:00
Hongbo Wu
de62dcfe43 add highlightsCount to the searchItem graphql type 2024-08-13 17:59:28 +08:00
Hongbo Wu
a606a58772
Merge pull request #4255 from omnivore-app/fix/importer
fix importer dependency
2024-08-13 17:39:21 +08:00
Hongbo Wu
49556453e9 fix importer dependency 2024-08-13 17:38:31 +08:00
Jackson Harper
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
Hongbo Wu
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
Jackson Harper
602acbbe31 Leave recommendations attribute as it still could be used in iOS 2024-08-13 17:12:26 +08:00
Hongbo Wu
ed1a73014c
Merge pull request #4253 from omnivore-app/fix/raw-story
fix: navigation timeout when generating test case for raw story webpage
2024-08-13 17:05:54 +08:00
Jackson Harper
a0c3d1d18e Use 48hrs for cache timeout 2024-08-13 17:04:24 +08:00
Jackson Harper
22216e33b8 Use AsyncStorage for local cache 2024-08-13 17:00:05 +08:00
sywhb
43012d41f5 Update generated html 2024-08-13 08:58:53 +00:00
Hongbo Wu
cc3cd87013 fix: navigation timeout when generating test case for raw story webpage 2024-08-13 16:57:48 +08:00