Eric Bailey
1b8b1b2ed1
Await app view when handling blocks mutes for lists ( #2151 )
...
* Await app view when handling blocks mutes for lists
* Do it right this time
2023-12-08 15:55:35 -08:00
dan
7b686b5592
Add manual per-page memoization to post select ( #2146 )
2023-12-08 13:57:00 -08:00
Paul Frazee
7b50331188
Various search fixes ( #2145 )
...
* Add posts-search query to shadow cache search
* Update user search to use correct endpoint
* Fix: include cursor in post search
2023-12-07 17:20:17 -08:00
Paul Frazee
448a403c81
Stop using the cached notification page ( #2142 )
2023-12-07 17:16:39 -08:00
Eric Bailey
1975f4936a
Fix invites used order, adjust layout ( #2139 )
2023-12-07 16:30:41 -08:00
Paul Frazee
040ce03215
Grab-bag of post-feed improvements ( #2140 )
...
* Sanity check against cases where empty pages may occur
* Use the mergefeed as an emergency fallback to an empty feed
* Check for new posts on focus
2023-12-07 16:30:04 -08:00
Eric Bailey
174a1622c9
Hoist moderation, attempt to fill feed up to 30 ( #2134 )
...
* Move moderatePost up to feed query
* Attemt to fill page up to 30
* Add the 'ensure full page' behavior to notifs
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
2023-12-07 13:44:22 -08:00
Paul Frazee
5b19e2b90b
Completely disable the RQ cache in post-thread ( #2133 )
2023-12-07 13:02:51 -08:00
Paul Frazee
17c27581b6
Add PWI opt-out toggle ( #2122 )
...
* Add PWI opt-out toggle
* Bump @atproto/api@0.7.0
* Tweak copy
* Bump lockfile
* Fix layout on ios
* Tweak copy more
* Fix types
* Tweak copy some more
2023-12-07 10:32:55 -08:00
Eric Bailey
a924df4dcd
Refetch some data on an interval ( #2114 )
...
* Match refetch intervals to stale time
* Lower refetch interval for own-profile
2023-12-06 12:31:54 -08:00
Paul Frazee
47771b9066
Update pwi endpoint ( #2116 )
2023-12-06 12:20:39 -08:00
dan
20a46c8cff
Enable structural sharing for preference query ( #2113 )
2023-12-06 10:20:23 -08:00
Ansh
8e541d753a
Check Analytics ( #2106 )
...
* fix sign in event tracking
* add missing analytics events
* add more missing analytics
* fix like and unrepost event tracking
* reset onEndReachedThreshold
2023-12-06 09:45:01 -08:00
Eric Bailey
e6bda92b20
Surface raw server error if exists ( #2096 )
...
* Surface raw server error if exists
* Update copy
* Update translation files
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
2023-12-05 18:25:32 -08:00
Paul Frazee
41fd6eb95b
Fix some types
2023-12-05 18:21:15 -08:00
Paul Frazee
712cd3fde5
Perf: Include quote posts in the post-thread placeholder ( #2104 )
2023-12-05 18:17:03 -08:00
Paul Frazee
826b841e10
Fix: correctly identify if the screen is focused when handling soft resets on post feeds ( #2100 )
2023-12-05 18:01:08 -08:00
Paul Frazee
48f5cebc80
Update feeds on post created ( #2085 )
2023-12-04 17:58:45 -08:00
Paul Frazee
d07ea64434
Fix: correctly partial-match when calling truncateAndInvalidate() ( #2088 )
2023-12-04 17:53:22 -08:00
Eric Bailey
f80bd30ef4
Better handle feed auth failures ( #2060 )
...
* Better handle feed auth failures
* Add comment
2023-12-01 09:29:50 -08:00
Paul Frazee
f8c46c08ca
Improve unread notif tracking ( #2056 )
2023-11-30 18:56:55 -08:00
Paul Frazee
826cbbd4bf
Maintain some feed data to avoid needless glimmers ( #2054 )
2023-11-30 18:49:23 -08:00
Paul Frazee
1755c2e538
Merge branch 'invite-code-warning' of https://github.com/mozzius/bluesky-official-app into mozzius-invite-code-warning
2023-11-30 16:13:16 -08:00
Eric Bailey
28f8999252
Beep boop ( #2051 )
2023-11-30 13:53:34 -08:00
dan
46b63accb8
Rewrite the shadow logic to look inside the cache ( #2045 )
...
* Reset
* Associate shadows with the cache
* Use colocated helpers
* Fix types
* Reorder for clarity
* More types
* Copy paste logic for profile
* Hook up profile query
* Hook up suggested follows
* Hook up other profile things
* Fix shape
* Pass setShadow into the effect deps
* Include reply posts in the shadow cache search
---------
Co-authored-by: Paul Frazee <pfrazee@gmail.com>
2023-11-30 13:35:58 -08:00
dan
cb193a827d
Fix lag when switching tabs ( #2046 )
2023-11-30 19:57:54 +00:00
Samuel Newman
b164f151cc
Merge remote-tracking branch 'upstream/main' into invite-code-warning
2023-11-30 17:11:51 +00:00
Samuel Newman
c06611fb71
show informative message when token scope is wrong
2023-11-30 17:09:10 +00:00
Paul Frazee
fcd22d4ccb
Adjust stale-caches and dont group read&unread notifs together ( #2041 )
...
* Dont group read & unread notifications together
* Remove and reduce some stale cache times
* Keep the staleTime on the post-feed
* Bring back the load-bearing staletime on profile
2023-11-29 20:27:39 -08:00
Paul Frazee
a03f57c8c3
Apply feed preferences (react-query refactor) ( #2040 )
...
* Actually implement the feed tuners hook
* Move feed-tuner pass into select() to have it apply immediately on change
2023-11-29 20:11:01 -08:00
Eric Bailey
b83fa95793
Handle nsfw feeds in public view ( #2035 )
...
* Handle nsfw feeds in public view
* Translate
* Refactor, new approach
* Translate
* Copy
* Translate
* Revert changes to Feed
* Remove unused retry
* Translate
2023-11-29 19:27:58 -08:00
Paul Frazee
1140b05b83
Slightly less verbose variable
2023-11-29 17:37:15 -08:00
Paul Frazee
4c7b9652db
Merge branch '2011-link-in-feeds-tab-bar' of https://github.com/CooperEdmunds/social-app into CooperEdmunds-2011-link-in-feeds-tab-bar
2023-11-29 17:35:57 -08:00
Paul Frazee
630637874d
Fix state lifecycle management with post-feed query, solving the duplicate key issue ( #2034 )
...
* Assign keys to feed slices via a counter, to enable duplicate items in the feed if needed
* Move post-feed query state into the query's page params to consistently bind their lifecycles
2023-11-29 18:58:14 -06:00
Cooper Edmunds
ed391c346d
Add hasPinnedCustomFeedOrList to usePinnedFeedsInfos hook
2023-11-29 14:23:19 -05:00
Paul Frazee
4b3ec54add
Fix infinite query reloading behavior (reset, not invalidate) ( #2031 )
...
* Reset, not invalidate, notification queries
* Reset, not invalidate, feed queries
2023-11-29 11:15:35 -08:00
Paul Frazee
9239efac9c
Refactor the notifications to cache and reuse results from the unread-notifs checks ( #2017 )
...
* Refactor the notifications to cache and reuse results from the unread-notifs checks
* Fix types
2023-11-29 10:20:14 -08:00
Paul Frazee
6fe2b52f68
Get more rigorous about getAgent() consistency ( #2026 )
...
* Get more rigorous about getAgent() consistency
* Update the feed wrapper API to use getAgent() directly
2023-11-29 10:10:04 -08:00
Eric Bailey
bb9d340d42
Fix pinned feeds mutation issue ( #2016 )
2023-11-28 12:50:41 -06:00
Eric Bailey
cf1b0b1881
Handle other feed auth response ( #2012 )
2023-11-28 08:43:25 -08:00
Eric Bailey
17a183514a
Ensure we use following feed if merge is disabled ( #2005 )
2023-11-27 17:42:02 -08:00
Paul Frazee
f580d4daf0
Restore post-thread caching behaviors (react-query refactor) ( #2010 )
...
* Rework resolve-did and resolve-uri queries to be smarter about cache reuse
* Precache handle resolutions
* Remove old unused code
* Load placeholder threads from the post-feed and notifications-feed queries
* Remove logs
* Fix bad ref
* Add loading spinners to the cache-loading thread view
* Scroll replies into view when loading threads
* Add caching within a thread
* Fix: dont show bottom border when the child spinner is active
2023-11-27 17:41:30 -08:00
Eric Bailey
a741a201b9
Don't check unread if session doesn't exist ( #2008 )
2023-11-27 16:40:20 -08:00
Eric Bailey
5fd2d36273
Filter out blocked posts from thread view ( #2006 )
2023-11-27 12:41:53 -08:00
Eric Bailey
20b699a008
Fall back for non-public feeds ( #1988 )
2023-11-24 17:37:28 -06:00
Eric Bailey
f18b9b32b0
PWI Base ( #1964 )
...
* Base work for public view
* Make default moderation settings more restrictive
* Fix type
* Handle showing sign-in on authed actions
* Fix hoc logic
* Simplify prefs logic
* Remove duplicate method
* Add todo
* Clean up RepostButton.web
* Fix x button color
* Add todo
* Retain existing label prefs for now, use separate logged out settings
* Clean up useAuthedMethod, rename to useRequireAuth
* Add todos
* Move dismiss logic to withAuthRequired
* Ooops add web
* Block public view in prod
* Add todo
* Fix bad import
2023-11-21 10:57:34 -06:00
dan
c858b58307
Do less work ( #1953 )
2023-11-17 09:31:26 -08:00
Paul Frazee
e358c3cc30
Improve notification load behaviors ( #1943 )
...
* Dont use the stale cache for notifs-feed
* Add a delay to marking all read to avoid marking upcoming posts as read
* Trigger automatic notifications refresh when navigating to the tab, in certain conditions
2023-11-16 18:27:05 -08:00
Paul Frazee
357c752a21
Move the current agent to a global and reset RQ queries on agent change ( #1946 )
2023-11-16 18:26:22 -08:00
Eric Bailey
6f57192bd5
Revise cache times ( #1942 )
...
(cherry picked from commit 1be2060a2b81741dcf9a392160af87d2747b3497)
2023-11-16 15:43:53 -08:00