Commit Graph

340 Commits

Author SHA1 Message Date
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
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
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
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
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
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
a680cbc9c9 show an error message on web if notion database is not found 2024-07-01 18:11:08 +08:00
595e7ddf50 Add empty trash 2024-06-25 19:40:26 +08:00
8a8b98f266 Add move operation to home, fix query inputs 2024-06-25 17:14:33 +08:00
deccb6f946 Use an action so we can update local cache when moving to inbox 2024-06-25 13:04:34 +08:00
c3ae9e7ac6 Dont revalidate shortcuts on focus to reduce flicker 2024-06-25 09:24:51 +08:00
613dd39aba Filtering on the library view 2024-06-25 09:11:15 +08:00
5c85257cdb Implement actions on the home view 2024-06-21 13:20:27 +08:00
c130c5309a Fix off by one with new SWR cursor generation 2024-06-14 12:38:32 +08:00
64ea02bb2c Add trash and archive section, css fixups 2024-06-11 16:00:47 +08:00
f0898de5d5 SWR signature has changed for the fetcher 2024-06-11 14:31:50 +08:00
883d6619ea Start to update navigation to use new sections 2024-06-10 18:56:12 +08:00
371ed24371 Remove debug 2024-06-10 18:22:39 +08:00