Commit Graph

2701 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
c68680fad9 Use a portal on dropdowns so it doesnt move window when opened from scrolled shortcuts 2024-08-14 00:05:50 +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
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
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
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
24cea105f0 Remove persist client 2024-08-13 14:33:06 +08:00
801f075952 Remove optimistic client loading 2024-08-13 14:26:58 +08:00
3b57461efa Remove unused 2024-08-13 14:15:43 +08:00
d51aed5b7c Rendering improvements, remove unused 2024-08-13 13:29:57 +08:00
742772fdb7 Disable the menu close on click on small screens, need to research this more 2024-08-13 11:23:34 +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
2ccb98ce35 Add an alert for emptying trash 2024-08-12 13:27:43 +08:00
9e94293586 Dont render library before knowing if left nav is open to avoid flicker 2024-08-12 13:07:28 +08:00
1bff4bcd66 Work on client side caching for web 2024-08-12 11:52:35 +08:00
0b969c20ce Better handling of border on hover 2024-08-12 11:09:56 +08:00
f4f7870a35 Improve layout for list mode 2024-08-12 11:09:56 +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
3f73a969f4 Shortcuts editor 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
9466a778e1 Build fixes 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
98b35681e7 Fix issue with deleting items from hover cards 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
b6e19106b1 Implement move to folder 2024-08-12 11:09:56 +08:00