Commit Graph

537 Commits

Author SHA1 Message Date
8e8bae9e1a Log state changes 2024-11-02 14:48:51 +08:00
e53a3ad9a3 Remove deinit analytics 2024-10-31 12:09:55 +08:00
d24059dc0f Disable web posthog 2024-10-31 12:02:17 +08:00
e48d3c0cf5 Web UX for the exporter 2024-10-28 11:15:12 +08:00
8ecf2c13ba Use identified_only with posthog 2024-08-29 09:54:23 +08:00
97657c5a79 Prevent fetching article before router params have been read
This prevents us from making an initial fetch with an undefined
slug and username that then returns a 400. This happens because
router isn't setup when we first make the call.
2024-08-27 15:00:45 +08:00
1a2dbf6034 Merge pull request #4312 from omnivore-app/fix/search-by-rss-feed-url
fix: failed to search items by rss feed url which has query parameters
2024-08-27 09:23:34 +08:00
661deb310a Fix typo 2024-08-26 15:46:58 +08:00
6597245b9c Handle siteNames for non url items 2024-08-26 15:11:19 +08:00
0ed6c5cf86 Add siteName to article so its available on debug page 2024-08-26 14:32:43 +08:00
71da03c794 fix: failed to search items by rss feed url which has query parameters
* encode uri component of the rss feed url
* use descriminated unions to differetiate rss and newsletter subscription
2024-08-26 14:18:27 +08:00
35341d2a73 Move react toast 2024-08-26 13:26:32 +08:00
441b22d4ab Add text formatting, make sure we hide if siteName is omnivore.app 2024-08-26 13:01:14 +08:00
36e48fdd2e Handle optional highlights 2024-08-23 14:35:48 +08:00
fe1567fa78 Allow the highlights attribute of articles to be undefined 2024-08-23 14:24:00 +08:00
11070acc26 Add some debug 2024-08-23 13:29:27 +08:00
ef338996c6 Use router when clearing cache on logout 2024-08-21 18:31:51 +08:00
d202b7bf8d Move hook call 2024-08-21 17:49:19 +08:00
68e6533430 Better hooks use 2024-08-21 17:38:30 +08:00
a86ae2ab93 Use the main gql fetcher 2024-08-21 17:00:46 +08:00
a8e5d88c18 Better handling of a logged out user 2024-08-21 17:00:46 +08:00
7411dde0f3 If we get null for viewer do not cache it as theres no stale key 2024-08-21 14:34:11 +08:00
0c7709130f Merge pull request #4286 from omnivore-app/fix/web-crash-fix
Fix empty edges in useMemo
2024-08-20 18:39:34 +08:00
6d21730fb9 Better error handling for search 2024-08-20 18:27:39 +08:00
9e88123e98 Fix the input values on update highlight to not send extra values 2024-08-20 17:44:37 +08:00
51f9fb0c2d Re-enable the processing items checks 2024-08-20 13:19:29 +08:00
ca1dba7bd6 Remove fetchPreviousPage from fetchMore 2024-08-19 16:21:34 +08:00
5f59a1d364 Can go back to old items list now 2024-08-19 15:58:56 +08:00
64cb4eb249 Instead of checking limit use initial index for cache checks 2024-08-19 15:35:02 +08:00
82f5c5017c log filteredPages 2024-08-19 15:30:47 +08:00
e2a49aec71 Trim old pages from the cache 2024-08-19 15:10:20 +08:00
2282a6adde Set cache info in the cache pageInfo section 2024-08-19 14:38:03 +08:00
8f480d654a More debugging 2024-08-19 14:08:25 +08:00
45c7a57696 More debugging 2024-08-19 13:51:41 +08:00
ca7b515488 Remove some of the cache logging to make debugging easier 2024-08-19 13:21:06 +08:00
e6a220c984 Remove stale time to force refreshed, start using the cached result 2024-08-19 13:00:14 +08:00
4bfcbde65d Some more list improvements 2024-08-19 12:42:43 +08:00
541aa859d2 Use staleTime 2024-08-17 17:07:14 +08:00
3435edfb51 Remove maxPages 2024-08-17 15:21:57 +08:00
b0e7737e18 Add getPreviousPage 2024-08-17 14:43:22 +08:00
095e75f7bd Attempt at using maxPages 2024-08-17 14:19:26 +08:00
9a2490253c Improve fetchMore, add debug 2024-08-16 15:55:36 +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
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