Commit Graph

491 Commits

Author SHA1 Message Date
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
9923a3baa1 Set a stale time to try to prevent over fetching 2024-08-14 12:55:45 +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
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
c2ec95845e request count of library items only when needed 2024-08-14 09:40:59 +08:00
cca1cbfff4 Shortcuts editor for the web 2024-08-13 23:28:51 +08:00
6fa9550cdc Update the empty states, special handler for the subscriptions empty state case. 2024-08-13 20:06:57 +08:00
4bc154605f get highlightsCount from the backend and show the count on web 2024-08-13 18:01:20 +08:00
602acbbe31 Leave recommendations attribute as it still could be used in iOS 2024-08-13 17:12:26 +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
1316a4d554 Increase delay time on checking processing items 2024-08-13 11:00:39 +08:00
255488ec7d Better handling of pending items 2024-08-12 22:27:24 +08:00
6529b87e9d Some improvements to the additem 2024-08-12 20:40:28 +08:00
74320d5917 use new react-query for addurl 2024-08-12 15:03:05 +08:00
15f201fcfc Use a default inbox for the home view for now, combining the two library and subscription queries 2024-08-12 11:09:56 +08:00
332583d5c1 Refactor shortcuts tree out of navmenu so we can use it in the shortcuts editor 2024-08-12 11:09:56 +08:00
d44f5cc6ff Migrate to react-query for the saved searches 2024-08-12 11:09:56 +08:00
1fc73bd59e Update labels to use react-query 2024-08-12 11:09:56 +08:00
11e336735f Use react-query for shortcuts 2024-08-12 11:09:56 +08:00
4a8332ba14 Better handling of multi select controls depending on section 2024-08-12 11:09:56 +08:00
ab0e9b28be Move bulk action to react-query 2024-08-12 11:09:56 +08:00
582b811b8d Improve URLs for main sections 2024-08-12 11:09:56 +08:00
34bae118f4 Better rollback on failure 2024-08-12 11:09:56 +08:00
6356a8a3c7 More improvments to optimistic caching 2024-08-12 11:09:56 +08:00
6c6cc8d4c4 Better handling of slugs and library item lists in the cache 2024-08-12 11:09:56 +08:00
17e547b95e Make sure cached reading progress is updated 2024-08-12 11:09:56 +08:00
67bf5003ea Move reading progress to new system 2024-08-12 11:09:56 +08:00
d0e4908c0f Better cache handling when setting labels 2024-08-12 11:09:56 +08:00
8819ca1d05 Fix moveToFolder response handling 2024-08-12 11:09:56 +08:00
b29d7d0c97 Cleanup 2024-08-12 11:09:56 +08:00
137283db0a More moves to react-query for key library functions 2024-08-12 11:09:56 +08:00
457d1d9de9 More work on react-query switchover 2024-08-12 11:09:56 +08:00
06af855621 WIP: move item queries to react-query to better handle mutations 2024-08-12 11:09:56 +08:00
c529e52936 Allow mutate to re-render, fixes issues with filter funcs 2024-08-12 11:09:56 +08:00
25350c6a2c Improve responsive reflow on the home view 2024-07-11 11:39:22 +08:00
a7e640320c On smaller screens we want the nav menu to be disabled by default 2024-07-11 08:59:34 +08:00
5b86a23587 Linting fixes 2024-07-10 20:30:09 +08:00
486f0f2870 Improve fallback when no home found, add keyboard navigation 2024-07-10 18:59:23 +08:00
9134a3325f Set default home redirect path 2024-07-09 15:29:34 +08:00
3622c8e096 Merge pull request #4172 from omnivore-app/fix/web-mutation-string-interop
Use GQL variables for all mutations
2024-07-09 12:01:21 +08:00
f19cae74bb Use GQL variables for all mutations 2024-07-09 09:42:18 +08:00
1e9c291d39 Fix string interp on update label mutation
We should always use input instead of strings like this.
2024-07-09 09:32:06 +08:00
04868c1fd9 fix: sort by highlight location when highlight position is equal 2024-07-03 20:55:14 +02:00